/* Options: Date: 2026-10-01 12:31:19 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: PayoutBatchListRequest.* //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 PayoutBatchListResult implements IConvertible { List? items; int? statusCode; String? message; PayoutBatchListResult({this.items,this.statusCode,this.message}); PayoutBatchListResult.fromJson(Map json) { fromMap(json); } fromMap(Map json) { items = JsonConverters.fromJson(json['items'],'List',context!); statusCode = json['statusCode']; message = json['message']; return this; } Map toJson() => { 'items': JsonConverters.toJson(items,'List',context!), 'statusCode': statusCode, 'message': message }; getTypeName() => "PayoutBatchListResult"; TypeContext? context = _ctx; } // @Route("/payouts/batches", "GET") class PayoutBatchListRequest implements IReturn, IConvertible { int? limit; PayoutBatchListRequest({this.limit}); PayoutBatchListRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { limit = json['limit']; return this; } Map toJson() => { 'limit': limit }; createResponse() => PayoutBatchListResult(); getResponseTypeName() => "PayoutBatchListResult"; getTypeName() => "PayoutBatchListRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'stubbur_app.azurewebsites.net', types: { 'IsbPayoutBatch': TypeInfo(TypeOf.Class, create:() => IsbPayoutBatch()), 'PayoutBatchListResult': TypeInfo(TypeOf.Class, create:() => PayoutBatchListResult()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'PayoutBatchListRequest': TypeInfo(TypeOf.Class, create:() => PayoutBatchListRequest()), });