ConfirmTransaction

ConfirmTransaction SuperClass for different transaction types. Can be one of Sale, Refund, Cancel

Parameters

cardData

Data of the card to confirm

Inheritors

Types

Link copied to clipboard
class Cancel(val cardData: SDKTransactionCard, confirmFn: (SDKConfirmation.Cancel) -> Unit, confirmJsonFn: (SDKConfirmationJson) -> Unit, rejectFn: () -> Unit, logContextFactory: LogContextFactory) : SDKTransactionState.ConfirmTransaction

This is the state previous going online for a CANCEL 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

Link copied to clipboard
class Refund(val cardData: SDKTransactionCard, confirmFn: (SDKConfirmation.Refund) -> Unit, confirmJsonFn: (SDKConfirmationJson) -> Unit, rejectFn: () -> Unit, logContextFactory: LogContextFactory) : SDKTransactionState.ConfirmTransaction

This is the state previous going online for a REFUND 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

Link copied to clipboard
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

Properties

Link copied to clipboard