hasEncryptedPayload property
bool
get
hasEncryptedPayload
Convenience: did the reader successfully capture an
encrypted payload? True for payloadCapturedOnly and
for every gatewayXxx outcome (the handoff implies a
payload was captured first).
Implementation
bool get hasEncryptedPayload =>
kind == TransactionCoordinatorOutcomeKind.payloadCapturedOnly ||
kind == TransactionCoordinatorOutcomeKind.gatewayApproved ||
kind == TransactionCoordinatorOutcomeKind.gatewayDeclined ||
kind == TransactionCoordinatorOutcomeKind.gatewayPending ||
kind == TransactionCoordinatorOutcomeKind.gatewayFailed;