BushaPayCancelledReason enum
Why a checkout ended without a completed payment.
Values
- dismissed → const BushaPayCancelledReason
-
The user dismissed the in-app chooser or web checkout sheet — close button, backdrop tap, or drag-to-dismiss.
- rejected → const BushaPayCancelledReason
-
The Busha app reported that the user explicitly rejected the payment. BushaPayCancelled.paymentId carries the payment request ID so you can reconcile server-side.
- abandoned → const BushaPayCancelledReason
-
The user returned to your app from the Busha app without a callback arriving. The payment outcome is unverified — it may still have succeeded. Always reconcile server-side (webhook / status API) before showing the user a final state.
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
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<
BushaPayCancelledReason> - A constant List of the values in this enum, in order of their declaration.