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