/* Options: Date: 2024-11-21 10:56:27 Version: 6.10 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://api.paysecure.acculynk.net //Package: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: CreateCardTokenRequest.* //ExcludeTypes: //InitializeCollections: True //TreatTypesAsStrings: //DefaultImports: java.math.*,java.util.*,net.servicestack.client.* */ import java.math.* import java.util.* import net.servicestack.client.* @Route(Path="/CreateCardToken", Verbs="POST") @DataContract open class CreateCardTokenRequest : IReturn { @DataMember var Credentials:RequestorCredentials? = null @DataMember var SessionId:String? = null @DataMember var VerifyCard:Boolean? = null companion object { private val responseType = CreateCardToken::class.java } override fun getResponseType(): Any? = CreateCardTokenRequest.responseType } @DataContract open class CreateCardToken : PaysecureResponseInternal() { @DataMember var CardToken:String? = null @DataMember var CardZip:String? = null @DataMember var CardLast4:String? = null @DataMember var CardExpiration:String? = null @DataMember var CVN:String? = null @DataMember var AVS:String? = null @DataMember var BINResults:BINResults? = null @DataMember var ResponseCode:String? = null @DataMember var ErrorMessage:String? = null @DataMember var ErrorCode:String? = null @DataMember(EmitDefaultValue=false) var ExtendedData:ExtendedResponse? = null } open class RequestorCredentials { @Required() var MerchantId:String? = null @Required() var UserName:String? = null @Required() var Password:String? = null @Required() var Version:String? = null } @DataContract open class ExtendedResponse { @DataMember(EmitDefaultValue=false) var CardAccountUpdater:CardAccountUpdaterDescriptor? = null @DataMember(EmitDefaultValue=false) var ProductId:String? = null @DataMember(EmitDefaultValue=false) var NetworkResponseCode:String? = null @DataMember(EmitDefaultValue=false) var NetworkTransactionId:String? = null @DataMember(EmitDefaultValue=false) var CHEmailAddrResult:String? = null } @DataContract open class RequestTimestamps { @DataMember(EmitDefaultValue=false) var AppLayer:InOutTimes? = null @DataMember(EmitDefaultValue=false) var ParentLookup:InOutTimes? = null @DataMember(EmitDefaultValue=false) var RetryLookup:InOutTimes? = null @DataMember(EmitDefaultValue=false) var GetCardData:InOutTimes? = null @DataMember(EmitDefaultValue=false) var CardTokenize:InOutTimes? = null @DataMember(EmitDefaultValue=false) var CardEncrypt:InOutTimes? = null @DataMember(EmitDefaultValue=false) var DBInsert:InOutTimes? = null @DataMember(EmitDefaultValue=false) var BackendProcess:InOutTimes? = null @DataMember(EmitDefaultValue=false) var DBUpdate:InOutTimes? = null @DataMember(EmitDefaultValue=false) var ParentUpdate:InOutTimes? = null @DataMember(EmitDefaultValue=false) var Network:InOutTimes? = null } @DataContract open class PaysecureResponseInternal { @DataMember(EmitDefaultValue=false) var Timestamps:RequestTimestamps? = null } open class BINResults { var BIN:String? = null var Network:String? = null var InternetPinDebit:Boolean? = null var EcomEBTCash:Boolean? = null var EcomEBTSNAP:Boolean? = null var POSFlag:Boolean? = null var PinlessEcommerce:Boolean? = null var PinlessBillPay:Boolean? = null var OnDemandPaymentCredit:Boolean? = null var OnDemandPaymentDebit:Boolean? = null var PinlessA2ACredit:Boolean? = null var PinlessA2ADebit:Boolean? = null var PinlessPrePaidLoad:Boolean? = null var DualMessage:Boolean? = null var Recurring:Boolean? = null var CardVerify:Boolean? = null var RegulatedFlag:Boolean? = null var OTP:Boolean? = null var POSPinlessDualMessage:Boolean? = null var FastFunds:String? = null var RegulatedWithFraud:Boolean? = null var CountryCode:String? = null var CardType:String? = null var CardProduct:String? = null var CardDesignation:String? = null var CardSubCategory:String? = null var IncrementalAuth:Boolean? = null } enum class CardInfoType { CardNumber, Token, Track, Emv, Encrypted, Dpan, ApplePay, GooglePay, SamsungPay, CpToken, EncryptedEnhanced, EncryptedJWE, } open class CardAccountUpdaterDescriptor { var CardDataType:CardInfoType? = null var CardNumberInfo:String? = null var ExpiryDate:String? = null var Status:String? = null var ErrorCode:String? = null var CardToken:String? = null } @DataContract open class InOutTimes { }