MonnifyFlutter class

Constructors

MonnifyFlutter()

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

initializeMonnify({required String apiKey, required String contractCode, required ApplicationMode applicationMode}) Future<String?>
initializeMonnify calls the platforms APIs to initialise Monnify arguments apiKey, contractCode, applicationMode are required for this method to function. It returns a String or null
makePayment({required String amount, required String currencyCode, required String customerName, required String customerEmail, required String customerPhoneNumber, required String paymentReference, required String paymentDescription, required PaymentMethod paymentMethod}) Future<Transaction>
makePayment sends request to the respective platforms to make payment Arguments String amount, currencyCode, customerName, customerEmail, paymentReference, paymentDescription, and paymentMethod are required for the method to work seamlessly customerPhoneNumber is the only param that is not required
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

Static Properties

instance MonnifyFlutter
Instance that is exposed to client
no setter