TransactionDetails class
Represents the details of a transaction.
Constructors
- TransactionDetails({required String orderId, required double grossAmount})
- Creates a new instance of TransactionDetails.
Properties
- grossAmount → double
-
The gross amount of the transaction.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- orderId → String
-
The order ID associated with the transaction.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> - Converts the transaction details to a JSON representation.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited