Transaction constructor

Transaction({
  1. required String amount,
  2. required String currencyCode,
  3. required String customerName,
  4. required String paymentDescription,
  5. required String paymentReference,
  6. required String customerEmail,
  7. required String amountPayable,
  8. required String date,
  9. required String message,
  10. required String method,
  11. required PaymentStatus status,
  12. required String transactionReference,
})

Implementation

Transaction(
    {required this.amount,
    required this.currencyCode,
    required this.customerName,
    required this.paymentDescription,
    required this.paymentReference,
    required this.customerEmail,
    required this.amountPayable,
    required this.date,
    required this.message,
    required this.method,
    required this.status,
    required this.transactionReference});