ReceiptHandler class
Handles displaying payment receipts in the Amwal SDK.
Provides methods to show wallet, card, and history receipts using dialogs.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- 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
-
showCardReceipt(
{required BuildContext context, required TransactionDetailsSettings settings}) → Future< void> - Shows the card payment receipt dialog.
-
showHistoryReceipt(
{required BuildContext context, required TransactionDetailsSettings settings}) → Future< void> - Shows the history receipt dialog for previous transactions.
-
showWalletReceipt(
{required BuildContext context, required TransactionDetailsSettings settings}) → Future< void> - Shows the wallet payment receipt dialog.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- instance → ReceiptHandler
-
Returns the singleton instance of ReceiptHandler.
no setter