' Options: 'Date: 2024-11-24 13:39:59 '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: CalculatePaymentPlanRequest.* '''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 ClubReady.Web.Api.Sales.Model 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 CalculatePaymentPlanRequestDto Inherits ApiDtoBase Public Overridable Property InstallmentPlanId As Integer Public Overridable Property PackageId As Integer Public Overridable Property StartDate As Nullable(Of Date) Public Overridable Property PromoCode As String End Class Public Partial Class CalculatePaymentPlanResultDto Public Sub New() Payments = New List(Of PaymentPlanInstallment) Fees = New List(Of PaymentPlanInstallment) End Sub Public Overridable Property PlanTotal As String Public Overridable Property SubTotal As String Public Overridable Property TaxRate As Nullable(Of Single) Public Overridable Property EnhancementFee As String Public Overridable Property EnhancementFeeTaxAmount As String Public Overridable Property TaxEnhFee As Boolean Public Overridable Property Tax As String Public Overridable Property TotalDueToday As String Public Overridable Property Payments As List(Of PaymentPlanInstallment) Public Overridable Property Fees As List(Of PaymentPlanInstallment) Public Overridable Property IsEvergreen As Boolean Public Overridable Property RequirePaymentProfile As Boolean End Class Public Partial Class PaymentPlanInstallment Public Overridable Property PayToday As Boolean Public Overridable Property Amount As Decimal Public Overridable Property Taxed As Boolean Public Overridable Property TaxRate As Nullable(Of Single) Public Overridable Property TaxAmount As Nullable(Of Decimal) Public Overridable Property FeeName As String Public Overridable Property DueDate As Date Public Overridable Property Total As String Public Overridable Property SetupFeeId 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 CalculatePaymentPlanRequest Inherits CalculatePaymentPlanRequestDto Implements IReturn(Of CalculatePaymentPlanResultDto) Implements IRestrictedApiRequest ''' '''Api Key - grants access to resources ''' Public Overridable Property ApiKey As String ''' '''ID # of store to calculate plan for ''' Public Overridable Property StoreId As Nullable(Of Integer) ''' '''Installment Plan to calculate a scheduel for ''' Public Overridable Property InstallmentPlanId As Integer ''' '''The package to calculate for ''' Public Overridable Property PackageId As Integer ''' '''Date to calculate schedule from. If not provided, will use today. ''' Public Overridable Property StartDate As Nullable(Of Date) ''' '''Promo code to apply a discount. ''' Public Overridable Property PromoCode As String Public Overridable Property RestrictedId As Nullable(Of Integer) Public Overridable Property RestrictedResourceType As RestrictedResourceType End Class End Namespace End Namespace