creditPaymentParc method
Function to invoke method from credit installment payment with SDK the Stone
Implementation
Future<bool> creditPaymentParc({
required int value,
int installment = 1,
bool withInterest = false,
bool printCustomerSlip = true,
bool printEstablishmentSlip = false,
String initiatorTransactionKey = "",
}) async {
return await channel.invokeMethod(
PaymentTypeCall.creditParc.method,
{
"amount": value.toString(),
"installment": installment,
"withInterest": withInterest,
"printCustomerSlip": printCustomerSlip,
"printEstablishmentSlip": printEstablishmentSlip,
"initiatorTransactionKey": initiatorTransactionKey,
},
);
}