Transaction.withRRN constructor
Transaction.withRRN(
- String rrn,
- DateTime? txnDate, {
- TransactionType? type = TransactionType.PURCHASE,
Create a transaction reference using RRN (for refund, capture, reversal).
Implementation
factory Transaction.withRRN(String rrn, DateTime? txnDate, {TransactionType? type = TransactionType.PURCHASE}) => Transaction._(rrn: rrn, txnDate: txnDate, type: type);