| Package | Description | 
|---|---|
| com.broadleafcommerce.cartoperation.domain | |
| com.broadleafcommerce.cartoperation.service.configuration | |
| com.broadleafcommerce.cartoperation.service.mapping | 
| Modifier and Type | Method and Description | 
|---|---|
Variant | 
IncludedProduct.getVariant()
This field contains the specified variant if the  
type is
 IncludedProductType.VARIANT. | 
Variant | 
SpecificItemChoice.getVariant()
If the  
SpecificItemChoice.type is SpecificItemChoiceType.VARIANT this holds the variant for
 this choice | 
| Modifier and Type | Method and Description | 
|---|---|
List<Variant> | 
Product.getVariants()
All  
Variants for this product. | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
IncludedProduct.setVariant(Variant variant)
This field contains the specified variant if the  
type is
 IncludedProductType.VARIANT. | 
void | 
SpecificItemChoice.setVariant(Variant variant)
If the  
SpecificItemChoice.type is SpecificItemChoiceType.VARIANT this holds the variant for
 this choice | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
Product.setVariants(List<Variant> variants)
All  
Variants for this product. | 
| Modifier and Type | Method and Description | 
|---|---|
Variant | 
CartItemConfigurationService.determineVariant(@NonNull com.broadleafcommerce.cart.client.domain.CartItem cartItem,
                @NonNull Product product)
Attempt to determine the variant by the requested variant ID on the  
CartItem. | 
Variant | 
DefaultCartItemConfigurationService.determineVariant(@NonNull com.broadleafcommerce.cart.client.domain.CartItem cartItem,
                @NonNull Product product)  | 
| Modifier and Type | Method and Description | 
|---|---|
protected com.broadleafcommerce.cart.client.domain.ImageAssetRef | 
DefaultCartItemProductService.getImageAssetForVariant(@NonNull Variant variant,
                       @NonNull Product product)  | 
void | 
CartItemProductMapper.mapProductToCartItem(com.broadleafcommerce.cart.client.domain.CartItem cartItem,
                    Product product,
                    Variant variant)
 | 
void | 
DataDrivenCartItemProductMapper.mapProductToCartItem(com.broadleafcommerce.cart.client.domain.CartItem cartItem,
                    Product product,
                    Variant variant)  | 
void | 
PropertyDrivenCartItemProductMapper.mapProductToCartItem(com.broadleafcommerce.cart.client.domain.CartItem cartItem,
                    Product product,
                    Variant variant)  | 
void | 
CartItemProductMapper.mapProductToCartItem(com.broadleafcommerce.cart.client.domain.CartItem cartItem,
                    Product product,
                    Variant variant,
                    com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
 | 
void | 
DataDrivenCartItemProductMapper.mapProductToCartItem(@NonNull com.broadleafcommerce.cart.client.domain.CartItem cartItem,
                    @NonNull Product product,
                    Variant variant,
                    com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)  | 
void | 
PropertyDrivenCartItemProductMapper.mapProductToCartItem(@NonNull com.broadleafcommerce.cart.client.domain.CartItem cartItem,
                    @NonNull Product product,
                    Variant variant,
                    com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)  | 
protected void | 
DefaultCartItemProductService.populateVariantInformation(@NonNull com.broadleafcommerce.cart.client.domain.CartItem cartItem,
                          @NonNull Variant variant,
                          Map<String,com.broadleafcommerce.pricing.client.domain.PriceInfo> skuPriceInfos)  | 
Copyright © 2021. All rights reserved.