ConnectApi.AbstractCartItem

A cart item.

This class is abstract.

Superclass of:

Property NameTypeDescriptionAvailable Version
billingFrequencyConnectApi.​BillingFrequencyReserved for future use.59.0
cartDeliveryGroupIdStringID of the cart delivery group.60.0
cartIdStringID of the cart.49.0
cartItemIdStringID of the item.49.0
childProduct​CountIntegerNumber of child products in the cart that are associated with the item. A cart item can have child products if the productClass of the item is Bundle. For nested bundles, which include a child product that’s also a bundle, childProductCount includes all child products.62.0
customFieldsList<SObject>Array of sObjects and viewable custom fields for the sObjects. Standard fields are ignored. Currently, only the CartItem sObject is supported. Field-level security rules from the shopper profile are applied to the custom fields. The rules are applied for registered shoppers and for the guest shopper profile.61.0
isShipping​ChargeNot​ApplicableBooleanSpecifies whether the shipping charge for the cart item is waived (true) or not (false). If the value is true, the cart item is classified as a digital product.64.0
messagesSummaryConnectApi.​CartMessagesSummaryMessages summary for the item.49.0
nameStringName of the item.49.0
parentCart​ItemIdStringID of the item’s parent cart item. The value is empty if the item is a top-level cart item.62.0
productDetailsConnectApi.​CartItemProductSummary of the product details.49.0
productIdStringID of the product.49.0
productSelling​ModelIdStringReserved for future use.59.0
promotion​DisplayNameStringPromotion display name for a bonus product.64.0
quantityStringQuantity of the item.49.0
sellingModelTypeConnectApi.​SellingModelTypeReserved for future use.60.0
subTypeConnectApi.​CartItemSubTypeSubtype of item in a cart. Values are:
  • Bonus—A bonus product.
  • Gift—A gift product.
64.0
subscriptionTermIntegerReserved for future use.59.0
typeConnectApi.​CartItemTypeType of item in a cart. Values are:
  • DeliveryCharge
  • Product
49.0

See Also