(* Options: Date: 2024-11-24 13:30:58 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: PaymentProfileImportEndpoint.* //ExcludeTypes: //InitializeCollections: True //AddNamespaces: *) namespace ClubReady.Payments open System open System.Collections open System.Collections.Generic open System.Runtime.Serialization open ServiceStack open ServiceStack.DataAnnotations [] type IApiKeyEndpoint = abstract ApiKey:String with get,set [] type PaymentProfileImportRequest() = member val AcctToken:String = null with get,set member val ProfileToken:String = null with get,set member val DoNotUpdatePaymentTypePreference:Boolean = new Boolean() with get,set member val NewOwner:Nullable> = new Nullable>() with get,set [] type PaymentProfile() = member val PaymentProfileId:Int32 = new Int32() with get,set member val AcctToken:String = null with get,set member val OwnerId:Int32 = new Int32() with get,set member val OwnerTypeId:Int16 = new Int16() with get,set member val AcctTypeId:Int16 = new Int16() with get,set member val AcctClassId:Int16 = new Int16() with get,set member val PrefixName:String = null with get,set member val FirstName:String = null with get,set member val MiddleName:String = null with get,set member val LastName:String = null with get,set member val SuffixName:String = null with get,set member val Address1:String = null with get,set member val Address2:String = null with get,set member val Urbanization:String = null with get,set member val City:String = null with get,set member val State:String = null with get,set member val PostalCode:String = null with get,set member val CountryCode:String = null with get,set member val Last4:String = null with get,set member val CcExpMonth:Nullable = new Nullable() with get,set member val CcExpYear:Nullable = new Nullable() with get,set member val IsTemp:Boolean = new Boolean() with get,set member val IsDisabled:Boolean = new Boolean() with get,set member val OnHoldUtc:Nullable = new Nullable() with get,set member val OnHoldReasonCode:Nullable = new Nullable() with get,set member val OnHoldReasonDetail:String = null with get,set member val AcctUpdaterFlagUtc:Nullable = new Nullable() with get,set member val CreatedBy:Int32 = new Int32() with get,set member val CreatedUtc:DateTime = new DateTime() with get,set member val ModifiedBy:Int32 = new Int32() with get,set member val ModifiedUtc:DateTime = new DateTime() with get,set member val AcctUpdaterFlag:Boolean = new Boolean() with get,set member val EntryModeId:Int16 = new Int16() with get,set member val ExcludeFromAcctUpdater:Boolean = new Boolean() with get,set [] type PaymentProfileImportResponse() = member val Success:Boolean = new Boolean() with get,set member val Message:String = null with get,set member val PaymentProfile:PaymentProfile = null with get,set [] [, StatusCode=200)>] [] type PaymentProfileImportEndpoint() = inherit PaymentProfileImportRequest() interface IReturn /// ///Api Authentication Key /// [] member val ApiKey:String = null with get,set /// ///Encoded data uniquely identifying the payment profile. Long term storage of AcctToken is not recommended, as the token may change over time (for example, by processes like Account Updater). The length is usually 80 characters. /// [] member val AcctToken:String = null with get,set /// ///Encoded data containing non-PCI information about the Payment Profile. ProfileTokens contain a timestamp. If the ClubReady API does not process the token within 5 minutes,it cannot be accepted and a new profile will have to be created with a new AcctToken. The timevalidation is to prevent old tokens from be re-played at a later time. The length is variable, but generally around 1,000 characters. /// [] member val ProfileToken:String = null with get,set /// ///When adding a Payment Profile that is 'on-file', the default behavior is to update the user's Payment TypePreference to the AcctClass of the new profile. If you wish to not update the preference, you can set`DoNotUpdatePaymentTypePreference` to `true`. Otherwise, this can be omitted or `false`. For `IsTemp == true` profiles, `DoNotUpdatePaymentTypePreference` is ignored. /// [] member val DoNotUpdatePaymentTypePreference:Boolean = new Boolean() with get,set /// ///**Conditionally Required** When adding a Payment Profile that has an OwnerType of `TempStUser`, the ownership will be changed to OwnerType of `User`with the `UserId` of the supplied `NewOwnerId`. /// [] member val NewOwnerId:Nullable = new Nullable() with get,set