PaymentGateway class abstract
Contract that all payment gateways must implement.
A PaymentGateway is responsible for opening a checkout flow (for example, a WebView with the provider’s payment page), and resolving to a PaymentResult indicating success or failure.
- Implementers
Constructors
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
pay(
{required BuildContext context, required int amountSmallestUnit, required String email, String currency = 'NGN', String? reference}) → Future< PaymentResult> - Starts a payment flow and returns a PaymentResult.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited