payment method

  1. @override
Future<String?> payment({
  1. required double value,
  2. required TypeTransactionEnum typeTransaction,
  3. int installment = 1,
  4. 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;
}