SDKConfirmation

sealed class SDKConfirmation

Deprecated

This class will be removed in the future

Replace with

SDKConfirmationJson

Confirmation object needed to continue the transaction Online

Parameters

merchant

: Data of merchant doing the transaction

establishment

: Data of establishment where transaction is taking place

ticketNumber

: Ticket number, must be a string "number" between '0000' and '9999'

terminalId

: Transaction's TerminalId

fallbackEnabled

: Defines if fallback is enabled for this transaction. Only used on swipe transactions, ignored otherwise

refNumber

: Transaction ID. Must be UNIQUE

authToken

: The authentication token to be used in this transaction

timeZone

: timeZone for this sale

additionalCardData

: Card related card data

externalData

: external data to use for the transaction. Optional. Empty string used if not passed.

accountType

: The account type (CC or CA)

applicationKey

: application key to use for the transaction

Inheritors

Types

Link copied to clipboard
class Cancel(val merchant: SDKMerchant, val establishment: SDKEstablishment, val ticketNumber: String, val terminalId: String, val fallbackEnabled: Boolean, val refNumber: String, val additionalCardData: SDKAdditionalCardData, val parentRefNumber: String, val authToken: SDKAuthenticationToken, val timeZone: TimeZone, val externalData: String? = null, val accountType: SDKAccountType? = null, val applicationKey: String) : SDKConfirmation

Confirmation object needed to continue the CANCEL transaction Online

Link copied to clipboard
class Refund(val merchant: SDKMerchant, val establishment: SDKEstablishment, val ticketNumber: String, val terminalId: String, val fallbackEnabled: Boolean, val refNumber: String, val additionalCardData: SDKAdditionalCardData, val timeZone: TimeZone, val parentRefNumber: String, val authToken: SDKAuthenticationToken, val externalData: String? = null, val accountType: SDKAccountType? = null, val applicationKey: String) : SDKConfirmation

Confirmation object needed to continue the REFUND transaction Online

Link copied to clipboard
class Sale(val merchant: SDKMerchant, val establishment: SDKEstablishment, val ticketNumber: String, val terminalId: String, val fallbackEnabled: Boolean, val refNumber: String, val additionalCardData: SDKAdditionalCardData, val timeZone: TimeZone, val authToken: SDKAuthenticationToken, val installments: Int = 1, val paymentPlan: String? = null, val externalData: String? = null, val updatedAmount: BigDecimal? = null, val accountType: SDKAccountType? = null, val applicationKey: String) : SDKConfirmation

Confirmation object needed to continue the SALE transaction Online

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val externalData: String? = null
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard