TransactionStatus enum
The lifecycle state of a transaction, as reported in Model.Status.
Values
- awaitingAuthentication → const TransactionStatus
-
The payment is waiting for the cardholder to pass 3-D Secure.
const TransactionStatus('AwaitingAuthentication') -
The funds are held but not yet captured — the result of a two-stage
auth. Capture withconfirm, release withvoid.const TransactionStatus('Authorized') - completed → const TransactionStatus
-
The funds have been captured. This is the terminal success state.
const TransactionStatus('Completed') - cancelled → const TransactionStatus
-
The authorisation was released without capture.
const TransactionStatus('Cancelled') - declined → const TransactionStatus
-
The issuer or CloudPayments refused the payment.
const TransactionStatus('Declined') - unknown → const TransactionStatus
-
A status this package does not know about. Read Transaction.rawStatus for the original string.
const TransactionStatus('Unknown')
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- name → String
-
Available on Enum, provided by the EnumName extension
The name of the enum value.no setter - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- wireName → String
-
The exact string CloudPayments sends in
Model.Status.final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
fromWireName(
String? name) → TransactionStatus -
Parses
Model.Status, case-insensitively.
Constants
-
values
→ const List<
TransactionStatus> - A constant List of the values in this enum, in order of their declaration.