PiCart

Package: com.salesforce.marketingcloud.analytics

Platform: androidJvm

A data class representing a shopping cart for analytics tracking. This class implements Parcelable and is used with AnalyticsManager.trackCartContents or as the cart value for PiOrder.cart.

Creates a new PiCart instance.

Parameters:

  • cartItems: List of PiCartItem objects representing items in the cart

The list of items contained in this shopping cart. Each item is represented as a PiCartItem object.