CardScanResult

data class CardScanResult(val cardNumber: String, val expiryDate: CardDate, val owner: String?, val cvv: String?)

The card a successful EngineStepType.CardScan step read, in full: the masking the backend asks for applies only to what Engine sends it. Delivered as StepOutput.CardScan on the first StepResult showing the backend took the card; there is no separate listener.

Constructors

Link copied to clipboard
constructor(cardNumber: String, expiryDate: CardDate, owner: String?, cvv: String?)

Properties

Link copied to clipboard
Link copied to clipboard
val cvv: String?
Link copied to clipboard
Link copied to clipboard

Functions

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

Keeps only the last four digits and hides the owner and CVV, so a logged result never leaks the card.