Refund
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
Deprecated
This class will be removed in the future
Replace with
SDKConfirmationJson.RefundContent copied to clipboard
Confirmation object needed to continue the REFUND 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)
timeZone
: timeZone for this sale
parentRefNumber
: refNumber of sale to refund
authToken
: The authentication token to be used in this transaction
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, timeZone: TimeZone, parentRefNumber: String, authToken: SDKAuthenticationToken, externalData: String? = null, accountType: SDKAccountType? = null, applicationKey: String)