Transaction class

Class for accepting the result of transactions from the platforms

Constructors

Transaction({required String amount, required String currencyCode, required String customerName, required String paymentDescription, required String paymentReference, required String customerEmail, required String amountPayable, required String date, required String message, required String method, required PaymentStatus status, required String transactionReference})
Transaction.fromMap(Map<String, dynamic> map)
This returns an object of this class It takes in a Map map as argument

Properties

amount String
final
amountPayable String
final
currencyCode String
final
customerEmail String
final
customerName String
final
date String
final
hashCode int
The hash code for this object.
no setterinherited
message String
final
method String
final
paymentDescription String
final
paymentReference String
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
status PaymentStatus
final
transactionReference String
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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