' Options: 'Date: 2024-11-24 13:56:18 '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: WalletTokenCreateEndpoint.* '''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.Sales.Wallet Imports ClubReady.Web.Api.Sales.Wallet Namespace Global Namespace ClubReady.Core.Api.Models 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 Public Partial Class ApiResponseBase Public Overridable Property Success As Boolean Public Overridable Property Message As String End Class End Namespace Namespace ClubReady.Sales.Wallet Public Enum WalletPage Uninitialized Manage Add AddCard AddBank AddMini AddCardMini AddBankMini End Enum Public Partial Class WalletTokenCreateRequestDto Inherits ApiDtoBase Public Overridable Property OwnerId As Integer Public Overridable Property OwnerType As OwnerType Public Overridable Property CreatorId As Integer Public Overridable Property Page As WalletPage Public Overridable Property Theme As String Public Overridable Property AllowDeleteProfile As Nullable(Of Boolean) Public Overridable Property AllowDisableProfile As Nullable(Of Boolean) End Class Public Partial Class WalletTokenCreateResponseDto Inherits ApiResponseBase Public Overridable Property WalletToken As String Public Overridable Property WalletOrigin As String Public Overridable Property WalletUrl As String 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.Wallet Public Partial Class WalletTokenCreateEndpoint Inherits WalletTokenCreateRequestDto Implements IReturn(Of WalletTokenCreateResponse) Implements IRestrictedApiRequest ''' '''Api Key - grants access to resources ''' Public Overridable Property ApiKey As String ''' '''ID # of the owner to create the URL for ''' Public Overridable Property OwnerId As Integer ''' '''Type of owner to create the URL for ''' Public Overridable Property OwnerType As OwnerType ''' '''Person creating the profile. Can be same as OwnerId. ''' Public Overridable Property CreatorId As Integer ''' '''Page to display when calling the Payment Profile iFrame ''' Public Overridable Property Page As WalletPage ''' '''CSS Theme ''' Public Overridable Property Theme As String Public Overridable Property RestrictedId As Nullable(Of Integer) Public Overridable Property RestrictedResourceType As RestrictedResourceType ''' '''Allows for a payment profile to be deleted ''' Public Overridable Property AllowDeleteProfile As Nullable(Of Boolean) ''' '''Allows for a payment profile to be disabled ''' Public Overridable Property AllowDisableProfile As Nullable(Of Boolean) End Class Public Partial Class WalletTokenCreateResponse Inherits WalletTokenCreateResponseDto Public Overridable Property Success As Boolean Public Overridable Property Message As String Public Overridable Property WalletToken As String Public Overridable Property WalletOrigin As String Public Overridable Property WalletUrl As String End Class End Namespace Namespace ClubReadyGateway.Vault Public Enum OwnerType Unknown = 0 User = 1 ConvUser = 2 TempCart = 3 TempAgmt = 4 Store = 5 Chain = 6 Division = 7 District = 8 AdminType = 9 TempStUser = 10 VaultApi = 11 Company = 12 BackOfficeStore = 13 OrgUser = 14 CartItem = 15 Testing = 99 System = 100 [Error] = -1 End Enum End Namespace End Namespace