(* Options: Date: 2024-05-09 16:55:14 Version: 6.50 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://www.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 PaymentProfileImportResponse() = member val Success:Boolean = new Boolean() with get,set member val Message:String = 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