Uses of Class
com.broadleafcommerce.cartoperation.domain.Variant
-
Packages that use Variant Package Description com.broadleafcommerce.cartoperation.domain com.broadleafcommerce.cartoperation.service.configuration com.broadleafcommerce.cartoperation.service.mapping -
-
Uses of Variant in com.broadleafcommerce.cartoperation.domain
Methods in com.broadleafcommerce.cartoperation.domain that return Variant Modifier and Type Method Description Variant
IncludedProduct. getVariant()
This field contains the specified variant if thetype
isIncludedProductType.VARIANT
.Variant
SpecificItemChoice. getVariant()
If theSpecificItemChoice.type
isSpecificItemChoiceType.VARIANT
this holds the variant for this choiceMethods in com.broadleafcommerce.cartoperation.domain that return types with arguments of type Variant Modifier and Type Method Description List<Variant>
Product. getVariants()
AllVariants
for this product.Methods in com.broadleafcommerce.cartoperation.domain with parameters of type Variant Modifier and Type Method Description void
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 choiceMethod parameters in com.broadleafcommerce.cartoperation.domain with type arguments of type Variant Modifier and Type Method Description void
Product. setVariants(List<Variant> variants)
AllVariants
for this product. -
Uses of Variant in com.broadleafcommerce.cartoperation.service.configuration
Methods in com.broadleafcommerce.cartoperation.service.configuration that return Variant Modifier and Type Method 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 theCartItem
.Variant
DefaultCartItemConfigurationService. determineVariant(@NonNull com.broadleafcommerce.cart.client.domain.CartItem cartItem, @NonNull Product product)
-
Uses of Variant in com.broadleafcommerce.cartoperation.service.mapping
Methods in com.broadleafcommerce.cartoperation.service.mapping with parameters of type Variant Modifier and Type Method 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
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
DefaultCartItemProductService. populateVariantInformation(@NonNull com.broadleafcommerce.cart.client.domain.CartItem cartItem, @NonNull Variant variant, Map<String,com.broadleafcommerce.pricing.client.domain.PriceInfo> skuPriceInfos)
-