MethodChannelWonderPaymentPlugin class
An implementation of WonderPaymentPluginPlatform that uses method channels.
- Inheritance
-
- Object
- PlatformInterface
- WonderPaymentPluginPlatform
- MethodChannelWonderPaymentPlugin
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- methodChannel → MethodChannel
-
The method channel used to interact with the native platform.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
addCard(
Map cardArgs) → Future< Map> -
override
-
getDefaultPaymentMethod(
) → Future< PaymentMethod?> -
override
-
getPaymentConfig(
) → Future< PaymentConfig> -
override
-
getPaymentResult(
String sessionId) → Future< PaymentResult?> -
override
-
getUIConfig(
) → Future< UIConfig> -
override
-
init(
{PaymentConfig? paymentConfig, UIConfig? uiConfig, LogHandler? logHandler}) → Future< bool> -
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
pay(
PaymentIntent intent) → Future< PaymentResult?> -
override
-
present(
PaymentIntent intent) → Future< PaymentResult?> -
override
-
preview(
) → Future -
override
-
select(
{FilterOptions? filterOptions}) → Future< PaymentMethod?> -
override
-
setConfig(
{PaymentConfig? paymentConfig, UIConfig? uiConfig}) → Future< bool> -
override
-
setDefaultPaymentMethod(
PaymentMethod paymentMethod) → Future< bool> -
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited