/* Options: Date: 2026-10-01 10:23:09 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: OwnerCardsQuoteRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; class OrderTender implements IConvertible { String? kind; String? code; int? amountMinor; String? idempotencyKey; int? holdId; int? appliedMinor; OrderTender({this.kind,this.code,this.amountMinor,this.idempotencyKey,this.holdId,this.appliedMinor}); OrderTender.fromJson(Map json) { fromMap(json); } fromMap(Map json) { kind = json['kind']; code = json['code']; amountMinor = json['amountMinor']; idempotencyKey = json['idempotencyKey']; holdId = json['holdId']; appliedMinor = json['appliedMinor']; return this; } Map toJson() => { 'kind': kind, 'code': code, 'amountMinor': amountMinor, 'idempotencyKey': idempotencyKey, 'holdId': holdId, 'appliedMinor': appliedMinor }; getTypeName() => "OrderTender"; TypeContext? context = _ctx; } class OwnerCardsQuoteResult implements IConvertible { int? statusCode; String? message; String? reason; bool? isSubscription; int? priceTotal; int? discountAmount; int? giftCardAmount; int? donationAmount; int? transactionFee; int? chargedAmount; int? chargedAmountMinor; bool? fullyCovered; OwnerCardsQuoteResult({this.statusCode,this.message,this.reason,this.isSubscription,this.priceTotal,this.discountAmount,this.giftCardAmount,this.donationAmount,this.transactionFee,this.chargedAmount,this.chargedAmountMinor,this.fullyCovered}); OwnerCardsQuoteResult.fromJson(Map json) { fromMap(json); } fromMap(Map json) { statusCode = json['statusCode']; message = json['message']; reason = json['reason']; isSubscription = json['isSubscription']; priceTotal = json['priceTotal']; discountAmount = json['discountAmount']; giftCardAmount = json['giftCardAmount']; donationAmount = json['donationAmount']; transactionFee = json['transactionFee']; chargedAmount = json['chargedAmount']; chargedAmountMinor = json['chargedAmountMinor']; fullyCovered = json['fullyCovered']; return this; } Map toJson() => { 'statusCode': statusCode, 'message': message, 'reason': reason, 'isSubscription': isSubscription, 'priceTotal': priceTotal, 'discountAmount': discountAmount, 'giftCardAmount': giftCardAmount, 'donationAmount': donationAmount, 'transactionFee': transactionFee, 'chargedAmount': chargedAmount, 'chargedAmountMinor': chargedAmountMinor, 'fullyCovered': fullyCovered }; getTypeName() => "OwnerCardsQuoteResult"; TypeContext? context = _ctx; } // @Route("/OrderOwnerCards/quote", "POST") class OwnerCardsQuoteRequest implements IReturn, IConvertible { List? ownerCardTypeIds; bool? isSubscription; String? discountCode; List? tenders; int? donationAmount; String? phoneVerificationNumber; OwnerCardsQuoteRequest({this.ownerCardTypeIds,this.isSubscription,this.discountCode,this.tenders,this.donationAmount,this.phoneVerificationNumber}); OwnerCardsQuoteRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { ownerCardTypeIds = JsonConverters.fromJson(json['ownerCardTypeIds'],'List',context!); isSubscription = json['isSubscription']; discountCode = json['discountCode']; tenders = JsonConverters.fromJson(json['tenders'],'List',context!); donationAmount = json['donationAmount']; phoneVerificationNumber = json['phoneVerificationNumber']; return this; } Map toJson() => { 'ownerCardTypeIds': JsonConverters.toJson(ownerCardTypeIds,'List',context!), 'isSubscription': isSubscription, 'discountCode': discountCode, 'tenders': JsonConverters.toJson(tenders,'List',context!), 'donationAmount': donationAmount, 'phoneVerificationNumber': phoneVerificationNumber }; createResponse() => OwnerCardsQuoteResult(); getResponseTypeName() => "OwnerCardsQuoteResult"; getTypeName() => "OwnerCardsQuoteRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'stubbur_app.azurewebsites.net', types: { 'OrderTender': TypeInfo(TypeOf.Class, create:() => OrderTender()), 'OwnerCardsQuoteResult': TypeInfo(TypeOf.Class, create:() => OwnerCardsQuoteResult()), 'OwnerCardsQuoteRequest': TypeInfo(TypeOf.Class, create:() => OwnerCardsQuoteRequest()), 'List': TypeInfo(TypeOf.Class, create:() => []), });