Interface CartProvider

    • Method Detail

      • 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 ID
        contextInfo - 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 ID
        contextInfo - The context
        Returns:
        A list of cart items for a cart.