EcommerceTransaction

Deprecated

Use the ecommerce package instead

An ecommerce event.

Parameters

orderId

Identifier of the order.

totalValue

Total amount of the order.

items

Items purchased.

Constructors

Link copied to clipboard
constructor(orderId: String, totalValue: Double, items: List<EcommerceTransactionItem>)

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
fun trueTimestamp(trueTimestamp: Long?): AbstractEvent

Set the custom timestamp of the event.

Properties

Link copied to clipboard

Identifies an affiliation.

Link copied to clipboard
var city: String?

City for shipping.

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

Country for shipping.

Link copied to clipboard

Currency used for totalValue and taxValue.

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

The list of Transaction Items passed with the event.

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

Identifier of the order.

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

Total amount of the order.

Link copied to clipboard
open override var trueTimestamp: Long?