All Known Implementing Classes:
ExternalCartProvider

public interface CartProvider
  • Method Summary

    Modifier and Type
    Method
    Description
    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
    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.
  • 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 link
      contextInfo - 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 link
      contextInfo - The context
      Returns:
      A list of fulfillment groups