CardDetails

@JsonClass(generateAdapter = true)
data class CardDetails : Serializable

The CardDetails object contains details about a specific card presented to a reader

For more information, see the official Stripe docs: Card

Use of this SDK is subject to the Stripe Terminal Terms: https://stripe.com/terminal/legal

Properties

Link copied to clipboard
val brand: String? = null

Card brand. Can be amex, diners, discover, jcb, mastercard, unionpay, visa, or unknown.

Link copied to clipboard
val country: String? = null

Two-letter ISO code representing the country of the card. You could use this attribute to get a sense of the international breakdown of cards you’ve collected.

Link copied to clipboard
val expMonth: Int = 0

The expiration month of the payment method

Link copied to clipboard
val expYear: Int = 0

The expiration year of the payment method

Link copied to clipboard
val funding: String? = null

Card funding type. Can be credit, debit, prepaid, or unknown.

Link copied to clipboard

Details of the original PaymentMethod that created this object.

Link copied to clipboard
val last4: String? = null

The last four digits of the card number