CartEvent

Package: com.salesforce.marketingcloud.sfmcsdk.components.events

SDK Version: 11.0.0

Platform: androidJvm

Overview 

CartEvent is a sealed class representing cart-related events in the Salesforce Marketing Cloud SDK. It inherits from EngagementEvent and serves as the base class for various cart operations.

Declaration 

1sealed class CartEvent : EngagementEvent

Inheritance Hierarchy 

1EngagementEvent
2    ↳ CartEvent

Inheritors 

The following classes inherit from CartEvent:

Properties 

lineItems 

1val lineItems: List<LineItem>

A list of line items associated with the cart event.

Type: List<LineItem>

Access: Read-only (val)

Nested Types 

Companion 

1object Companion

A companion object for the CartEvent class.