TransactionData class

Represents details collected when the visitor performs a transaction on the page.

Constructors

TransactionData({String? transactionId, double? transactionRevenue, double? transactionShipping, double? transactionTax})
TransactionData.fromJson(Map json_)

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
transactionId String?
The transaction ID, supplied by the e-commerce tracking method, for the purchase in the shopping cart.
getter/setter pair
transactionRevenue double?
The total sale revenue (excluding shipping and tax) of the transaction.
getter/setter pair
transactionShipping double?
Total cost of shipping.
getter/setter pair
transactionTax double?
Total tax for the transaction.
getter/setter pair

Methods

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

Operators

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