Cancel

constructor(merchant: SDKMerchant, establishment: SDKEstablishment, ticketNumber: String, terminalId: String, fallbackEnabled: Boolean, refNumber: String, additionalCardData: SDKAdditionalCardData, parentRefNumber: String, authToken: SDKAuthenticationToken, timeZone: TimeZone, externalData: String? = null, accountType: SDKAccountType? = null, applicationKey: String)

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

refNumber

: Transaction ID. Must be UNIQUE

additionalCardData

: Additional card data (Brand, Type, and CVV)

parentRefNumber

: refNumber of sale to refund

authToken

: The authentication token to be used in this transaction

timeZone

: timeZone for this sale

externalData

: external data to use for the transaction.

accountType

: The account type (CC or CA)

applicationKey

: application key to use for the transaction