' Options: 'Date: 2024-05-17 03:08:44 'Version: 6.50 'Tip: To override a DTO option, remove "''" prefix before updating 'BaseUrl: https://www.clubready.com/api/current ' '''GlobalNamespace: '''MakePartial: True '''MakeVirtual: True '''MakeDataContractsExtensible: False '''AddReturnMarker: True '''AddDescriptionAsComments: True '''AddDataContractAttributes: False '''AddIndexesToDataMembers: False '''AddGeneratedCodeAttributes: False '''AddResponseStatus: False '''AddImplicitVersion: '''InitializeCollections: True '''ExportValueTypes: False 'IncludeTypes: AddPaymentAccount.* '''ExcludeTypes: '''AddNamespaces: '''AddDefaultXmlNamespace: http://schemas.servicestack.net/types Imports System Imports System.Collections Imports System.Collections.Generic Imports System.Runtime.Serialization Imports ServiceStack Imports ServiceStack.DataAnnotations Imports ClubReady.Web.Api Imports ClubReady.Core.Api.Models Imports ClubReadyGateway.Vault Imports ClubReady.Web.Api.Sales.Model Namespace Global Namespace ClubReady.Core.Api.Models Public Partial Class AddPaymentProfileRequest Inherits ApiDtoBase Public Overridable Property UserId As Integer Public Overridable Property AcctToken As String Public Overridable Property Last4 As String Public Overridable Property ExpMonth As Nullable(Of Integer) Public Overridable Property ExpYear As Nullable(Of Integer) Public Overridable Property AcctType As Nullable(Of AcctType) Public Overridable Property BnkRoute As Nullable(Of Integer) Public Overridable Property FirstName As String Public Overridable Property MiddleName As String Public Overridable Property LastName As String Public Overridable Property Address1 As String Public Overridable Property Address2 As String Public Overridable Property City As String Public Overridable Property State As String Public Overridable Property PostalCode As String Public Overridable Property CountryCode As String Public Overridable Property Urbanization As String Public Overridable Property DoNotUpdatePaymentTypePreference As Boolean Public Overridable Property IsTemp As Boolean End Class Public Partial Class AddPaymentProfileResponse Public Overridable Property Success As String Public Overridable Property Message As String End Class Public Partial Class ApiDtoBase Public Overridable Property ApiKey As String Public Overridable Property StoreId As Nullable(Of Integer) Public Overridable Property ChainId As Nullable(Of Integer) End Class End Namespace Namespace ClubReady.Web.Api Public Interface IApiKeyEndpoint Property ApiKey As String End Interface Public Interface IRestrictedApiRequest Implements IApiKeyEndpoint Property RestrictedId As Nullable(Of Integer) Property RestrictedResourceType As RestrictedResourceType End Interface Public Enum RestrictedResourceType Store Chain User Undefined End Enum End Namespace Namespace ClubReady.Web.Api.Sales.Model Public Partial Class AddPaymentAccount Inherits AddPaymentProfileRequest Implements IReturn(Of AddPaymentProfileResponse) Implements IRestrictedApiRequest ''' '''Api Authentication Key ''' Public Overridable Property ApiKey As String ''' '''Id of the store for the user ''' Public Overridable Property StoreId As Nullable(Of Integer) ''' '''Member Id of the user to update their Payment Profile ''' Public Overridable Property MemberId As Integer ''' '''The AcctToken provided by creating a Payment Profile with the Vault Api ''' Public Overridable Property AcctToken As String ''' '''Last 4 digits of the Payment Profile ''' Public Overridable Property Last4 As String ''' '''2 digit expiration month **Required for Credit Card** ''' Public Overridable Property ExpMonth As Nullable(Of Integer) ''' '''2 digit expiration year **Required for Credit Card** ''' Public Overridable Property ExpYear As Nullable(Of Integer) ''' '''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.

'''
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.

")> Public Overridable Property AcctType As Nullable(Of AcctType) ''' '''Bank Routing Number **Required for Bank Accounts** ''' Public Overridable Property BnkRoute As Nullable(Of Integer) ''' '''Set to `true` to not set the user's Payment Type Preference when adding an on-file profile ''' Public Overridable Property DoNotUpdatePaymentTypePreference As Boolean ''' '''Whether the Payment Profile is Temporary (One time transactions and Gift Cards are IsTemp = `true`) ''' Public Overridable Property IsTemp As Boolean Public Overridable Property RestrictedId As Nullable(Of Integer) Public Overridable Property RestrictedResourceType As RestrictedResourceType End Class End Namespace Namespace ClubReadyGateway.Vault Public Enum 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 [Error] = -1 End Enum End Namespace End Namespace