MethodChannelMonnifyFlutter class
An implementation of MonnifyFlutterPlatform that uses method channels.
- Inheritance
-
- Object
- PlatformInterface
- MonnifyFlutterPlatform
- MethodChannelMonnifyFlutter
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
-
initializeMonnify(
{required String apiKey, required String contractCode, required ApplicationMode appMode}) → Future< String?> -
Initialise the gateway
override
-
makePayment(
{required String amount, required String currencyCode, required String customerName, required String customerEmail, String? customerPhoneNumber, required String paymentReference, required String paymentDescription, required PaymentMethod paymentMethod}) → Future< Map< String, dynamic> > -
Make payment
override
-
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