EcommerceTransactionItem

Deprecated

Use the ecommerce package instead

An ecommerce item event.

Parameters

sku

Stock Keeping Unit of the item.

price

Price of the item.

quantity

Quantity of the item.

Constructors

Link copied to clipboard
constructor(sku: String, price: Double, quantity: Int)

Functions

Link copied to clipboard

Category of the item.

Link copied to clipboard

Adds a list of context entities to the existing ones.

Link copied to clipboard

Currency used for the price of the item.

Link copied to clipboard

Adds a list of context entities to the existing ones.

Link copied to clipboard

Name of the item.

Link copied to clipboard

OrderID of the order that contains this item.

Link copied to clipboard
fun trueTimestamp(trueTimestamp: Long?): AbstractEvent

Set the custom timestamp of the event.

Properties

Link copied to clipboard

Category of the item.

Link copied to clipboard
open override var contexts: List<SelfDescribingJson>
Link copied to clipboard

Currency used for the price of the item.

Link copied to clipboard
open override val dataPayload: Map<String, Any?>

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

Name of the item.

Link copied to clipboard
open override val name: String
Link copied to clipboard

OrderID of the order that contains this item.

Link copied to clipboard

Price of the item.

Link copied to clipboard

Quantity of the item.

Link copied to clipboard
val sku: String

Stock Keeping Unit of the item.

Link copied to clipboard
open override var trueTimestamp: Long?