/* Options: Date: 2024-11-21 06:05:00 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: ClientTokenizeCardRequest.* //ExcludeTypes: //InitializeCollections: True //TreatTypesAsStrings: //DefaultImports: java.math.*,java.util.*,net.servicestack.client.* */ import java.math.* import java.util.* import net.servicestack.client.* @Route(Path="/ClientTokenizeCard", Verbs="POST") @DataContract open class ClientTokenizeCardRequest : IReturn { @DataMember var Version:String? = null @DataMember var SessionId:String? = null @DataMember var CardNumber:String? = null @DataMember var Expiration:String? = null @DataMember var CVN:String? = null @DataMember var AVS:Avs? = null companion object { private val responseType = ClientTokenizeCard::class.java } override fun getResponseType(): Any? = ClientTokenizeCardRequest.responseType } @DataContract open class ClientTokenizeCard : PaysecureResponseInternal() { @DataMember var ErrorMessage:String? = null @DataMember var ErrorCode:String? = null } open class Avs { var Address:String? = null var City:String? = null var State:String? = null var Zip:String? = null var Country:String? = null var Email:String? = null var IPAddress:String? = null var TelephoneNumber:String? = null var TelephoneType:TelephoneType? = null var DeliveryMethod:Int? = null var FirstName:String? = null var MiddleName:String? = null var LastName: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 } enum class TelephoneType { D, H, N, W, } @DataContract open class InOutTimes { }