Uses of Class
com.broadleafcommerce.cartoperation.domain.Variant
Package
Description
-
Uses of Variant in com.broadleafcommerce.cartoperation.domain
Modifier and TypeMethodDescriptionIncludedProduct.getVariant()
This field contains the specified variant if thetype
isIncludedProductType.VARIANT
.SpecificItemChoice.getVariant()
If theSpecificItemChoice.type
isSpecificItemChoiceType.VARIANT
this holds the variant for this choiceModifier and TypeMethodDescriptionvoid
IncludedProduct.setVariant
(Variant variant) This field contains the specified variant if thetype
isIncludedProductType.VARIANT
.void
SpecificItemChoice.setVariant
(Variant variant) If theSpecificItemChoice.type
isSpecificItemChoiceType.VARIANT
this holds the variant for this choiceModifier and TypeMethodDescriptionvoid
Product.setVariants
(List<Variant> variants) AllVariants
for this product. -
Uses of Variant in com.broadleafcommerce.cartoperation.service.mapping
Modifier and TypeMethodDescriptionBroadleafProductService.determineVariant
(com.broadleafcommerce.cart.client.domain.CartItem cartItem, P product) Attempt to determine the variant by the requested variant ID on theCartItem
.DefaultBroadleafProductService.determineVariant
(@NonNull com.broadleafcommerce.cart.client.domain.CartItem cartItem, P product) Modifier and TypeMethodDescriptionprotected com.broadleafcommerce.cart.client.domain.ImageAssetRef
DefaultCartItemCatalogInformationService.getImageAssetForVariant
(@NonNull Variant variant, P product) void
CartItemProductMapper.mapProductToCartItem
(com.broadleafcommerce.cart.client.domain.CartItem cartItem, Product product, Variant variant) Deprecated.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
DataDrivenCartItemProductMapper.mapProductToCartItem
(com.broadleafcommerce.cart.client.domain.CartItem cartItem, Product product, Variant variant) void
PropertyDrivenCartItemProductMapper.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
(com.broadleafcommerce.cart.client.domain.CartItem cartItem, Product product, Variant variant) protected void
DefaultCartItemCatalogInformationService.populateVariantInformation
(@NonNull com.broadleafcommerce.cart.client.domain.CartItem cartItem, @NonNull Variant variant, @NonNull Map<String, com.broadleafcommerce.pricing.client.domain.PriceInfo> skuPriceInfos)
CartItemProductMapper.mapProductToCartItem(CartItem, Product, Variant, ContextInfo)