/* Options: Date: 2026-10-01 10:23:13 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: PayoutCalcRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; class PayoutCalcResult implements IConvertible { int? eventId; String? eventName; DateTime? timeOfEvent; int? eventOwnerId; int? grossAmount; int? platformCut; int? transactionFee; int? freeTicketDeduction; int? minimumFeeDeduction; int? extraCostDeduction; int? netAmount; int? kassLegacyAmount; int? freeFoodVoucherCount; bool? skipNoRevenue; int? statusCode; String? message; PayoutCalcResult({this.eventId,this.eventName,this.timeOfEvent,this.eventOwnerId,this.grossAmount,this.platformCut,this.transactionFee,this.freeTicketDeduction,this.minimumFeeDeduction,this.extraCostDeduction,this.netAmount,this.kassLegacyAmount,this.freeFoodVoucherCount,this.skipNoRevenue,this.statusCode,this.message}); PayoutCalcResult.fromJson(Map json) { fromMap(json); } fromMap(Map json) { eventId = json['eventId']; eventName = json['eventName']; timeOfEvent = JsonConverters.fromJson(json['timeOfEvent'],'DateTime',context!); eventOwnerId = json['eventOwnerId']; grossAmount = json['grossAmount']; platformCut = json['platformCut']; transactionFee = json['transactionFee']; freeTicketDeduction = json['freeTicketDeduction']; minimumFeeDeduction = json['minimumFeeDeduction']; extraCostDeduction = json['extraCostDeduction']; netAmount = json['netAmount']; kassLegacyAmount = json['kassLegacyAmount']; freeFoodVoucherCount = json['freeFoodVoucherCount']; skipNoRevenue = json['skipNoRevenue']; statusCode = json['statusCode']; message = json['message']; return this; } Map toJson() => { 'eventId': eventId, 'eventName': eventName, 'timeOfEvent': JsonConverters.toJson(timeOfEvent,'DateTime',context!), 'eventOwnerId': eventOwnerId, 'grossAmount': grossAmount, 'platformCut': platformCut, 'transactionFee': transactionFee, 'freeTicketDeduction': freeTicketDeduction, 'minimumFeeDeduction': minimumFeeDeduction, 'extraCostDeduction': extraCostDeduction, 'netAmount': netAmount, 'kassLegacyAmount': kassLegacyAmount, 'freeFoodVoucherCount': freeFoodVoucherCount, 'skipNoRevenue': skipNoRevenue, 'statusCode': statusCode, 'message': message }; getTypeName() => "PayoutCalcResult"; TypeContext? context = _ctx; } // @Route("/payout/calc/{EventId}", "GET") class PayoutCalcRequest implements IReturn, IConvertible { int? eventId; PayoutCalcRequest({this.eventId}); PayoutCalcRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { eventId = json['eventId']; return this; } Map toJson() => { 'eventId': eventId }; createResponse() => PayoutCalcResult(); getResponseTypeName() => "PayoutCalcResult"; getTypeName() => "PayoutCalcRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'stubbur_app.azurewebsites.net', types: { 'PayoutCalcResult': TypeInfo(TypeOf.Class, create:() => PayoutCalcResult()), 'PayoutCalcRequest': TypeInfo(TypeOf.Class, create:() => PayoutCalcRequest()), });