Builder
Fluent builder for TerminalOptions. Obtain one via TerminalOptions.builder.
Functions
true (the default) to let the terminal make the commit decision automatically for every transaction; false to require an explicit UncommittedTransactionResult.commit/UncommittedTransactionResult.rollback call instead. See "Staged payments" in the README. Applies to every Terminal.startTransaction/Terminal.startTransactionAsync call made by the resulting Terminal - there is no per-request override.
Builds the TerminalOptions. Every field not set explicitly keeps its default.
How long to wait for card insertion or contactless presentation. Defaults to 60 seconds.
How long to wait for card removal after payment. Defaults to 10 seconds.
Number of characters that fit on one line of a printed receipt, used to format Receipt.content. Defaults to 42.
Total budget for a commit/rollback POST and status confirmation, and for Terminal.resume to keep polling Terminal.fetchTransactionStatus while it reports IN_PROGRESS. Defaults to 60 seconds.
Whether to offer the cardholder a tip. Defaults to false.
How long a single payment may take before the SDK gives up waiting. Defaults to 6 minutes.
Whether to offer Dynamic Currency Conversion. Defaults to true.