BushaPayCancelled class
The checkout ended without a completed payment.
Inspect reason to tell how it ended. In particular, BushaPayCancelledReason.abandoned does not mean the payment failed — only that the SDK never received a result. Verify server-side.
- Inheritance
-
- Object
- BushaPayResult
- BushaPayCancelled
Constructors
- BushaPayCancelled({BushaPayCancelledReason reason = BushaPayCancelledReason.dismissed, String? paymentId})
-
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- paymentId → String?
-
The payment request ID. Present only when reason is
BushaPayCancelledReason.rejected — the Busha app hands it back so
the merchant can reconcile the rejected request.
final
- reason → BushaPayCancelledReason
-
How the checkout ended. Defaults to BushaPayCancelledReason.dismissed.
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.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited