CardInfo

class CardInfo

Card information returned with a completed purchase.

Properties

Link copied to clipboard
val aid: String?

Application identifier of the selected card application.

Link copied to clipboard

Card brand, for example Visa.

Link copied to clipboard

How the card was read, for example Contactless.

Link copied to clipboard
val expiryDate: String? = null

Card expiry date (YYMM), when reported by the terminal.

Link copied to clipboard

Masked PAN safe to print on a receipt.

Link copied to clipboard
val type: String?

Card product type, if reported.

Link copied to clipboard

Combined card type identification, "$aid-$type" (application identifier and card product type, for example Debit/Credit, joined with a -). null unless both aid and type are reported.

Functions

Link copied to clipboard
open override fun toString(): String