Result enum

Enum representing different possible results of a payment.

Inheritance
Available extensions

Values

succeeded → const Result

Payment succeeded.

failed → const Result

Payment failed.

cancelled → const Result

Payment was cancelled.

processing → const Result

Payment is in processing state.

requiresCustomerAction → const Result

Payment requires action from the customer.

requiresMerchantAction → const Result

Payment requires action from the merchant.

requiresPaymentMethod → const Result

Payment requires a payment method.

requiresConfirmation → const Result

Payment requires confirmation.

requiresCapture → const Result

Payment requires capture.

partiallyCaptured → const Result

Payment was partially captured.

partiallyCapturedAndCapturable → const Result

Payment was partially captured and can still be captured.

error → const Result

Payment resulted in an error.

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

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

Constants

values → const List<Result>
A constant List of the values in this enum, in order of their declaration.