public interface ItemListAddToCartService
ItemList(s) to the cart| Modifier and Type | Method and Description |
|---|---|
ItemListAddToCartResponse |
addItemListsToCart(com.broadleafcommerce.cart.client.domain.Cart cart,
com.broadleafcommerce.cart.client.domain.CustomerRef customerRef,
Set<String> itemListIds,
com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
Adds all
ItemListItems to the cart from the ItemLists
identified by the provided itemListIds |
ItemListAddToCartResponse |
addItemListToCart(com.broadleafcommerce.cart.client.domain.Cart cart,
com.broadleafcommerce.cart.client.domain.CustomerRef customerRef,
String itemListId,
com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
Adds all
ItemListItems to the cart from the ItemList identified
by the provided itemListId |
ItemListAddToCartResponse addItemListToCart(com.broadleafcommerce.cart.client.domain.Cart cart, com.broadleafcommerce.cart.client.domain.CustomerRef customerRef, String itemListId, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
ItemListItems to the cart from the ItemList identified
by the provided itemListIdcart - The cart that is to be added tocustomerRef - The current customer & owner of the cartitemListId - The id of the ItemList that is to be added to cartcontextInfo - The context of the current requestItemListAddToCartResponse addItemListsToCart(com.broadleafcommerce.cart.client.domain.Cart cart, com.broadleafcommerce.cart.client.domain.CustomerRef customerRef, Set<String> itemListIds, @Nullable com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
ItemListItems to the cart from the ItemLists
identified by the provided itemListIdscart - The cart that is to be added tocustomerRef - The current customer & owner of the cartitemListIds - The ids of the ItemLists that are to be added to cartcontextInfo - The context of the current requestCopyright © 2021. All rights reserved.