Transaction class Null safety

Constructors

Transaction(double amount, String currencyCode, String customerName, String customerEmail, String paymentReference, String paymentDescription, {Map<String, String> metaData = const {}, List<PaymentMethod> paymentMethods = const [], List<SubAccountDetails> incomeSplitConfig = const []})

Properties

amount double
read / write
currencyCode String
read / write
customerEmail String
read / write
customerName String
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
incomeSplitConfig List<SubAccountDetails>
read / write
metaData Map<String, String>
read / write
paymentDescription String
read / write
paymentMethods List<PaymentMethod>
read / write
paymentReference String
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toMap() Map<String, dynamic>
toString() String
A string representation of this object. [...]
inherited

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited