UALCommerce Event
class UALCommerceEvent(val eventType: UALCommerceEvent.EventType, val currency: String?, val cart: Cart?, val transactionData: Transaction?, val iccpTransaction: ICCPTransaction?, val productList: List<Product>, val customAttributes: Map<String, String>)
Represents a commerce event for analytics in the purchase flow.
Parameters
event Type
The type of commerce event.
currency
The currency code, or null if not set.
cart
The Cart associated with the event, or null.
transaction Data
The Transaction data, or null.
iccp Transaction
The ICCPTransaction data, or null.
product List
List of Product in the event.
custom Attributes
Map of custom attributes for analytics.
Constructors
Link copied to clipboard
constructor(eventType: UALCommerceEvent.EventType, currency: String?, cart: Cart?, transactionData: Transaction?, iccpTransaction: ICCPTransaction?, productList: List<Product>, customAttributes: Map<String, String>)