CardToken

data class CardToken(val token: String, val publicKey: String? = null, val firstSixDigits: String? = null, val expirationMonth: Int? = null, val expirationYear: Int? = null, val lastFourDigits: String? = null, val cardHolder: CardHolder? = null, val status: String? = null, val dateCreated: String? = null, val dateLastUpdated: String? = null, val dateDue: String? = null, val luhnValidation: Boolean? = null, val liveMode: Boolean? = null, val requireEsc: Boolean? = null, val cardNumberLength: Int? = null, val securityCodeLength: Int? = null, val truncCardNumber: String? = null)

Represents a tokenized card for secure payment processing. This class contains the token generated after successful card tokenization, which is used to process payments without handling sensitive card data directly.

Parameters

token

The secure token representing the card, generated after successful tokenization

publicKey

This app public Key

firstSixDigits

First card six digits

expirationMonth

Card expiration Month

expirationYear

Card expiration year

lastFourDigits

Last four digits of the card

cardHolder

Card holder

status

Card status

dateCreated

Date of creation of this token

dateLastUpdated

Date of creation of this token

dateDue

Date of creation of this token

luhnValidation

Card number has passed luhn Validation

liveMode

This is live mode

requireEsc

This require esc

cardNumberLength

Card number length

securityCodeLength

Card security code length

truncCardNumber

Thunc Card Number

Constructors

Link copied to clipboard
constructor(token: String, publicKey: String? = null, firstSixDigits: String? = null, expirationMonth: Int? = null, expirationYear: Int? = null, lastFourDigits: String? = null, cardHolder: CardHolder? = null, status: String? = null, dateCreated: String? = null, dateLastUpdated: String? = null, dateDue: String? = null, luhnValidation: Boolean? = null, liveMode: Boolean? = null, requireEsc: Boolean? = null, cardNumberLength: Int? = null, securityCodeLength: Int? = null, truncCardNumber: String? = null)

Properties

Link copied to clipboard
val cardHolder: CardHolder? = null
Link copied to clipboard
val cardNumberLength: Int? = null
Link copied to clipboard
val dateCreated: String? = null
Link copied to clipboard
val dateDue: String? = null
Link copied to clipboard
val dateLastUpdated: String? = null
Link copied to clipboard
val expirationMonth: Int? = null
Link copied to clipboard
val expirationYear: Int? = null
Link copied to clipboard
val firstSixDigits: String? = null
Link copied to clipboard
val lastFourDigits: String? = null
Link copied to clipboard
val liveMode: Boolean? = null
Link copied to clipboard
val luhnValidation: Boolean? = null
Link copied to clipboard
val publicKey: String? = null
Link copied to clipboard
val requireEsc: Boolean? = null
Link copied to clipboard
val securityCodeLength: Int? = null
Link copied to clipboard
val status: String? = null
Link copied to clipboard
Link copied to clipboard
val truncCardNumber: String? = null