(* Options: Date: 2024-11-24 13:49:58 Version: 6.50 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://clubready.com/api/current //GlobalNamespace: //MakeDataContractsExtensible: False //AddReturnMarker: True //AddDescriptionAsComments: True //AddDataContractAttributes: False //AddIndexesToDataMembers: False //AddGeneratedCodeAttributes: False //AddResponseStatus: False //AddImplicitVersion: //ExportValueTypes: False IncludeTypes: AddPaymentAccount.* //ExcludeTypes: //InitializeCollections: True //AddNamespaces: *) namespace ClubReady.Core.Api.Models open System open System.Collections open System.Collections.Generic open System.Runtime.Serialization open ServiceStack open ServiceStack.DataAnnotations type RestrictedResourceType = | Store = 0 | Chain = 1 | User = 2 | Undefined = 3 [] type IRestrictedApiRequest = abstract RestrictedId:Nullable with get,set abstract RestrictedResourceType:RestrictedResourceType with get,set [] type IApiKeyEndpoint = abstract ApiKey:String with get,set [] type ApiDtoBase() = member val ApiKey:String = null with get,set member val StoreId:Nullable = new Nullable() with get,set member val ChainId:Nullable = new Nullable() with get,set [] type AcctType = | Uninitialized = 0 | Visa = 1 | MC = 2 | Disc = 3 | Amex = 4 | Diners = 5 | JCB = 6 | enRoute = 7 | PayPal = 8 | BillMe = 9 | PC = 11 | PS = 12 | BC = 13 | BS = 14 | Becs = 15 | Bacs = 16 | Maestro = 20 | Solo = 21 | VisaElectron = 22 | CIBC = 23 | RoyalBankCa = 24 | TDCaTrust = 25 | Scotia = 26 | BMO = 27 | HSBCCa = 28 | UnionPay = 29 | InterPayment = 30 | Laser = 31 | UnknownCredit = 40 | TransArmor = 41 | Factor4 = 42 | XPass = 43 | ConnectedAccount = 44 | UnknownBank = 45 | Error = -1 [] type AddPaymentProfileRequest() = inherit ApiDtoBase() member val UserId:Int32 = new Int32() with get,set member val AcctToken:String = null with get,set member val Last4:String = null with get,set member val ExpMonth:Nullable = new Nullable() with get,set member val ExpYear:Nullable = new Nullable() with get,set member val AcctType:Nullable = new Nullable() with get,set member val BnkRoute:Nullable = new Nullable() with get,set member val FirstName:String = null with get,set member val MiddleName:String = null with get,set member val LastName:String = null with get,set member val Address1:String = null with get,set member val Address2:String = null with get,set member val City:String = null with get,set member val State:String = null with get,set member val PostalCode:String = null with get,set member val CountryCode:String = null with get,set member val Urbanization:String = null with get,set member val DoNotUpdatePaymentTypePreference:Boolean = new Boolean() with get,set member val IsTemp:Boolean = new Boolean() with get,set [] type AddPaymentProfileResponse() = member val Success:String = null with get,set member val Message:String = null with get,set [] [, StatusCode=200)>] [] type AddPaymentAccount() = inherit AddPaymentProfileRequest() interface IReturn /// ///Api Authentication Key /// [] member val ApiKey:String = null with get,set /// ///Id of the store for the user /// [] member val StoreId:Nullable = new Nullable() with get,set /// ///Member Id of the user to update their Payment Profile /// [] member val MemberId:Int32 = new Int32() with get,set /// ///The AcctToken provided by creating a Payment Profile with the Vault Api /// [] member val AcctToken:String = null with get,set /// ///Last 4 digits of the Payment Profile /// [] member val Last4:String = null with get,set /// ///2 digit expiration month **Required for Credit Card** /// [] member val ExpMonth:Nullable = new Nullable() with get,set /// ///2 digit expiration year **Required for Credit Card** /// [] member val ExpYear:Nullable = new Nullable() with get,set /// ///The Account Type of the Payment Profile **Required when adding Gift Card**
Common Values
TextNumericalAccount Type
VISA1Visa
MC2MasterCard
Disc3Discover
Amex4American Express
PC11Personal Checking
PS12Personal Savings
BC13Business Checking
Factor442Factor4 Gift Card

You may use the Text or the Numerical value.

///
[\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 \r\n
TextNumericalAccount Type
VISA1Visa
MC2MasterCard
Disc3Discover
Amex4American Express
PC11Personal Checking
PS12Personal Savings
BC13Business Checking
Factor442Factor4 Gift Card
\r\n

You may use the Text or the Numerical value.

\r\n")>] member val AcctType:Nullable = new Nullable() with get,set /// ///Bank Routing Number **Required for Bank Accounts** /// [] member val BnkRoute:Nullable = new Nullable() with get,set /// ///Set to `true` to not set the user's Payment Type Preference when adding an on-file profile /// [] member val DoNotUpdatePaymentTypePreference:Boolean = new Boolean() with get,set /// ///Whether the Payment Profile is Temporary (One time transactions and Gift Cards are IsTemp = `true`) /// [] member val IsTemp:Boolean = new Boolean() with get,set member val RestrictedId:Nullable = new Nullable() with get,set member val RestrictedResourceType:RestrictedResourceType = new RestrictedResourceType() with get,set