/* Options: Date: 2026-11-08 11:52:31 Version: 5.140 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://devapi.billhighway.com //Package: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: CreditCardVerify.* //ExcludeTypes: //InitializeCollections: True //TreatTypesAsStrings: //DefaultImports: java.math.*,java.util.*,net.servicestack.client.* */ import java.math.* import java.util.* import net.servicestack.client.* @Route(Path="/api/v2/PaymentMethods/CC/Verification", Verbs="POST") open class CreditCardVerify : CreditCardVerify(), IReturn { companion object { private val responseType = CreditCardVerifyResult::class.java } override fun getResponseType(): Any? = CreditCardVerify.responseType } open class CreditCardVerifyResult : CreditCardCloudServiceResponse() { var CardRef:String? = null } enum class CreditCardType(val value:Int) { @SerializedName("0") AmericanExpress(0), @SerializedName("1") Discover(1), @SerializedName("2") MasterCard(2), @SerializedName("3") Visa(3), @SerializedName("4") DinersClub(4), @SerializedName("5") DinersCartBlanche(5), @SerializedName("6") Unknown(6), } open class CreditCardVerify { var UserId:Int? = null var GroupId:Int? = null var Location:String? = null var CurrencyCode:String? = null var NameOnCard:String? = null var Address1:String? = null var Address2:String? = null var City:String? = null var State:String? = null var PostalCode:String? = null var Country:String? = null var CardType:CreditCardType? = null var CardNumber:String? = null var ExpMonth:Int? = null var ExpYear:Int? = null var CVV:String? = null @ApiMember(Format="decimal", ParameterType="model") var Amount:BigDecimal? = null var ChapAndUser:String? = null var Description:String? = null var PayLinkID:Int? = null var EnsureValidZipAndCvc:Boolean? = null var ReCaptchaScore:BigDecimal? = null } open interface IHaveErrorField { var IsError:Boolean? } open class CreditCardCloudServiceResponse : IHaveErrorField { var IsDuplicate:Boolean? = null var IsSuccessful:Boolean? = null var ErrorCode:String? = null var Message:String? = null var GatewayId:Int? = null var ConfirmationNumber:String? = null var NetworkTransactionId:String? = null var IsError:Boolean? = null } open interface IHaveErrorField { var IsError:Boolean? }