/* Options: Date: 2025-03-14 12:58:27 Version: 5.140 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://api.clubmanagercentral.com //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: PaymentMethodService.GetPaymentMethodSignUpLinkRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart,dart:typed_data */ import 'package:servicestack/servicestack.dart'; import 'dart:typed_data'; class ValueTypeResult implements IConvertible { T? Result; ValueTypeResult({this.Result}); ValueTypeResult.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Result = json['Result']; return this; } Map toJson() => { 'Result': Result }; getTypeName() => "ValueTypeResult<$T>"; TypeContext? context = _ctx; } // @Route("/api/PaymentMethod/GetPaymentMethodSignUpLink", "POST,GET") class GetPaymentMethodSignUpLinkRequest implements IReturn>, IConvertible { int? PaymentGatewayId; int? Id; String? SuccessUrl; String? CancelUrl; GetPaymentMethodSignUpLinkRequest({this.PaymentGatewayId,this.Id,this.SuccessUrl,this.CancelUrl}); GetPaymentMethodSignUpLinkRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { PaymentGatewayId = json['PaymentGatewayId']; Id = json['Id']; SuccessUrl = json['SuccessUrl']; CancelUrl = json['CancelUrl']; return this; } Map toJson() => { 'PaymentGatewayId': PaymentGatewayId, 'Id': Id, 'SuccessUrl': SuccessUrl, 'CancelUrl': CancelUrl }; createResponse() => ValueTypeResult(); getResponseTypeName() => "ValueTypeResult"; getTypeName() => "GetPaymentMethodSignUpLinkRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'api.clubmanagercentral.com', types: { 'ValueTypeResult': TypeInfo(TypeOf.GenericDef,create:() => ValueTypeResult()), 'GetPaymentMethodSignUpLinkRequest': TypeInfo(TypeOf.Class, create:() => GetPaymentMethodSignUpLinkRequest()), });