creditPayment method

Future<bool> creditPayment(
  1. int value, {
  2. String userReference = USER_REFERENCE,
  3. bool printReceipt = true,
  4. bool partialPay = false,
  5. bool isCarne = false,
})

Implementation

Future<bool> creditPayment(int value, {String userReference = USER_REFERENCE, bool printReceipt = true, bool partialPay = false, bool isCarne = false}) async {
  return await channel.invokeMethod(PaymentTypeCall.CREDIT.method, {
    "value": value,
    "userReference": userReference,
    "printReceipt": printReceipt,
    "partialPay": partialPay,
    "isCarne": isCarne,
  });
}