Pre Transaction Call
class PreTransactionCall
Fluent, lambda-friendly builder passed into the configurer of Terminal.startPreTransactionAsync - mirrors TransactionCall, but for the background wait started ahead of a transaction instead of the transaction itself.
terminal.startPreTransactionAsync(request, on -> on
.onResult(result -> System.out.println("pre-transaction result: " + result))
.onException(error -> System.err.println("pre-transaction failed: " + error.getMessage())));Content copied to clipboard
Functions
Link copied to clipboard
Fired if the background wait fails.
Link copied to clipboard
Fired once the background wait completes - result never null, see PreTransactionResult.getLoyaltyData.