Ecommerce Transaction
class EcommerceTransaction(orderId: String, totalValue: Double, items: List<EcommerceTransactionItem>) : AbstractPrimitive
An ecommerce event.
Parameters
order Id
Identifier of the order.
total Value
Total amount of the order.
items
Items purchased.
Constructors
Link copied to clipboard
fun EcommerceTransaction(orderId: String, totalValue: Double, items: List<EcommerceTransactionItem>)
Functions
Link copied to clipboard
Identifies an affiliation.
Link copied to clipboard
Hook method called just before the event processing in order to execute special operations.
Link copied to clipboard
City for shipping.
Link copied to clipboard
Adds a list of contexts.
Link copied to clipboard
Country for shipping.
Link copied to clipboard
Currency used for totalValue and taxValue.
Link copied to clipboard
Hook method called just after the event processing in order to execute special operations.
Link copied to clipboard
Adds a list of contexts.
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.