(* Options: Date: 2024-11-24 14:21:17 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: CalculatePaymentPlanRequest.* //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 CalculatePaymentPlanRequestDto() = inherit ApiDtoBase() member val InstallmentPlanId:Int32 = new Int32() with get,set member val PackageId:Int32 = new Int32() with get,set member val StartDate:Nullable = new Nullable() with get,set member val PromoCode:String = null with get,set [] type PaymentPlanInstallment() = member val PayToday:Boolean = new Boolean() with get,set member val Amount:Decimal = new Decimal() with get,set member val Taxed:Boolean = new Boolean() with get,set member val TaxRate:Nullable = new Nullable() with get,set member val TaxAmount:Nullable = new Nullable() with get,set member val FeeName:String = null with get,set member val DueDate:DateTime = new DateTime() with get,set member val Total:String = null with get,set member val SetupFeeId:Nullable = new Nullable() with get,set [] type CalculatePaymentPlanResultDto() = member val PlanTotal:String = null with get,set member val SubTotal:String = null with get,set member val TaxRate:Nullable = new Nullable() with get,set member val EnhancementFee:String = null with get,set member val EnhancementFeeTaxAmount:String = null with get,set member val TaxEnhFee:Boolean = new Boolean() with get,set member val Tax:String = null with get,set member val TotalDueToday:String = null with get,set member val Payments:ResizeArray = new ResizeArray() with get,set member val Fees:ResizeArray = new ResizeArray() with get,set member val IsEvergreen:Boolean = new Boolean() with get,set member val RequirePaymentProfile:Boolean = new Boolean() with get,set [] [] type CalculatePaymentPlanRequest() = inherit CalculatePaymentPlanRequestDto() interface IReturn /// ///Api Key - grants access to resources /// [] member val ApiKey:String = null with get,set /// ///ID # of store to calculate plan for /// [] member val StoreId:Nullable = new Nullable() with get,set /// ///Installment Plan to calculate a scheduel for /// [] member val InstallmentPlanId:Int32 = new Int32() with get,set /// ///The package to calculate for /// [] member val PackageId:Int32 = new Int32() with get,set /// ///Date to calculate schedule from. If not provided, will use today. /// [] member val StartDate:Nullable = new Nullable() with get,set /// ///Promo code to apply a discount. /// [] member val PromoCode:String = null with get,set member val RestrictedId:Nullable = new Nullable() with get,set member val RestrictedResourceType:RestrictedResourceType = new RestrictedResourceType() with get,set