payment method
Future<String?>
payment({
- required double value,
- required TypeTransactionEnum typeTransaction,
- int installment = 1,
- bool? printReceipt,
override
Payment
Implementation
@override
Future<String?> payment({
required double value,
required TypeTransactionEnum typeTransaction,
int installment = 1,
bool? printReceipt,
}) async {
final result = await methodChannel.invokeMethod<String>(
'payment',
<String, dynamic>{
'value': value,
'typeTransaction': typeTransaction.value,
'installment': installment,
'printReceipt': printReceipt,
},
);
return result;
}