ProtocolData

data class ProtocolData(val transactionSequenceCounter: Long? = null, val authorizationResponseCode: String? = null, val authorizationCode: String? = null, val terminalID: String? = null, val resultCode: String? = null, val resultMessage: String? = null, val originalTransactionSequenceCounter: Long? = null)

Protocol-specific data associated with a completed transaction.

Constructors

Link copied to clipboard
constructor(transactionSequenceCounter: Long? = null, authorizationResponseCode: String? = null, authorizationCode: String? = null, terminalID: String? = null, resultCode: String? = null, resultMessage: String? = null, originalTransactionSequenceCounter: Long? = null)

Properties

Link copied to clipboard

EP2 authorization code.

Link copied to clipboard

EP2 authorization response code.

Link copied to clipboard

Sequence counter of the original transaction for operations such as reversal, when supplied by the terminal host.

Link copied to clipboard
val resultCode: String? = null

Protocol authorization result code.

Link copied to clipboard
val resultMessage: String? = null

Human-readable authorization result description.

Link copied to clipboard
val terminalID: String? = null

EP2 terminal identifier.

Link copied to clipboard

Sequence counter of the transaction represented by the result. For a reversal result, this is the reversal transaction counter.