' Options: 'Date: 2025-07-13 03:44:35 'Version: 6.50 'Tip: To override a DTO option, remove "''" prefix before updating 'BaseUrl: https://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: PaymentProfileImportEndpoint.* '''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.Payments Imports ClubReady.Payments.PaymentsDb Imports ClubReadyGateway.Vault Imports ClubReady.Web.Api.Sales Namespace Global Namespace ClubReady.Payments Public Partial Class PaymentProfileImportRequest Public Overridable Property ProfileToken As String Public Overridable Property DoNotUpdatePaymentTypePreference As Boolean Public Overridable Property NewOwnerId As Nullable(Of Integer) End Class Public Partial Class PaymentProfileImportResponse Public Overridable Property Success As Boolean Public Overridable Property Message As String Public Overridable Property PaymentProfile As PaymentProfile End Class End Namespace Namespace ClubReady.Payments.PaymentsDb Public Partial Class PaymentProfile Implements IFullNameContainer Public Overridable Property PaymentProfileId As Integer Public Overridable Property AcctToken As String Public Overridable Property OwnerId As Integer Public Overridable Property OwnerTypeId As Short Public Overridable Property AcctTypeId As Short Public Overridable Property AcctClassId As Short Public Overridable Property PrefixName As String Public Overridable Property FirstName As String Public Overridable Property MiddleName As String Public Overridable Property LastName As String Public Overridable Property SuffixName As String Public Overridable Property Address1 As String Public Overridable Property Address2 As String Public Overridable Property Urbanization 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 Last4 As String Public Overridable Property CcExpMonth As Nullable(Of Byte) Public Overridable Property CcExpYear As Nullable(Of Byte) Public Overridable Property IsTemp As Boolean Public Overridable Property IsDisabled As Boolean Public Overridable Property OnHoldUtc As Nullable(Of Date) Public Overridable Property OnHoldReasonCode As Nullable(Of Byte) Public Overridable Property OnHoldReasonDetail As String Public Overridable Property AcctUpdaterFlagUtc As Nullable(Of Date) Public Overridable Property CreatedBy As Integer Public Overridable Property CreatedUtc As Date Public Overridable Property ModifiedBy As Integer Public Overridable Property ModifiedUtc As Date Public Overridable Property AcctUpdaterFlag As Boolean Public Overridable Property EntryModeId As Short Public Overridable Property ExcludeFromAcctUpdater As Boolean End Class End Namespace Namespace ClubReady.Web.Api Public Interface IApiKeyEndpoint Property ApiKey As String End Interface End Namespace Namespace ClubReady.Web.Api.Sales Public Partial Class PaymentProfileImportEndpoint Inherits PaymentProfileImportRequest Implements IReturn(Of PaymentProfileImportResponse) Implements IApiKeyEndpoint ''' '''IP address of the end user ''' Public Overridable Property XForwardedFor As String ''' '''API Authentication Key ''' Public Overridable Property ApiKey As String ''' '''The ProfileToken JWT to import (see description above) ''' Public Overridable Property ProfileToken As String ''' '''When adding a PaymentMethod that is 'on-file' (`IsTemp == true`), the default behavior is toset this PaymentMethod as the preferred method. If you do not wish this to be the preferredmethod, you can set `DoNotUpdatePaymentTypePreference` to `true`. Otherwise, this can beomitted or `false`.For non 'on-file' PaymentMethods, this setting is ignored. ''' Public Overridable Property DoNotUpdatePaymentTypePreference As Boolean ''' '''**Conditionally Required** When importing a ProfileToken with an OwnerType of `TempStUser`, the ownership will be changed toOwnerType of `User` with the userId of the supplied `NewOwnerId`.This is needed when a PaymentMethod is created for a User that has not been selected or created, yet. ''' Public Overridable Property NewOwnerId As Nullable(Of Integer) End Class End Namespace Namespace ClubReadyGateway.Vault Public Interface IFullNameContainer Property FirstLastName As String Property FullName As String Property PrefixName As String Property FirstName As String Property MiddleName As String Property LastName As String Property SuffixName As String End Interface End Namespace End Namespace