payNow static method

Future<String?> payNow(
  1. double discountedProductAmount,
  2. double taxAmount,
  3. double shippingAmount,
  4. double addedShippingAmount,
  5. double addedBillingAmount,
  6. String currency,
  7. String merchantID,
  8. String merchantName,
  9. String orderNumber, {
  10. bool isTest = false,
})

Implementation

static Future<String?> payNow(
    double discountedProductAmount,
    double taxAmount,
    double shippingAmount,
    double addedShippingAmount,
    double addedBillingAmount,
    String currency,
    String merchantID,
    String merchantName,
    String orderNumber,
    {bool isTest = false}) async {
  String result = await _channel.invokeMethod('payNow', {
    "ProductAmount": discountedProductAmount,
    "TaxAmount": taxAmount,
    "ShippingAmount": shippingAmount,
    "AddedShippingAmount": addedShippingAmount,
    "AddedBillingAmount": addedBillingAmount,
    "currency": currency,
    "merchantID": merchantID,
    "merchantName": merchantName,
    "orderNumber": orderNumber,
    "testMode": isTest,
  });
  return result;
}