CheckBalanceParams
data class CheckBalanceParams( val forageVaultElement: ForageVaultElement<ElementState>, val interaction: CardholderInteraction)
A model that represents the parameters that Forage requires to check a card's balance. CheckBalanceParams are passed to the checkBalance method.
Constructors
Link copied to clipboard
constructor(forageVaultElement: ForageVaultElement<ElementState>, interaction: CardholderInteraction)
Properties
Link copied to clipboard
A reference to a ForageVaultElement instance (either a ForagePINEditText or a ForagePinPad).
Link copied to clipboard
Represents the method of interaction between the cardholder and the terminal. This includes key card details such as PAN (Primary Account Number) and Track 2 data. Use the appropriate implementation of CardholderInteraction based on how the card information is obtained.
For example:
- ManualEntryInteraction: Use when the card details are entered manually.
- MagSwipeInteraction: Use when the card is swiped using the magnetic stripe reader.