Transaction.withRRN constructor

Transaction.withRRN(
  1. String rrn,
  2. DateTime? txnDate, {
  3. TransactionType? type,
})

Create a transaction reference using RRN (for refund, capture, reversal).

Implementation

factory Transaction.withRRN(String rrn, DateTime? txnDate, {TransactionType? type}) => Transaction._(rrn: rrn, txnDate: txnDate, type: type);