TransactionCoordinatorOutcomeKind enum

What kind of outcome the TransactionCoordinator produced.

Distinct from TransactionResultStatus because the coordinator answers a different question: not "what is the gateway's verdict" (that's TransactionResult.status) but "which path did we take to arrive at the terminal state?"

The two enums are deliberately not 1:1:

Wire identifiers are stable; renaming is breaking.

Inheritance
Available extensions

Values

payloadCapturedOnly → const TransactionCoordinatorOutcomeKind

gatewayHandoff was disabled or the SDK is configured for payloadOnly mode. The reader produced an encrypted payload that the POS must forward through its own backend client. The wrapped TransactionResult has status = unknown and the encrypted payload is available on the unified event stream as encryptedPayloadReady.

const TransactionCoordinatorOutcomeKind('payload_captured_only')
gatewayApproved → const TransactionCoordinatorOutcomeKind

gatewayHandoff ran and the backend approved.

const TransactionCoordinatorOutcomeKind('gateway_approved')
gatewayDeclined → const TransactionCoordinatorOutcomeKind

gatewayHandoff ran and the backend declined.

const TransactionCoordinatorOutcomeKind('gateway_declined')
gatewayPending → const TransactionCoordinatorOutcomeKind

gatewayHandoff ran and the backend has not yet made a decision (async authorization). The POS polls via its own backend hooks; the SDK does not poll.

const TransactionCoordinatorOutcomeKind('gateway_pending')
gatewayFailed → const TransactionCoordinatorOutcomeKind

gatewayHandoff ran but the request never produced a gateway verdict (network failure, parse failure, timeout, mis-configuration). TransactionCoordinatorOutcome.gatewayError carries the structured cause.

const TransactionCoordinatorOutcomeKind('gateway_failed')
readerFailed → const TransactionCoordinatorOutcomeKind

The reader / native layer failed (BLE drop, MTSCRA_NOT_WIRED, encrypted payload missing, ...) before any handoff could happen. TransactionCoordinatorOutcome.readerError carries the structured cause.

const TransactionCoordinatorOutcomeKind('reader_failed')
cancelled → const TransactionCoordinatorOutcomeKind

The transaction was cancelled (by the POS or by the reader user).

const TransactionCoordinatorOutcomeKind('cancelled')
timedOut → const TransactionCoordinatorOutcomeKind

The end-to-end coordinator timeout fired.

const TransactionCoordinatorOutcomeKind('timed_out')

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

Constants

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