GatewayHandoffStatus enum

Canonical gateway-handoff outcome, as observed by the SDK.

The wire names are stable. Renaming a value is breaking.

Inheritance
Available extensions

Values

approved → const GatewayHandoffStatus

The backend authoritatively approved the transaction.

const GatewayHandoffStatus('approved')
declined → const GatewayHandoffStatus

The backend authoritatively declined the transaction.

const GatewayHandoffStatus('declined')
pending → const GatewayHandoffStatus

The backend acknowledged the handoff but did not produce a final approval / decline yet (e.g. async processing, pending issuer response). The POS may poll via its own backend hooks; the SDK does not poll.

const GatewayHandoffStatus('pending')
failed → const GatewayHandoffStatus

The handoff itself failed (network, transport, parsing, non-2xx) before the gateway could decide. Distinct from declined, which is a gateway-issued no.

const GatewayHandoffStatus('failed')

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
wire → String
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

fromWire(String? value) → GatewayHandoffStatus

Constants

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