PiCartItem
Package: com.salesforce.marketingcloud.analytics
SDK Version: 11.0.0
A data class representing a cart content item, designed to be used as part of PiCart.cartItems.
Creates a PiCartItem with all parameters including an optional unique identifier.
Parameters:
item- The item name or identifierquantity- The quantity of this itemprice- The price of the itemuniqueId- Optional unique identifier for the item
Creates a PiCartItem without a unique identifier (uniqueId will be null).
Parameters:
item- The item name or identifierquantity- The quantity of this itemprice- The price of the item
The item name or identifier.
The quantity of this item in the cart.
The price of the item.
Optional unique identifier for the cart item.
Implements android.os.Parcelable for Android parcelization support.