SimulatorConfiguration

data class SimulatorConfiguration(val update: SimulateReaderUpdate = UPDATE_AVAILABLE, val simulatedCard: SimulatedCard = SimulatedCard(DEFAULT_CARD_NUMBER), val simulatedTipAmount: Long? = null)

A configuration object that can be set on the main Terminal class. It's setting will dictate the behavior you see on your next connection to a simulated reader.

Constructors

Link copied to clipboard
constructor(update: SimulateReaderUpdate = UPDATE_AVAILABLE, simulatedCard: SimulatedCard = SimulatedCard(DEFAULT_CARD_NUMBER), simulatedTipAmount: Long? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The card that should be used for all interactions with a simulated reader.

Link copied to clipboard

The simulated fixed tip amount selected by the customer.

Link copied to clipboard

The type of update that should be simulated on the next connection to a simulated reader.