Pre Transaction Result
Outcome of the background wait started by Terminal.startPreTransaction/ Terminal.startPreTransactionAsync, retrieved via PreTransactionProgress.getResult (or PreTransactionHandle.getResult on the async side).
Carries the same transactionId the pre-transaction wait was started with, so startTransaction can continue the payment once its amount is known. It returns UncommittedTransactionResult when a commit decision is required, otherwise TransactionResult. Direct calls to Terminal.startTransaction or Terminal.startTransactionAsync are rejected until this pre-transaction is continued with startTransaction or discarded with abort.
Properties
Same PreTransactionRequest.transactionId the pre-transaction wait was started with.
Functions
Same as Terminal.abort - asks the terminal to abort its current work.
LoyaltyData collected during the pre-transaction wait, if any was reported.
Continues with the actual payment now that amount is known, reusing transactionId to correlate it with the pre-transaction wait. Blocks until authorisation or a payment outcome is available. TerminalOptions.autoCommit determines whether a commit decision is required.