TransactionResult

abstract class TransactionResult(val type: TransactionResultType, val outcome: RequestOutcome, val receipt: ReceiptResult?, val transactionId: String? = null)

Java-compatible base class for Terminal API transaction results.

Concrete subclasses expose operation-specific data while Java callers can switch on type and outcome without relying on Kotlin sealed-class exhaustiveness.

transactionId is the Terminal API runtime transaction context ID created by the payment app. It is different from the acquirer-created transactionReferenceNumber exposed by completed or reserved transaction data.

Inheritors

Constructors

Link copied to clipboard
constructor(type: TransactionResultType, outcome: RequestOutcome, receipt: ReceiptResult?, transactionId: String? = null)

Properties

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