Uses of Class
com.broadleafcommerce.catalog.domain.product.commerce.VariantDetail
Package
Description
-
Uses of VariantDetail in com.broadleafcommerce.catalog.domain.category.commerce
Modifier and TypeMethodDescriptionCategoryDetailsContext.getRelatedVariants()
An aggregation of all of theVariants
related to theCategoryDetailsContext.relatedProducts
.Modifier and TypeMethodDescriptionvoid
CategoryDetailsContext.setRelatedVariants
(Map<String, VariantDetail> relatedVariants) An aggregation of all of theVariants
related to theCategoryDetailsContext.relatedProducts
. -
Uses of VariantDetail in com.broadleafcommerce.catalog.domain.product.commerce
Modifier and TypeMethodDescriptionItemChoiceDetail.getDefaultVariant()
The default variant that can be used when driving customer selections if theItemChoiceDetail.getTargetType()
isDefaultItemChoiceTargetType.SPECIFIC_VARIANTS
.IncludedProductDetail.getVariant()
This field contains the specified variant if theadd-on type
isDefaultItemChoiceTargetType.SPECIFIC_VARIANTS
.SpecificItemChoiceDetail.getVariant()
If theSpecificItemChoiceDetail.getType()
isDefaultSpecificItemChoiceType.VARIANT
this holds the variant for this choiceModifier and TypeMethodDescriptionProductDetailsContext.getRelatedVariants()
An aggregation of all of theVariants
related to theProductDetailsContext.resolvedProduct
.ProductDetails.getVariants()
AllVariants
for this product.ProductSummary.getVariants()
AllVariants
for this product.Modifier and TypeMethodDescriptionvoid
ItemChoiceDetail.setDefaultVariant
(VariantDetail defaultVariant) The default variant that can be used when driving customer selections if theItemChoiceDetail.getTargetType()
isDefaultItemChoiceTargetType.SPECIFIC_VARIANTS
.void
IncludedProductDetail.setVariant
(VariantDetail variant) This field contains the specified variant if theadd-on type
isDefaultItemChoiceTargetType.SPECIFIC_VARIANTS
.void
SpecificItemChoiceDetail.setVariant
(VariantDetail variant) If theSpecificItemChoiceDetail.getType()
isDefaultSpecificItemChoiceType.VARIANT
this holds the variant for this choiceModifier and TypeMethodDescriptionvoid
ProductDetailsContext.setRelatedVariants
(Map<String, VariantDetail> relatedVariants) An aggregation of all of theVariants
related to theProductDetailsContext.resolvedProduct
.void
ProductDetails.setVariants
(List<VariantDetail> variants) AllVariants
for this product.void
ProductSummary.setVariants
(List<VariantDetail> variants) AllVariants
for this product.ModifierConstructorDescriptionIncludedProductDetail
(IncludedProduct includedProduct, ProductDetails product, VariantDetail variant, PriceInfo priceInfo) ItemChoiceDetail
(ItemChoice itemChoice, ItemChoiceCategory category, ProductDetails defaultProductInCategory, ProductDetails defaultProduct, VariantDetail defaultVariant, PriceInfo priceInfo, List<SpecificItemChoiceDetail> specificChoices, SpecificItemChoiceDetail specificItemChoice) SpecificItemChoiceDetail
(SpecificItemChoice specificItemChoice, ProductDetails product, VariantDetail variant, PriceInfo priceInfo, Map<String, SpecificItemVariantPricingDetail> variantPricing) -
Uses of VariantDetail in com.broadleafcommerce.catalog.service.category.commerce.context.consolidator
Modifier and TypeMethodDescriptionprotected void
RelatedVariantsCategoryContextConsolidator.consolidateVariantPriceInfo
(@NonNull Collection<VariantDetail> variants, @NonNull CategoryDetailsContext categoryDetailsContext) -
Uses of VariantDetail in com.broadleafcommerce.catalog.service.product.commerce.context.consolidator
Modifier and TypeMethodDescriptionprotected void
RelatedVariantsProductContextConsolidator.consolidateVariantPriceInfo
(@NonNull Collection<VariantDetail> variants, @NonNull ProductDetailsContext productDetailsContext) -
Uses of VariantDetail in com.broadleafcommerce.catalog.service.product.commerce.contributor
Modifier and TypeMethodDescriptionprotected <C extends ProductDetailsContext>
Map<String,List<VariantDetail>> ProductOptionsProductDetailsContributor.getVariantDetailsByProductId
(@NonNull Collection<C> productDetailsContexts) protected <D extends ProductDetails,
C extends ProductDetailsContext>
List<VariantDetail>VariantsProductDetailsContributor.getVariantsForProduct
(D productDetails, @NonNull Collection<C> productDetailsContexts) Gathers a list ofVariantDetails
that are related to the product provided via theProductDetails
param. -
Uses of VariantDetail in com.broadleafcommerce.catalog.service.product.commerce.util
Modifier and TypeMethodDescriptionProductOptionContributionUtils.populateAttributeChoiceAllowedValues
(@NonNull ProductOptionDetail optionDetail, @NonNull List<VariantDetail> variantDetails)