Gmpay class
Methods
-
getMerchantDetails()
→ Future
-
-
initialize({String? key, String? secret, String? packageName, bool? testMode})
→ void
-
initialize the plugin with your public key
-
loadBusiness()
→ Future<(dynamic, ApiResponseMessage?)>
-
-
loadInfo()
→ Future<(dynamic, ApiResponseMessage?)>
-
-
loadPaymentMethods()
→ Future<(dynamic, ApiResponseMessage?)>
-
-
loadWithdrawMethods()
→ Future<(dynamic, ApiResponseMessage?)>
-
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
pay(double? amount, {String? key, String? reference, String? currency})
→ void
-
initialize the payment
-
presentPaymentSheet(dynamic context, {double? amount, String? account, String? reference, bool? waitForConfirmation, dynamic callback(TransactionInfo?)?, dynamic approvalUrlHandler(String?)?, Map<String, dynamic>? metadata})
→ void
-
Presents the payment sheet.
-
presentVerificationSheet(dynamic context, {String? reference, dynamic callback(TransactionInfo?)?})
→ void
-
Presents a verification sheet.
-
presentWithdrawSheet(dynamic context, {double? amount, String? account, String? reference, bool? waitForConfirmation, dynamic callback(TransactionInfo?)?, Map<String, dynamic>? metadata})
→ void
-
Presents a withdrawal sheet.
-
processTransaction(String? module, String? method, Map<String, dynamic> finalData)
→ Future<(dynamic, ApiResponseMessage?)>
-
-
requestOtp(String? module, String? method, Map<String, dynamic> args)
→ Future<(dynamic, ApiResponseMessage?)>
-
-
toString()
→ String
-
A string representation of this object.
inherited
-
verifyTransaction(String? s)
→ Future<TransactionStatus?>
-
-
verifyTransactionAndWait(String reference, dynamic callback(TransactionStatus?))
→ dynamic
-