Cancel

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

Deprecated

This class will be removed in the future

Replace with

SDKConfirmationJson.Cancel

Confirmation object needed to continue the CANCEL 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

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

Constructors

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

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