/* Options: Date: 2026-10-01 13:29:18 Version: 6.10 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://stubbur-app.azurewebsites.net //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: PayoutBatchGetRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; class IsbPayoutBatch implements IConvertible { int? id; String? batchType; String? operationId; DateTime? createdAt; DateTime? dateOfPayment; int? rowCount; int? totalAmount; // @StringLength(2147483647) String? requestXml; // @StringLength(2147483647) String? responseXml; String? status; IsbPayoutBatch({this.id,this.batchType,this.operationId,this.createdAt,this.dateOfPayment,this.rowCount,this.totalAmount,this.requestXml,this.responseXml,this.status}); IsbPayoutBatch.fromJson(Map json) { fromMap(json); } fromMap(Map json) { id = json['id']; batchType = json['batchType']; operationId = json['operationId']; createdAt = JsonConverters.fromJson(json['createdAt'],'DateTime',context!); dateOfPayment = JsonConverters.fromJson(json['dateOfPayment'],'DateTime',context!); rowCount = json['rowCount']; totalAmount = json['totalAmount']; requestXml = json['requestXml']; responseXml = json['responseXml']; status = json['status']; return this; } Map toJson() => { 'id': id, 'batchType': batchType, 'operationId': operationId, 'createdAt': JsonConverters.toJson(createdAt,'DateTime',context!), 'dateOfPayment': JsonConverters.toJson(dateOfPayment,'DateTime',context!), 'rowCount': rowCount, 'totalAmount': totalAmount, 'requestXml': requestXml, 'responseXml': responseXml, 'status': status }; getTypeName() => "IsbPayoutBatch"; TypeContext? context = _ctx; } class IsbPayoutBatchRow implements IConvertible { int? id; // @References(typeof(IsbPayoutBatch)) int? batchId; int? eventId; int? eventOwnerId; String? kennitala; String? bankAccount; int? amount; String? reference; String? status; String? errorCode; String? errorText; IsbPayoutBatchRow({this.id,this.batchId,this.eventId,this.eventOwnerId,this.kennitala,this.bankAccount,this.amount,this.reference,this.status,this.errorCode,this.errorText}); IsbPayoutBatchRow.fromJson(Map json) { fromMap(json); } fromMap(Map json) { id = json['id']; batchId = json['batchId']; eventId = json['eventId']; eventOwnerId = json['eventOwnerId']; kennitala = json['kennitala']; bankAccount = json['bankAccount']; amount = json['amount']; reference = json['reference']; status = json['status']; errorCode = json['errorCode']; errorText = json['errorText']; return this; } Map toJson() => { 'id': id, 'batchId': batchId, 'eventId': eventId, 'eventOwnerId': eventOwnerId, 'kennitala': kennitala, 'bankAccount': bankAccount, 'amount': amount, 'reference': reference, 'status': status, 'errorCode': errorCode, 'errorText': errorText }; getTypeName() => "IsbPayoutBatchRow"; TypeContext? context = _ctx; } class PayoutBatchGetResult implements IConvertible { IsbPayoutBatch? batch; List? rows; int? statusCode; String? message; PayoutBatchGetResult({this.batch,this.rows,this.statusCode,this.message}); PayoutBatchGetResult.fromJson(Map json) { fromMap(json); } fromMap(Map json) { batch = JsonConverters.fromJson(json['batch'],'IsbPayoutBatch',context!); rows = JsonConverters.fromJson(json['rows'],'List',context!); statusCode = json['statusCode']; message = json['message']; return this; } Map toJson() => { 'batch': JsonConverters.toJson(batch,'IsbPayoutBatch',context!), 'rows': JsonConverters.toJson(rows,'List',context!), 'statusCode': statusCode, 'message': message }; getTypeName() => "PayoutBatchGetResult"; TypeContext? context = _ctx; } // @Route("/payouts/batches/{Id}", "GET") class PayoutBatchGetRequest implements IReturn, IConvertible { int? id; PayoutBatchGetRequest({this.id}); PayoutBatchGetRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { id = json['id']; return this; } Map toJson() => { 'id': id }; createResponse() => PayoutBatchGetResult(); getResponseTypeName() => "PayoutBatchGetResult"; getTypeName() => "PayoutBatchGetRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'stubbur_app.azurewebsites.net', types: { 'IsbPayoutBatch': TypeInfo(TypeOf.Class, create:() => IsbPayoutBatch()), 'IsbPayoutBatchRow': TypeInfo(TypeOf.Class, create:() => IsbPayoutBatchRow()), 'PayoutBatchGetResult': TypeInfo(TypeOf.Class, create:() => PayoutBatchGetResult()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'PayoutBatchGetRequest': TypeInfo(TypeOf.Class, create:() => PayoutBatchGetRequest()), });