Sale
class Sale(val cardData: SDKTransactionCard, confirmFn: (SDKConfirmation.Sale) -> Unit, confirmJsonFn: (SDKConfirmationJson) -> Unit, rejectFn: () -> Unit, logContextFactory: LogContextFactory) : SDKTransactionState.ConfirmTransaction
This is the state previous 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, confirmFn: (SDKConfirmation.Sale) -> Unit, confirmJsonFn: (SDKConfirmationJson) -> Unit, rejectFn: () -> Unit, logContextFactory: LogContextFactory)