Interface CartProvider
- All Known Implementing Classes:
ExternalCartProvider
public interface CartProvider
-
Method Summary
Modifier and TypeMethodDescriptionreadCartItems
(String cartId, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Read the cart items for a cartreadFulfillmentGroups
(String cartId, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Read the fulfillment groups for a cart.
-
Method Details
-
readFulfillmentGroups
List<FulfillmentGroup<FulfillmentItem>> readFulfillmentGroups(String cartId, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Read the fulfillment groups for a cart.- Parameters:
cartId
- The cart IDcontextInfo
- The context- Returns:
- A list of fulfillment groups for a cart.
-
readCartItems
List<CartItem> readCartItems(String cartId, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Read the cart items for a cart- Parameters:
cartId
- The cart IDcontextInfo
- The context- Returns:
- A list of cart items for a cart.
-