Transaction class

Inheritance

Constructors

Transaction({required String transactionId, required String affiliation, double? revenue, String? couponCode, double? tax, String? currency, int? itemCount, String? paymentMethod, double? shipping, String? shippingMethod})

Properties

affiliation String
Transaction name. Name of the goal in the reporting.
getter/setter pair
anonymousId String?
getter/setter pairinherited
bodyTrack Map<String, Object>
no setteroverride
clientId String
getter/setter pairinherited
communBodyTrack Map<String, Object>
no setterinherited
couponCode String?
Specifies the coupon code used by the customer for the transaction.
getter/setter pair
currency String?
Specifies the currency used for all transaction currency values. Value should be a valid ISO 4217 currency code.
getter/setter pair
dataSource String
getter/setter pairinherited
hashCode int
The hash code for this object.
no setterinherited
itemCount int?
Specifies the number of items for the transaction.
getter/setter pair
paymentMethod String?
Specifies the payment method for the transaction.
getter/setter pair
revenue double?
Total revenue associated with the transaction. This value should include any shipping or tax costs
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
screenColorDepth String?
Screen Color Depth
getter/setter pairinherited
screenResolution String?
Screen Resolution
getter/setter pairinherited
sessionNumber int?
Session Number
getter/setter pairinherited
shipping double?
Specifies the total shipping cost of the transaction.
getter/setter pair
shippingMethod String?
Specifies the shipping method of the transaction.
getter/setter pair
tax double?
Specifies the total taxes of the transaction.
getter/setter pair
transactionId String
Transaction unique identifier.
getter/setter pair
type Type
getter/setter pairinherited
typeOfEvent String
no setterinherited
userIp String?
User Ip
getter/setter pairinherited
userLanguage String?
User Language
getter/setter pairinherited
visitorId String
getter/setter pairinherited

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