/* Options: Date: 2026-10-01 10:22:45 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: SelfServicePendingTransferRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; class SelfServiceTransferResultBase implements IConvertible { bool? ok; int? statusCode; String? code; String? message; SelfServiceTransferResultBase({this.ok,this.statusCode,this.code,this.message}); SelfServiceTransferResultBase.fromJson(Map json) { fromMap(json); } fromMap(Map json) { ok = json['ok']; statusCode = json['statusCode']; code = json['code']; message = json['message']; return this; } Map toJson() => { 'ok': ok, 'statusCode': statusCode, 'code': code, 'message': message }; getTypeName() => "SelfServiceTransferResultBase"; TypeContext? context = _ctx; } class SelfServicePendingTransfer implements IConvertible { int? transferLogId; int? toEventId; String? toEventName; DateTime? toEventTimeOfEvent; String? toTicketTypeName; double? topupAmountIsk; String? sessionToken; String? paymentLinkUrl; DateTime? expiresAt; int? assignedSeatId; String? assignedSeatLabel; SelfServicePendingTransfer({this.transferLogId,this.toEventId,this.toEventName,this.toEventTimeOfEvent,this.toTicketTypeName,this.topupAmountIsk,this.sessionToken,this.paymentLinkUrl,this.expiresAt,this.assignedSeatId,this.assignedSeatLabel}); SelfServicePendingTransfer.fromJson(Map json) { fromMap(json); } fromMap(Map json) { transferLogId = json['transferLogId']; toEventId = json['toEventId']; toEventName = json['toEventName']; toEventTimeOfEvent = JsonConverters.fromJson(json['toEventTimeOfEvent'],'DateTime',context!); toTicketTypeName = json['toTicketTypeName']; topupAmountIsk = JsonConverters.toDouble(json['topupAmountIsk']); sessionToken = json['sessionToken']; paymentLinkUrl = json['paymentLinkUrl']; expiresAt = JsonConverters.fromJson(json['expiresAt'],'DateTime',context!); assignedSeatId = json['assignedSeatId']; assignedSeatLabel = json['assignedSeatLabel']; return this; } Map toJson() => { 'transferLogId': transferLogId, 'toEventId': toEventId, 'toEventName': toEventName, 'toEventTimeOfEvent': JsonConverters.toJson(toEventTimeOfEvent,'DateTime',context!), 'toTicketTypeName': toTicketTypeName, 'topupAmountIsk': topupAmountIsk, 'sessionToken': sessionToken, 'paymentLinkUrl': paymentLinkUrl, 'expiresAt': JsonConverters.toJson(expiresAt,'DateTime',context!), 'assignedSeatId': assignedSeatId, 'assignedSeatLabel': assignedSeatLabel }; getTypeName() => "SelfServicePendingTransfer"; TypeContext? context = _ctx; } class SelfServicePendingTransferResult extends SelfServiceTransferResultBase implements IConvertible { bool? hasPending; SelfServicePendingTransfer? pending; SelfServicePendingTransferResult({this.hasPending,this.pending}); SelfServicePendingTransferResult.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); hasPending = json['hasPending']; pending = JsonConverters.fromJson(json['pending'],'SelfServicePendingTransfer',context!); return this; } Map toJson() => super.toJson()..addAll({ 'hasPending': hasPending, 'pending': JsonConverters.toJson(pending,'SelfServicePendingTransfer',context!) }); getTypeName() => "SelfServicePendingTransferResult"; TypeContext? context = _ctx; } // @Route("/selfService/transferTicket/pending", "POST") class SelfServicePendingTransferRequest implements IReturn, IConvertible { String? ticketTokenId; String? buyerPhone; SelfServicePendingTransferRequest({this.ticketTokenId,this.buyerPhone}); SelfServicePendingTransferRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { ticketTokenId = json['ticketTokenId']; buyerPhone = json['buyerPhone']; return this; } Map toJson() => { 'ticketTokenId': ticketTokenId, 'buyerPhone': buyerPhone }; createResponse() => SelfServicePendingTransferResult(); getResponseTypeName() => "SelfServicePendingTransferResult"; getTypeName() => "SelfServicePendingTransferRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'stubbur_app.azurewebsites.net', types: { 'SelfServiceTransferResultBase': TypeInfo(TypeOf.Class, create:() => SelfServiceTransferResultBase()), 'SelfServicePendingTransfer': TypeInfo(TypeOf.Class, create:() => SelfServicePendingTransfer()), 'SelfServicePendingTransferResult': TypeInfo(TypeOf.Class, create:() => SelfServicePendingTransferResult()), 'SelfServicePendingTransferRequest': TypeInfo(TypeOf.Class, create:() => SelfServicePendingTransferRequest()), });