Ecommerce Transaction
class EcommerceTransaction(orderId: String, totalValue: Double, items: List<EcommerceTransactionItem>) : AbstractPrimitive
Deprecated
Use the ecommerce package instead
An ecommerce event.
Parameters
order Id
Identifier of the order.
total Value
Total amount of the order.
items
Items purchased.
Functions
Link copied to clipboard
Identifies an affiliation.
Link copied to clipboard
City for shipping.
Link copied to clipboard
Adds a list of context entities to the existing ones.
Link copied to clipboard
Country for shipping.
Link copied to clipboard
Currency used for totalValue and taxValue.
Link copied to clipboard
Adds a list of context entities to the existing ones.
Link copied to clipboard
Total amount for shipping.
Link copied to clipboard
State for shipping.
Link copied to clipboard
Taxes applied to the purchase.
Link copied to clipboard
Set the custom timestamp of the event.
Properties
Link copied to clipboard
Identifies an affiliation.
Link copied to clipboard
Link copied to clipboard
The payload for the event.
Link copied to clipboard
Link copied to clipboard
Used for events whose properties are added as entities, e.g. Ecommerce events
Link copied to clipboard
The list of Transaction Items passed with the event.
Link copied to clipboard
Total amount of the order.
Link copied to clipboard