public interface CartItemProductService
Modifier and Type | Method and Description |
---|---|
com.broadleafcommerce.cart.client.domain.CartItem |
populateProductInformation(com.broadleafcommerce.cart.client.domain.CartItem cartItem,
Product product,
List<Product> productList,
boolean isAdd)
|
com.broadleafcommerce.cart.client.domain.CartItem |
populateProductInformation(com.broadleafcommerce.cart.client.domain.CartItem cartItem,
Product product,
List<Product> productList,
boolean isAdd,
com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
Populate product information within the
CartItem based on the provided
product and the merchandising context |
@Deprecated com.broadleafcommerce.cart.client.domain.CartItem populateProductInformation(com.broadleafcommerce.cart.client.domain.CartItem cartItem, Product product, List<Product> productList, boolean isAdd)
CartItem
based on the provided
productcartItem
- The CartItem that is to be updated with product dataproduct
- The product that this CartItem is intended to representproductList
- The products that were retrieved for the add-to-cart, including dependent
item productsisAdd
- Whether we are in an add-to-cart flowcom.broadleafcommerce.cart.client.domain.CartItem populateProductInformation(com.broadleafcommerce.cart.client.domain.CartItem cartItem, Product product, List<Product> productList, boolean isAdd, @Nullable com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
CartItem
based on the provided
product and the merchandising contextcartItem
- The CartItem that is to be updated with product dataproduct
- The product that this CartItem is intended to representproductList
- The products that were retrieved for the add-to-cart, including dependent
item productsisAdd
- Whether we are in an add-to-cart flowcontextInfo
- Context information around sandbox and multitenant stateCopyright © 2021. All rights reserved.