SimulatedCard

data class SimulatedCard

A SimulatedCard contains all information necessary to simulate the experience of paying with specific card brands / error conditions.

Constructors

Link copied to clipboard
fun SimulatedCard(cardType: SimulatedCardType)

Create a SimulatedCard object from one of the preconfigured SimulatedCardTypes.

Link copied to clipboard
fun SimulatedCard(testCardNumber: String)

Create a SimulatedCard object from a custom test card number.

Functions

Link copied to clipboard
fun emvForSimulatedCard(computedPriority: List<RoutingPriority>, isScaRecollection: Boolean): EmvBlob

Generate an EMV Blob for the current simulated card.

Properties

Link copied to clipboard
val emvBlob: EmvBlob