/* Options: Date: 2026-10-01 10:23:14 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: OwnerCardPurchaseConfirmRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; class OwnerCardPurchaseConfirmResult implements IConvertible { int? ownerCardId; int? giftRedeemedMinor; int? cardPaidMinor; String? paymentMethodId; int? statusCode; String? message; OwnerCardPurchaseConfirmResult({this.ownerCardId,this.giftRedeemedMinor,this.cardPaidMinor,this.paymentMethodId,this.statusCode,this.message}); OwnerCardPurchaseConfirmResult.fromJson(Map json) { fromMap(json); } fromMap(Map json) { ownerCardId = json['ownerCardId']; giftRedeemedMinor = json['giftRedeemedMinor']; cardPaidMinor = json['cardPaidMinor']; paymentMethodId = json['paymentMethodId']; statusCode = json['statusCode']; message = json['message']; return this; } Map toJson() => { 'ownerCardId': ownerCardId, 'giftRedeemedMinor': giftRedeemedMinor, 'cardPaidMinor': cardPaidMinor, 'paymentMethodId': paymentMethodId, 'statusCode': statusCode, 'message': message }; getTypeName() => "OwnerCardPurchaseConfirmResult"; TypeContext? context = _ctx; } // @Route("/OwnerCards/Purchase/Confirm", "POST") class OwnerCardPurchaseConfirmRequest implements IReturn, IConvertible { int? ownerCardTypeId; int? giftHoldId; String? giftCardCode; String? idempotencyKey; String? paymentReference; String? paymentId; String? phoneVerificationNumber; String? holderName; String? holderEmail; String? holderId; String? deviceId; OwnerCardPurchaseConfirmRequest({this.ownerCardTypeId,this.giftHoldId,this.giftCardCode,this.idempotencyKey,this.paymentReference,this.paymentId,this.phoneVerificationNumber,this.holderName,this.holderEmail,this.holderId,this.deviceId}); OwnerCardPurchaseConfirmRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { ownerCardTypeId = json['ownerCardTypeId']; giftHoldId = json['giftHoldId']; giftCardCode = json['giftCardCode']; idempotencyKey = json['idempotencyKey']; paymentReference = json['paymentReference']; paymentId = json['paymentId']; phoneVerificationNumber = json['phoneVerificationNumber']; holderName = json['holderName']; holderEmail = json['holderEmail']; holderId = json['holderId']; deviceId = json['deviceId']; return this; } Map toJson() => { 'ownerCardTypeId': ownerCardTypeId, 'giftHoldId': giftHoldId, 'giftCardCode': giftCardCode, 'idempotencyKey': idempotencyKey, 'paymentReference': paymentReference, 'paymentId': paymentId, 'phoneVerificationNumber': phoneVerificationNumber, 'holderName': holderName, 'holderEmail': holderEmail, 'holderId': holderId, 'deviceId': deviceId }; createResponse() => OwnerCardPurchaseConfirmResult(); getResponseTypeName() => "OwnerCardPurchaseConfirmResult"; getTypeName() => "OwnerCardPurchaseConfirmRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'stubbur_app.azurewebsites.net', types: { 'OwnerCardPurchaseConfirmResult': TypeInfo(TypeOf.Class, create:() => OwnerCardPurchaseConfirmResult()), 'OwnerCardPurchaseConfirmRequest': TypeInfo(TypeOf.Class, create:() => OwnerCardPurchaseConfirmRequest()), });