creditPaymentParc method

Future<bool> creditPaymentParc(
  1. int value,
  2. int parc, {
  3. PaymentTypeCredit type = PaymentTypeCredit.CLIENT,
  4. String userReference = USER_REFERENCE,
  5. bool printReceipt = true,
  6. bool partialPay = false,
  7. bool isCarne = false,
})

Implementation

Future<bool> creditPaymentParc(int value, int parc, {PaymentTypeCredit type = PaymentTypeCredit.CLIENT, String userReference = USER_REFERENCE, bool printReceipt = true, bool partialPay = false, bool isCarne = false}) async {
  return await channel.invokeMethod(PaymentTypeCall.CREDIT_PARC.method, {
    "value": value,
    "parc": parc,
    "type": type.value,
    "userReference": userReference,
    "printReceipt": printReceipt,
    "partialPay": partialPay,
    "isCarne": isCarne,
  });
}