TransactionStatus

Current outcome of a transaction, as reported by Terminal.fetchTransactionStatus.

A transaction id the terminal service has no record of is reported as an TerminalException with httpStatus == 404, not as a value of this enum.

Entries

Link copied to clipboard

A pre-transaction wait (see Terminal.startPreTransaction) started under this id is still running.

Link copied to clipboard

Still ongoing (e.g. waiting for card interaction, online authorisation, or a reversal).

Link copied to clipboard

Approved, but the terminal is still waiting for a commit decision (two-phase flow, autoCommit = false) - unlike the other values, this still requires action from the ECR. Use Terminal.resume to get back an UncommittedTransactionResult and call UncommittedTransactionResult.commit/ UncommittedTransactionResult.rollback on it.

Link copied to clipboard

Approved as a reservation, awaiting the final completion/online-advice call.

Link copied to clipboard

Approved (online or offline, immediately or via a reservation) and fully concluded - cannot change state anymore without a new operation.

Link copied to clipboard

Not completed - declined by the card/host, or aborted by the cardholder/ECR/exception handling.

Link copied to clipboard

The transaction has been reversed.

Link copied to clipboard

The terminal service reported a status this SDK version does not know yet.

Properties

Link copied to clipboard

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.