/* Options: Date: 2026-06-22 20:30:57 Version: 8.80 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://api.dev.dynamics.trendsic.com //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: InvoiceRecordPaymentRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; class InvoiceRecordPaymentResponse implements IConvertible { ResponseStatus? ResponseStatus; bool? Success; bool? Paid; String? ReceiptUrl; String? Message; InvoiceRecordPaymentResponse({this.ResponseStatus,this.Success,this.Paid,this.ReceiptUrl,this.Message}); InvoiceRecordPaymentResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { ResponseStatus = JsonConverters.fromJson(json['ResponseStatus'],'ResponseStatus',context!); Success = json['Success']; Paid = json['Paid']; ReceiptUrl = json['ReceiptUrl']; Message = json['Message']; return this; } Map toJson() => { 'ResponseStatus': JsonConverters.toJson(ResponseStatus,'ResponseStatus',context!), 'Success': Success, 'Paid': Paid, 'ReceiptUrl': ReceiptUrl, 'Message': Message }; getTypeName() => "InvoiceRecordPaymentResponse"; TypeContext? context = _ctx; } // @Route("/v1/invoice/{InvoiceUID}/payment", "PUT,OPTIONS") class InvoiceRecordPaymentRequest implements IReturn, IConvertible, IPut { String? InvoiceUID; String? StripeToken; InvoiceRecordPaymentRequest({this.InvoiceUID,this.StripeToken}); InvoiceRecordPaymentRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { InvoiceUID = json['InvoiceUID']; StripeToken = json['StripeToken']; return this; } Map toJson() => { 'InvoiceUID': InvoiceUID, 'StripeToken': StripeToken }; createResponse() => InvoiceRecordPaymentResponse(); getResponseTypeName() => "InvoiceRecordPaymentResponse"; getTypeName() => "InvoiceRecordPaymentRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'api.dev.dynamics.trendsic.com', types: { 'InvoiceRecordPaymentResponse': TypeInfo(TypeOf.Class, create:() => InvoiceRecordPaymentResponse()), 'InvoiceRecordPaymentRequest': TypeInfo(TypeOf.Class, create:() => InvoiceRecordPaymentRequest()), });