Transaction Status
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
A pre-transaction wait (see Terminal.startPreTransaction) started under this id is still running.
Still ongoing (e.g. waiting for card interaction, online authorisation, or a reversal).
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.
Approved as a reservation, awaiting the final completion/online-advice call.
Properties
Functions
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.)
Returns an array containing the constants of this enum type, in the order they're declared.