CartEvent
Package: com.salesforce.marketingcloud.sfmcsdk.components.events
SDK Version: 11.0.0
Platform: androidJvm
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.
The following classes inherit from CartEvent:
- AddToCartEvent - Represents an event when items are added to the cart
- RemoveFromCartEvent - Represents an event when items are removed from the cart
- ReplaceCartEvent - Represents an event when the cart contents are replaced
A list of line items associated with the cart event.
Type: List<LineItem>
Access: Read-only (val)
A companion object for the CartEvent class.