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
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.
PENDING status will no longer be set. Check UPLOADING and PROCESSING definitions for more information.
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.
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.