Status

Enum representing the status of a Transaction.

Below one can find a simple representation of the status progression flow.

       +-----------+
| UNKNOWN +-------------+
+-----+-----+ |
| |
v |
+-----+-----+ |
+--+ UPLOADING +----------+ |
| ------+-----+ | |
| | | |
| v | |
| +-----+-----+ | |
| |PROCESSING +------+ | |
| +-----+------ | | |
| | | | |
| v v v v
| +-----+-----+ ++---+--++
+->+ COMPLETED | | FAILED |
+-----------+ +--------+

Entries

Link copied to clipboard

Transaction status is not yet known. Transaction in this state will go through local validation and can then move to either UPLOADING or FAILED depending on the result.

Link copied to clipboard

PENDING status will no longer be set. Check UPLOADING and PROCESSING definitions for more information.

Link copied to clipboard

Transaction processing has started, image upload in progress. This status is set immediately after transaction was locally validated. This status will be kept until a response from server is received and can be followed by PROCESSING, COMPLETED, or FAILED status.

Link copied to clipboard

Transaction processing finished image upload, image data extraction in progress. This status will remain the same until a response from the server with a final status (COMPLETED or FAILED) is received.

Link copied to clipboard

Transaction processing has finished successfully. The transaction has been fully processed and data extraction step finished successfully. This is a final status.

Link copied to clipboard

Transaction validation or processing has failed. The transaction process failed at some point during the upload/processing stage. This is a final status.

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
val key: String
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.