Interface ItemChoiceConfigurationService

    • Method Detail

      • populateItemChoice

        void populateItemChoice​(com.broadleafcommerce.cart.client.domain.CartItem cartItem,
                                ProductOption option,
                                List<com.broadleafcommerce.cart.client.domain.CartItem> potentialDependentItems)
        Populates item choices in CartItem.getDependentCartItems() and hydrates them with pricing information from ItemChoice and SpecificItemChoice.
        Parameters:
        cartItem - The CartItem on which to populate ItemChoices.
        option - The ProductOption (and its ProductOption.getItemChoice() for the item to populate and hydrate
        potentialDependentItems - The list of dependent cart items to pick from when populating ItemChoice.