Transaction constructor

Transaction(
  1. double amount,
  2. String currencyCode,
  3. String customerName,
  4. String customerEmail,
  5. String paymentReference,
  6. String paymentDescription, {
  7. Map<String, String> metaData = const {},
  8. List<PaymentMethod> paymentMethods = const [],
  9. List<SubAccountDetails> incomeSplitConfig = const [],
})

Implementation

Transaction(this.amount, this.currencyCode, this.customerName,
    this.customerEmail, this.paymentReference, this.paymentDescription,
    {this.metaData = const {},
    this.paymentMethods = const [],
    this.incomeSplitConfig = const []});