PaymentStatus enum

The final state of a Paymob checkout.

Inheritance
Available extensions

Values

successful → const PaymentStatus

The transaction was accepted.

failure → const PaymentStatus

The transaction was rejected, or the SDK could not start.

cancelled → const PaymentStatus

The user closed the checkout before paying.

pending → const PaymentStatus

The transaction is waiting for confirmation (e.g. some wallets / kiosk). Confirm it on your backend through the Paymob webhook.

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<PaymentStatus>
A constant List of the values in this enum, in order of their declaration.