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(cardData: SDKTransactionCard, confirmFn: (SDKV1Confirmation.Cancel) -> Unit, confirmJsonFn: (SDKConfirmationJson) -> Unit, rejectFn: () -> Unit, logContextFactory: LogContextFactory) : SDKV1TransactionState.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(cardData: SDKTransactionCard, confirmFn: (SDKV1Confirmation.Refund) -> Unit, confirmJsonFn: (SDKConfirmationJson) -> Unit, rejectFn: () -> Unit, logContextFactory: LogContextFactory) : SDKV1TransactionState.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(cardData: SDKTransactionCard, confirmFn: (SDKV1Confirmation.Sale) -> Unit, confirmJsonFn: (SDKConfirmationJson) -> Unit, rejectFn: () -> Unit, logContextFactory: LogContextFactory) : SDKV1TransactionState.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