/* Options: Date: 2024-11-24 13:48:46 Version: 6.50 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://clubready.com/api/current //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: SellContractAndSetupClientRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; enum RestrictedResourceType { Store, Chain, User, Undefined, } abstract class IRestrictedApiRequest extends IApiKeyEndpoint { int? RestrictedId; RestrictedResourceType? RestrictedResourceType; } abstract class IApiKeyEndpoint { String? ApiKey; } class ApiDtoBase implements IConvertible { String? ApiKey; int? StoreId; int? ChainId; ApiDtoBase({this.ApiKey,this.StoreId,this.ChainId}); ApiDtoBase.fromJson(Map json) { fromMap(json); } fromMap(Map json) { ApiKey = json['ApiKey']; StoreId = json['StoreId']; ChainId = json['ChainId']; return this; } Map toJson() => { 'ApiKey': ApiKey, 'StoreId': StoreId, 'ChainId': ChainId }; getTypeName() => "ApiDtoBase"; TypeContext? context = _ctx; } // @DataContract enum AcctType { Uninitialized, Visa, MC, Disc, Amex, Diners, JCB, enRoute, PayPal, BillMe, PC, PS, BC, BS, Becs, Bacs, Maestro, Solo, VisaElectron, CIBC, RoyalBankCa, TDCaTrust, Scotia, BMO, HSBCCa, UnionPay, InterPayment, Laser, UnknownCredit, TransArmor, Factor4, XPass, ConnectedAccount, UnknownBank, Error, } enum PaymentMethodType { Uninitialized, PaymentProfileId, PreferredOnFile, AcctToken, Error, } // @DataContract class PaymentMethodDto implements IConvertible { // @DataMember String? AcctToken; // @DataMember String? ProfileToken; // @DataMember String? PaymentProfileId; // @DataMember double? PaymentAmount; // @DataMember PaymentMethodType? PaymentMethodType; // @DataMember bool? DoNotUpdatePaymentTypePreference; PaymentMethodDto({this.AcctToken,this.ProfileToken,this.PaymentProfileId,this.PaymentAmount,this.PaymentMethodType,this.DoNotUpdatePaymentTypePreference}); PaymentMethodDto.fromJson(Map json) { fromMap(json); } fromMap(Map json) { AcctToken = json['AcctToken']; ProfileToken = json['ProfileToken']; PaymentProfileId = json['PaymentProfileId']; PaymentAmount = JsonConverters.toDouble(json['PaymentAmount']); PaymentMethodType = JsonConverters.fromJson(json['PaymentMethodType'],'PaymentMethodType',context!); DoNotUpdatePaymentTypePreference = json['DoNotUpdatePaymentTypePreference']; return this; } Map toJson() => { 'AcctToken': AcctToken, 'ProfileToken': ProfileToken, 'PaymentProfileId': PaymentProfileId, 'PaymentAmount': PaymentAmount, 'PaymentMethodType': JsonConverters.toJson(PaymentMethodType,'PaymentMethodType',context!), 'DoNotUpdatePaymentTypePreference': DoNotUpdatePaymentTypePreference }; getTypeName() => "PaymentMethodDto"; TypeContext? context = _ctx; } class SellContractAndSetupClientDto extends ApiDtoBase implements IConvertible { String? AcctToken; String? Last4; int? ExpMonth; int? ExpYear; AcctType? AcctType; int? BnkRoute; bool? IsTemp; int? PackageId; int? InstallmentPlanId; double? PaymentAmount; DateTime? StartDate; String? FirstName; String? LastName; String? Address; String? City; String? State; String? Zip; String? Email; String? Gender; String? Phone; String? WorkPhone; DateTime? DateOfBirth; String? CellPhone; String? Note; String? ExternalId; String? PromoCode; String? Username; int? ReferralTypeId; String? EmergencyContactName; String? EmergencyContactPhone; String? EmergencyContactType; List? PaymentMethods; SellContractAndSetupClientDto({this.AcctToken,this.Last4,this.ExpMonth,this.ExpYear,this.AcctType,this.BnkRoute,this.IsTemp,this.PackageId,this.InstallmentPlanId,this.PaymentAmount,this.StartDate,this.FirstName,this.LastName,this.Address,this.City,this.State,this.Zip,this.Email,this.Gender,this.Phone,this.WorkPhone,this.DateOfBirth,this.CellPhone,this.Note,this.ExternalId,this.PromoCode,this.Username,this.ReferralTypeId,this.EmergencyContactName,this.EmergencyContactPhone,this.EmergencyContactType,this.PaymentMethods}); SellContractAndSetupClientDto.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); AcctToken = json['AcctToken']; Last4 = json['Last4']; ExpMonth = json['ExpMonth']; ExpYear = json['ExpYear']; AcctType = JsonConverters.fromJson(json['AcctType'],'AcctType',context!); BnkRoute = json['BnkRoute']; IsTemp = json['IsTemp']; PackageId = json['PackageId']; InstallmentPlanId = json['InstallmentPlanId']; PaymentAmount = JsonConverters.toDouble(json['PaymentAmount']); StartDate = JsonConverters.fromJson(json['StartDate'],'DateTime',context!); FirstName = json['FirstName']; LastName = json['LastName']; Address = json['Address']; City = json['City']; State = json['State']; Zip = json['Zip']; Email = json['Email']; Gender = json['Gender']; Phone = json['Phone']; WorkPhone = json['WorkPhone']; DateOfBirth = JsonConverters.fromJson(json['DateOfBirth'],'DateTime',context!); CellPhone = json['CellPhone']; Note = json['Note']; ExternalId = json['ExternalId']; PromoCode = json['PromoCode']; Username = json['Username']; ReferralTypeId = json['ReferralTypeId']; EmergencyContactName = json['EmergencyContactName']; EmergencyContactPhone = json['EmergencyContactPhone']; EmergencyContactType = json['EmergencyContactType']; PaymentMethods = JsonConverters.fromJson(json['PaymentMethods'],'List',context!); return this; } Map toJson() => super.toJson()..addAll({ 'AcctToken': AcctToken, 'Last4': Last4, 'ExpMonth': ExpMonth, 'ExpYear': ExpYear, 'AcctType': JsonConverters.toJson(AcctType,'AcctType',context!), 'BnkRoute': BnkRoute, 'IsTemp': IsTemp, 'PackageId': PackageId, 'InstallmentPlanId': InstallmentPlanId, 'PaymentAmount': PaymentAmount, 'StartDate': JsonConverters.toJson(StartDate,'DateTime',context!), 'FirstName': FirstName, 'LastName': LastName, 'Address': Address, 'City': City, 'State': State, 'Zip': Zip, 'Email': Email, 'Gender': Gender, 'Phone': Phone, 'WorkPhone': WorkPhone, 'DateOfBirth': JsonConverters.toJson(DateOfBirth,'DateTime',context!), 'CellPhone': CellPhone, 'Note': Note, 'ExternalId': ExternalId, 'PromoCode': PromoCode, 'Username': Username, 'ReferralTypeId': ReferralTypeId, 'EmergencyContactName': EmergencyContactName, 'EmergencyContactPhone': EmergencyContactPhone, 'EmergencyContactType': EmergencyContactType, 'PaymentMethods': JsonConverters.toJson(PaymentMethods,'List',context!) }); getTypeName() => "SellContractAndSetupClientDto"; TypeContext? context = _ctx; } // @Route("/sales/contract/sold/new/user", "POST") // @ApiResponse(Description="", ResponseType=typeof(SellContractAndSetupClientResponse), StatusCode=200) class SellContractAndSetupClientRequest extends SellContractAndSetupClientDto implements IRestrictedApiRequest, IConvertible { /** * Api Authentication Key */ // @ApiMember(Description="Api Authentication Key", IsRequired=true, ParameterType="query") String? ApiKey; /** * Id for the chain of the Api Key */ // @ApiMember(Description="Id for the chain of the Api Key", ParameterType="query") int? ChainId; /** * Id of the store for the user */ // @ApiMember(Description="Id of the store for the user", IsRequired=true, ParameterType="query") int? StoreId; /** * Package Id being sold */ // @ApiMember(Description="Package Id being sold", IsRequired=true) int? PackageId; /** * Installment Plan Id being sold */ // @ApiMember(Description="Installment Plan Id being sold", IsRequired=true) int? InstallmentPlanId; /** * Amount being paid */ // @ApiMember(Description="Amount being paid", IsRequired=true) double? PaymentAmount; /** * Date contract takes affect */ // @ApiMember(Description="Date contract takes affect") DateTime? StartDate; /** * First Name */ // @ApiMember(Description="First Name", IsRequired=true) String? FirstName; /** * Last Name */ // @ApiMember(Description="Last Name", IsRequired=true) String? LastName; /** * Email Address */ // @ApiMember(Description="Email Address", IsRequired=true) String? Email; /** * Gender */ // @ApiMember(Description="Gender") String? Gender; /** * Address */ // @ApiMember(Description="Address") String? Address; /** * City */ // @ApiMember(Description="City") String? City; /** * State */ // @ApiMember(Description="State") String? State; /** * Zip Code */ // @ApiMember(Description="Zip Code") String? Zip; /** * Home phone */ // @ApiMember(Description="Home phone") String? Phone; /** * Work phone */ // @ApiMember(Description="Work phone") String? WorkPhone; /** * Date of Birth */ // @ApiMember(Description="Date of Birth") DateTime? DateOfBirth; /** * Cell phone */ // @ApiMember(Description="Cell phone") String? CellPhone; /** * Add an internal note for the new prospect */ // @ApiMember(Description="Add an internal note for the new prospect") String? Note; /** * Unique Id for the user from your system. We store internally as ExternalUserId */ // @ApiMember(Description="Unique Id for the user from your system. We store internally as ExternalUserId") String? ExternalId; /** * Promo code to apply a discount. */ // @ApiMember(Description="Promo code to apply a discount.") String? PromoCode; /** * Username should be between 4 and 255 characters long */ // @ApiMember(Description="Username should be between 4 and 255 characters long") String? Username; /** * ReferralTypeId */ // @ApiMember(Description="ReferralTypeId") int? ReferralTypeId; /** * Emergency contact name */ // @ApiMember(Description="Emergency contact name") String? EmergencyContactName; /** * Emergency contact phone number */ // @ApiMember(Description="Emergency contact phone number") String? EmergencyContactPhone; /** * Emergency contact relationship */ // @ApiMember(Description="Emergency contact relationship") String? EmergencyContactType; /** * An array of Payment Methods to be used for this purchase. Any entry with PreferredOnFile is assumed if omitted or null. Each object of the array may contain properties:| Property | Description || --- | --- || PaymentMethodType | Usually "AcctToken" (Default or omitted/null) or "PreferredOnFile" || PaymentAmount | The amount to be attempted for this Payment Method. When omitted (or null), the Request's PaymentAmount will be attempted || AcctToken | The AcctToken to attempt payment (when using PaymentMethodType:AcctToken) || ProfileToken | When provided (with AcctToken), a Payment Profile will be created (this will prevent the requirement to call `/sales/paymentprofile/import` (when using PaymentMethodType:AcctToken) || DoNotUpdatePaymentTypePreference | When using ProfileToken, do not set the PaymentTypePreference (for more information, see `/sales/paymentprofile/import` (when using PaymentMethodType:AcctToken) || | |* Scenario #1: Use a Gift Card with PreferredOnFile to cover the amount not approved by the Gift Card. JSON:```json{ PaymentMethods: [ { "PaymentMethodType":"AcctToken", "PaymentAmount":"1.00", "AcctToken":"eyJ...GiftCard AcctToken...", "ProfileToken":"eyJ...Gift Card ProfileToken..." }, { "PaymentMethodType":"PreferredOnFile", "PaymentAmount":"1.00" } ]}```JSV:```[{PaymentMethodType:AcctToken,PaymentAmount:1.00,AcctToken:eyj...,ProfileToken:eyJ...},{PaymentMethodType:PreferredOnFile,PaymentAmount:1.00}]```* Scenario #2: Use a Gift Card with PreferredOnFile to cover the amount not approved by the Gift Card. JSON:```json{ PaymentMethods: [ { "PaymentMethodType":"AcctToken", "PaymentAmount":"1.00", "AcctToken":"eyJ...GiftCard AcctToken...", "ProfileToken":"eyJ...Gift Card ProfileToken..." }, { "PaymentMethodType":"PreferredOnFile", "PaymentAmount":"1.00" } ]}```JSV:```jsv[{PaymentMethodType:AcctToken,PaymentAmount:1.00,AcctToken:eyj...,ProfileToken:eyJ...},{PaymentMethodType:PreferredOnFile,PaymentAmount:1.00}]```Notes: * The example shows PaymentAmount of 1.00 for both "AcctToken" and "PreferredOnFile". This is for the examplewith a total of $1.00. The firstPaymentMethod (the Gift Card) will be attempted for $1.00. If it partially approvesfor less than 1.00 (example: $0.80), the second payment method (PreferredOnFile) will be attempted for the lesser ofit's PaymentAmount and the remaining amount (example: $0.20).* Because this endpoint creates a new user, the "PreferredOnFile" option is not applicable. Also, ProfileToken withthe OwnerType "TempstUser" is required because the Payment Profile owner will be converted to the newly created user.* When using Query String (or this web site), this value must be encoded with JSV [(JSON-like Separated Values)](https://docs.servicestack.net/jsv-format).Basic steps to convert JSON to JSV: 1) Remove properties that are null, 2) Remove white space including line feeds, 3) Remove quotes. */ // @ApiMember(Description="\r\nAn array of Payment Methods to be used for this purchase. Any entry with PreferredOnFile is assumed if omitted or null. \r\n\r\nEach object of the array may contain properties:\r\n\r\n| Property | Description |\r\n| --- | --- |\r\n| PaymentMethodType | Usually \"AcctToken\" (Default or omitted/null) or \"PreferredOnFile\" |\r\n| PaymentAmount | The amount to be attempted for this Payment Method. When omitted (or null), the Request's PaymentAmount will be attempted |\r\n| AcctToken | The AcctToken to attempt payment (when using PaymentMethodType:AcctToken) |\r\n| ProfileToken | When provided (with AcctToken), a Payment Profile will be created (this will prevent the requirement to call `/sales/paymentprofile/import` (when using PaymentMethodType:AcctToken) |\r\n| DoNotUpdatePaymentTypePreference | When using ProfileToken, do not set the PaymentTypePreference (for more information, see `/sales/paymentprofile/import` (when using PaymentMethodType:AcctToken) |\r\n| | |\r\n\r\n* Scenario #1: Use a Gift Card with PreferredOnFile to cover the amount not approved by the Gift Card. \r\n\r\nJSON:\r\n```json\r\n{\r\n PaymentMethods: [\r\n {\r\n \"PaymentMethodType\":\"AcctToken\",\r\n \"PaymentAmount\":\"1.00\",\r\n \"AcctToken\":\"eyJ...GiftCard AcctToken...\",\r\n \"ProfileToken\":\"eyJ...Gift Card ProfileToken...\"\r\n },\r\n {\r\n \"PaymentMethodType\":\"PreferredOnFile\",\r\n \"PaymentAmount\":\"1.00\"\r\n }\r\n ]\r\n}\r\n```\r\nJSV:\r\n```\r\n[{PaymentMethodType:AcctToken,PaymentAmount:1.00,AcctToken:eyj...,ProfileToken:eyJ...},{PaymentMethodType:PreferredOnFile,PaymentAmount:1.00}]\r\n```\r\n\r\n* Scenario #2: Use a Gift Card with PreferredOnFile to cover the amount not approved by the Gift Card. \r\n\r\nJSON:\r\n```json\r\n{\r\n PaymentMethods: [\r\n {\r\n \"PaymentMethodType\":\"AcctToken\",\r\n \"PaymentAmount\":\"1.00\",\r\n \"AcctToken\":\"eyJ...GiftCard AcctToken...\",\r\n \"ProfileToken\":\"eyJ...Gift Card ProfileToken...\"\r\n },\r\n {\r\n \"PaymentMethodType\":\"PreferredOnFile\",\r\n \"PaymentAmount\":\"1.00\"\r\n }\r\n ]\r\n}\r\n```\r\nJSV:\r\n```jsv\r\n[{PaymentMethodType:AcctToken,PaymentAmount:1.00,AcctToken:eyj...,ProfileToken:eyJ...},{PaymentMethodType:PreferredOnFile,PaymentAmount:1.00}]\r\n```\r\n\r\nNotes: \r\n\r\n* The example shows PaymentAmount of 1.00 for both \"AcctToken\" and \"PreferredOnFile\". This is for the example\r\nwith a total of $1.00. The firstPaymentMethod (the Gift Card) will be attempted for $1.00. If it partially approves\r\nfor less than 1.00 (example: $0.80), the second payment method (PreferredOnFile) will be attempted for the lesser of\r\nit's PaymentAmount and the remaining amount (example: $0.20).\r\n\r\n* Because this endpoint creates a new user, the \"PreferredOnFile\" option is not applicable. Also, ProfileToken with\r\nthe OwnerType \"TempstUser\" is required because the Payment Profile owner will be converted to the newly created user.\r\n\r\n* When using Query String (or this web site), this value must be encoded with JSV [(JSON-like Separated Values)](https://docs.servicestack.net/jsv-format).\r\nBasic steps to convert JSON to JSV: 1) Remove properties that are null, 2) Remove white space including line feeds, 3) Remove quotes.\r\n") List? PaymentMethods; int? RestrictedId; RestrictedResourceType? RestrictedResourceType; /** * **Deprecated** (Use `PaymentMethods` with `ProfileToken`) AcctToken provided by creating a Payment Profile with the Vault Api. Required if Package requires purchase and PaymentMethods is empty. */ // @ApiMember(Description="\r\n**Deprecated** (Use `PaymentMethods` with `ProfileToken`) \r\n\r\nAcctToken provided by creating a Payment Profile with the Vault Api. Required if Package requires purchase and PaymentMethods is empty.") String? AcctToken; /** * **Deprecated** (Use `PaymentMethods` with `ProfileToken`) Last 4 digits of the Payment Profile. Required with AcctToken. */ // @ApiMember(Description="\r\n**Deprecated** (Use `PaymentMethods` with `ProfileToken`) \r\n\r\nLast 4 digits of the Payment Profile. Required with AcctToken.") String? Last4; /** * **Deprecated** (Use `PaymentMethods` with `ProfileToken`) 2 digit expiration month. **Required with AcctToken for Credit Card.** */ // @ApiMember(Description="\r\n**Deprecated** (Use `PaymentMethods` with `ProfileToken`) \r\n\r\n2 digit expiration month. **Required with AcctToken for Credit Card.**") int? ExpMonth; /** * **Deprecated** (Use `PaymentMethods` with `ProfileToken`) 2 digit expiration year. **Required with AcctToken for Credit Card.** */ // @ApiMember(Description="\r\n**Deprecated** (Use `PaymentMethods` with `ProfileToken`) \r\n\r\n2 digit expiration year. **Required with AcctToken for Credit Card.**") int? ExpYear; /** * **Deprecated** (Use `PaymentMethods` with `ProfileToken`) The Account Type the Payment Profile
Common Values
TextNumericalAccount Type
VISA1Visa
MC2MasterCard
Disc3Discover
Amex4American Express
PC11Personal Checking
PS12Personal Savings
BC13Business Checking

You may use the Text or the Numerical value.

*/ // @ApiMember(Description="\r\n**Deprecated** (Use `PaymentMethods` with `ProfileToken`) \r\n\r\nThe Account Type the Payment Profile\r\n\r\n
\r\nCommon Values\r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
TextNumericalAccount Type
VISA1Visa
MC2MasterCard
Disc3Discover
Amex4American Express
PC11Personal Checking
PS12Personal Savings
BC13Business Checking
\r\n

You may use the Text or the Numerical value.

\r\n
") AcctType? AcctType; /** * **Deprecated** (Use `PaymentMethods` with `ProfileToken`) Bank Routing Number. **Required with AcctToken for Bank Accounts.** */ // @ApiMember(Description="\r\n**Deprecated** (Use `PaymentMethods` with `ProfileToken`) \r\n\r\nBank Routing Number. **Required with AcctToken for Bank Accounts.**") int? BnkRoute; /** * **Deprecated** (Use `PaymentMethods` with `ProfileToken`) Whether the Payment Profile is Temporary. (One time transactions and Gift Cards are IsTemp = True). */ // @ApiMember(Description="\r\n**Deprecated** (Use `PaymentMethods` with `ProfileToken`) \r\n\r\nWhether the Payment Profile is Temporary. (One time transactions and Gift Cards are IsTemp = True).") bool? IsTemp; SellContractAndSetupClientRequest({this.ApiKey,this.ChainId,this.StoreId,this.PackageId,this.InstallmentPlanId,this.PaymentAmount,this.StartDate,this.FirstName,this.LastName,this.Email,this.Gender,this.Address,this.City,this.State,this.Zip,this.Phone,this.WorkPhone,this.DateOfBirth,this.CellPhone,this.Note,this.ExternalId,this.PromoCode,this.Username,this.ReferralTypeId,this.EmergencyContactName,this.EmergencyContactPhone,this.EmergencyContactType,this.PaymentMethods,this.RestrictedId,this.RestrictedResourceType,this.AcctToken,this.Last4,this.ExpMonth,this.ExpYear,this.AcctType,this.BnkRoute,this.IsTemp}); SellContractAndSetupClientRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); ApiKey = json['ApiKey']; ChainId = json['ChainId']; StoreId = json['StoreId']; PackageId = json['PackageId']; InstallmentPlanId = json['InstallmentPlanId']; PaymentAmount = JsonConverters.toDouble(json['PaymentAmount']); StartDate = JsonConverters.fromJson(json['StartDate'],'DateTime',context!); FirstName = json['FirstName']; LastName = json['LastName']; Email = json['Email']; Gender = json['Gender']; Address = json['Address']; City = json['City']; State = json['State']; Zip = json['Zip']; Phone = json['Phone']; WorkPhone = json['WorkPhone']; DateOfBirth = JsonConverters.fromJson(json['DateOfBirth'],'DateTime',context!); CellPhone = json['CellPhone']; Note = json['Note']; ExternalId = json['ExternalId']; PromoCode = json['PromoCode']; Username = json['Username']; ReferralTypeId = json['ReferralTypeId']; EmergencyContactName = json['EmergencyContactName']; EmergencyContactPhone = json['EmergencyContactPhone']; EmergencyContactType = json['EmergencyContactType']; PaymentMethods = JsonConverters.fromJson(json['PaymentMethods'],'List',context!); RestrictedId = json['RestrictedId']; RestrictedResourceType = JsonConverters.fromJson(json['RestrictedResourceType'],'RestrictedResourceType',context!); AcctToken = json['AcctToken']; Last4 = json['Last4']; ExpMonth = json['ExpMonth']; ExpYear = json['ExpYear']; AcctType = JsonConverters.fromJson(json['AcctType'],'AcctType',context!); BnkRoute = json['BnkRoute']; IsTemp = json['IsTemp']; return this; } Map toJson() => super.toJson()..addAll({ 'ApiKey': ApiKey, 'ChainId': ChainId, 'StoreId': StoreId, 'PackageId': PackageId, 'InstallmentPlanId': InstallmentPlanId, 'PaymentAmount': PaymentAmount, 'StartDate': JsonConverters.toJson(StartDate,'DateTime',context!), 'FirstName': FirstName, 'LastName': LastName, 'Email': Email, 'Gender': Gender, 'Address': Address, 'City': City, 'State': State, 'Zip': Zip, 'Phone': Phone, 'WorkPhone': WorkPhone, 'DateOfBirth': JsonConverters.toJson(DateOfBirth,'DateTime',context!), 'CellPhone': CellPhone, 'Note': Note, 'ExternalId': ExternalId, 'PromoCode': PromoCode, 'Username': Username, 'ReferralTypeId': ReferralTypeId, 'EmergencyContactName': EmergencyContactName, 'EmergencyContactPhone': EmergencyContactPhone, 'EmergencyContactType': EmergencyContactType, 'PaymentMethods': JsonConverters.toJson(PaymentMethods,'List',context!), 'RestrictedId': RestrictedId, 'RestrictedResourceType': JsonConverters.toJson(RestrictedResourceType,'RestrictedResourceType',context!), 'AcctToken': AcctToken, 'Last4': Last4, 'ExpMonth': ExpMonth, 'ExpYear': ExpYear, 'AcctType': JsonConverters.toJson(AcctType,'AcctType',context!), 'BnkRoute': BnkRoute, 'IsTemp': IsTemp }); getTypeName() => "SellContractAndSetupClientRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'clubready.com', types: { 'RestrictedResourceType': TypeInfo(TypeOf.Enum, enumValues:RestrictedResourceType.values), 'IRestrictedApiRequest': TypeInfo(TypeOf.Interface), 'IApiKeyEndpoint': TypeInfo(TypeOf.Interface), 'ApiDtoBase': TypeInfo(TypeOf.Class, create:() => ApiDtoBase()), 'AcctType': TypeInfo(TypeOf.Enum, enumValues:AcctType.values), 'PaymentMethodType': TypeInfo(TypeOf.Enum, enumValues:PaymentMethodType.values), 'PaymentMethodDto': TypeInfo(TypeOf.Class, create:() => PaymentMethodDto()), 'SellContractAndSetupClientDto': TypeInfo(TypeOf.Class, create:() => SellContractAndSetupClientDto()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'SellContractAndSetupClientRequest': TypeInfo(TypeOf.Class, create:() => SellContractAndSetupClientRequest()), });