FlutterHyperswitchPlatform class abstract
An abstract class representing the platform interface for Flutter Hyperswitch.
- Inheritance
-
- Object
- PlatformInterface
- FlutterHyperswitchPlatform
- Implementers
Constructors
- FlutterHyperswitchPlatform()
- Constructs a FlutterHyperswitchPlatform.
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
-
confirmWithCustomerDefaultPaymentMethod(
) → Future< Map< String, dynamic> ?> - Presents the payment sheet.
-
confirmWithLastUsedPaymentMethod(
) → Future< Map< String, dynamic> ?> - Confirm with Customer Last Used Payment Methods.
-
getCustomerLastUsedPaymentMethodData(
) → Future< Map< String, dynamic> ?> - Get Customer Last Used Payment Methods.
-
getCustomerSavedPaymentMethodData(
) → Future< Map< String, dynamic> ?> - Presents the payment sheet.
-
getCustomerSavedPaymentMethods(
) → Future< Map< String, dynamic> ?> - Presents the payment sheet.
-
init(
Map< String, dynamic> params) → dynamic -
Initializes the payment sheet with the provided
params
. -
initPaymentSession(
Map< String, dynamic> params) → Future<Map< String, dynamic> ?> -
Initializes the payment sheet with the provided
params
. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
presentPaymentSheet(
) → Future< Map< String, dynamic> ?> - Presents the payment sheet.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- instance ↔ FlutterHyperswitchPlatform
-
The default instance of FlutterHyperswitchPlatform to use.
getter/setter pair