public interface CartItemProductMapper
Product
and Variant
information into the
CartItem
in addition to the mapping performed in CartItemProductService
.Modifier and Type | Method and Description |
---|---|
void |
mapProductToCartItem(com.broadleafcommerce.cart.client.domain.CartItem cartItem,
Product product,
Variant variant)
Deprecated.
|
void |
mapProductToCartItem(com.broadleafcommerce.cart.client.domain.CartItem cartItem,
Product product,
Variant variant,
com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
|
@Deprecated void mapProductToCartItem(com.broadleafcommerce.cart.client.domain.CartItem cartItem, Product product, @Nullable Variant variant)
mapProductToCartItem(CartItem, Product, Variant, ContextInfo)
cartItem
- the cart item to map information intoproduct
- the product to map information fromvariant
- the variant to map information from, if availablevoid mapProductToCartItem(com.broadleafcommerce.cart.client.domain.CartItem cartItem, Product product, @Nullable Variant variant, @Nullable com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
cartItem
- the cart item to map information intoproduct
- the product to map information fromvariant
- the variant to map information from, if availablecontextInfo
- Context information around sandbox and multitenant stateCopyright © 2021. All rights reserved.