pay method

  1. @override
Future<MFGetPaymentStatusResponse> pay(
  1. MFExecutePaymentRequest request,
  2. String lang,
  3. dynamic onInvoiceCreated(
    1. String invoiceId
    ), {
  4. String currency = "",
})
override

Implementation

@override
Future<MFGetPaymentStatusResponse> pay(MFExecutePaymentRequest request,
    String lang, Function(String invoiceId) onInvoiceCreated,
    {String currency = ""}) async {
  return await MFSDK.pay(request, lang, currency, onInvoiceCreated);
}