Sale
class Sale(val cardData: SDKTransactionCard, confirmJsonFn: (SDKConfirmationJson) -> Unit, rejectFn: () -> Unit, logContextFactory: LogContextFactory) : SDKV2TransactionState.ConfirmTransaction
This is the state previous to going online for a SALE Transaction, being cardData the SDKTransactionCard that will be sent. SDKTransactionIntent will be at this after a card was successfully read, and it's the last state when the SDKTransactionIntent can be aborted. This state is abortable.
Parameters
cardData
Data of the card to confirm
Constructors
Link copied to clipboard
constructor(cardData: SDKTransactionCard, confirmJsonFn: (SDKConfirmationJson) -> Unit, rejectFn: () -> Unit, logContextFactory: LogContextFactory)