Interface CartProvider
- All Known Implementing Classes:
ExternalCartProvider
public interface CartProvider
-
Method Summary
Modifier and TypeMethodDescriptionList<com.broadleafcommerce.cart.client.domain.CartItem>
readCartItemsForCart
(String cartItemLink, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Read cart items for a cart with the provided cart item linkList<com.broadleafcommerce.cart.client.domain.FulfillmentGroup>
readFulfillmentGroupsForCart
(String fulfillmentGroupLink, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Read fulfillment groups for a cart with the provided fulfillment group link.
-
Method Details
-
readCartItemsForCart
List<com.broadleafcommerce.cart.client.domain.CartItem> readCartItemsForCart(String cartItemLink, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Read cart items for a cart with the provided cart item link- Parameters:
cartItemLink
- The cart item linkcontextInfo
- The context- Returns:
- A list of cart items
-
readFulfillmentGroupsForCart
List<com.broadleafcommerce.cart.client.domain.FulfillmentGroup> readFulfillmentGroupsForCart(String fulfillmentGroupLink, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Read fulfillment groups for a cart with the provided fulfillment group link.- Parameters:
fulfillmentGroupLink
- The fulfillment group linkcontextInfo
- The context- Returns:
- A list of fulfillment groups
-