PaymentSheetEvent class final

An application-facing stage in one payment-sheet presentation.

Recoverable failures leave the native sheet open so the customer can retry. Terminal application behavior belongs in the PaymentSheetResult returned by presentPaymentSheet.

Constructors

PaymentSheetEvent({required String flowId, required int sequence, required PaymentSheetEventType type, required DateTime timestamp, String? errorType})
const

Properties

errorType → String?
final
flowId → String
final
hashCode → int
The hash code for this object.
no setterinherited
isRecoverableFailure → bool
Whether the sheet remains open and permits the customer to retry.
no setter
isTerminal → bool
Whether this event represents the end of the sheet presentation.
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
sequence → int
final
timestamp → DateTime
final
type → PaymentSheetEventType
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