CheckoutFailure class final

Sanitized reason a Checkout lifecycle operation failed.

Constructors

CheckoutFailure({required String code, required String message, required bool recoverable})
Creates a sanitized Checkout failure.
const
CheckoutFailure.fromJson(Map<Object?, Object?> value)
Parses and validates a safe failure from the native bridge.
factory

Properties

code → String
Stable machine-readable failure code.
final
hashCode → int
The hash code for this object.
no setterinherited
message → String
Customer-safe description of the failure.
final
recoverable → bool
Whether the customer can retry within the current presentation.
final
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