/* Options: Date: 2026-06-22 22:54:09 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: PortalPaymentIntentRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; class PortalPaymentIntentResponse implements IConvertible { ResponseStatus? ResponseStatus; bool? Success; String? ClientSecret; double? AmountDue; String? Message; PortalPaymentIntentResponse({this.ResponseStatus,this.Success,this.ClientSecret,this.AmountDue,this.Message}); PortalPaymentIntentResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { ResponseStatus = JsonConverters.fromJson(json['ResponseStatus'],'ResponseStatus',context!); Success = json['Success']; ClientSecret = json['ClientSecret']; AmountDue = JsonConverters.toDouble(json['AmountDue']); Message = json['Message']; return this; } Map toJson() => { 'ResponseStatus': JsonConverters.toJson(ResponseStatus,'ResponseStatus',context!), 'Success': Success, 'ClientSecret': ClientSecret, 'AmountDue': AmountDue, 'Message': Message }; getTypeName() => "PortalPaymentIntentResponse"; TypeContext? context = _ctx; } // @Route("/portal/{Token}/payment-intent", "POST,OPTIONS") class PortalPaymentIntentRequest implements IReturn, IConvertible, IPost { String? Token; PortalPaymentIntentRequest({this.Token}); PortalPaymentIntentRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Token = json['Token']; return this; } Map toJson() => { 'Token': Token }; createResponse() => PortalPaymentIntentResponse(); getResponseTypeName() => "PortalPaymentIntentResponse"; getTypeName() => "PortalPaymentIntentRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'api.dev.dynamics.trendsic.com', types: { 'PortalPaymentIntentResponse': TypeInfo(TypeOf.Class, create:() => PortalPaymentIntentResponse()), 'PortalPaymentIntentRequest': TypeInfo(TypeOf.Class, create:() => PortalPaymentIntentRequest()), });