Package-level declarations

Types

Link copied to clipboard

An E-commerce event for when a user adds a item to their shopping cart.

Link copied to clipboard

An E-commerce event for when a user cancels an order.

Link copied to clipboard
sealed class CartEvent : EngagementEvent
Link copied to clipboard
Link copied to clipboard
class CatalogObject @JvmOverloads constructor(val type: String, val id: String, val attributes: Map<String, Any> = mapOf(), val relatedCatalogObjects: Map<String, List<String>> = mapOf())

A catalog object that represents various items that can be tracked. For example, a product, a blog post, and so on.

Link copied to clipboard

An event to capture when a user comments on a catalog object.

Link copied to clipboard

An E-commerce event to manage details of an order delivery.

Link copied to clipboard
sealed class EngagementEvent : Event
Link copied to clipboard
abstract class Event
Link copied to clipboard

Class which helps in creating a EventManager for each module . This is initialised when SFMCSdk.configure is called

Link copied to clipboard

An E-commerce event to manage details of exchanging an order.

Link copied to clipboard

An event to capture when a user marks a catalog object as a favorite.

Link copied to clipboard
data class LineItem @JvmOverloads constructor(val catalogObjectType: String, val catalogObjectId: String, val quantity: Int, var price: Double? = null, var currency: String? = null, var attributes: Map<String, Any> = mapOf())

Line items are intended to describe purchasable items for Cart & Order events.

Link copied to clipboard
data class Order @JvmOverloads constructor(val id: String, val lineItems: List<LineItem> = listOf(), val totalValue: Double? = null, val currency: String? = null, val attributes: Map<String, Any> = mapOf())
Link copied to clipboard
Link copied to clipboard

An E-commerce event for when a user places a preorder.

Link copied to clipboard

An E-commerce event for when a user makes a purchase.

Link copied to clipboard

An event to capture when a user performs a quick view of a catalog object.

Link copied to clipboard

An E-commerce event for when a user removes a item to their shopping cart.

Link copied to clipboard

An E-commerce event for when a user replaces their shopping cart with a list of items.

Link copied to clipboard

An E-commerce event to manage details of returning an order.

Link copied to clipboard

An event to capture when a user reviews a catalog object.

Link copied to clipboard

An event to capture when a user shares a catalog object.

Link copied to clipboard

An E-commerce event to manage details of an order shipment.

Link copied to clipboard

An event to capture when a user views the details of a catalog object.

Link copied to clipboard

An event to capture when a user views a catalog object.