CardDetails

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

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

Functions

Link copied to clipboard
abstract fun describeContents(): Int
Link copied to clipboard
abstract fun writeToParcel(p0: Parcel, p1: Int)

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 fingerprint: String? = null

Uniquely identifies this particular card number. You can use this attribute to check whether two customers who’ve signed up with you are using the same card number, for example.

Link copied to clipboard
val funding: String? = null

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

Link copied to clipboard
val generatedFrom: GeneratedFrom? = null

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