Uses of Class
com.broadleafcommerce.catalog.domain.product.commerce.VariantDetail
Packages that use VariantDetail
Package
Description
-
Uses of VariantDetail in com.broadleafcommerce.catalog.domain.category.commerce
Methods in com.broadleafcommerce.catalog.domain.category.commerce that return types with arguments of type VariantDetailModifier and TypeMethodDescriptionCategoryDetailsContext.getRelatedVariants()An aggregation of all of theVariantsrelated to theCategoryDetailsContext.relatedProducts.Method parameters in com.broadleafcommerce.catalog.domain.category.commerce with type arguments of type VariantDetailModifier and TypeMethodDescriptionvoidCategoryDetailsContext.setRelatedVariants(Map<String, VariantDetail> relatedVariants) An aggregation of all of theVariantsrelated to theCategoryDetailsContext.relatedProducts. -
Uses of VariantDetail in com.broadleafcommerce.catalog.domain.product.commerce
Methods in com.broadleafcommerce.catalog.domain.product.commerce that return VariantDetailModifier 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 typeisDefaultItemChoiceTargetType.SPECIFIC_VARIANTS.SpecificItemChoiceDetail.getVariant()If theSpecificItemChoiceDetail.getType()isDefaultSpecificItemChoiceType.VARIANTthis holds the variant for this choiceMethods in com.broadleafcommerce.catalog.domain.product.commerce that return types with arguments of type VariantDetailModifier and TypeMethodDescriptionProductDetailsContext.getRelatedVariants()An aggregation of all of theVariantsrelated to theProductDetailsContext.resolvedProduct.ProductDetails.getVariants()AllVariantsfor this product.ProductSummary.getVariants()AllVariantsfor this product.Methods in com.broadleafcommerce.catalog.domain.product.commerce with parameters of type VariantDetailModifier and TypeMethodDescriptionvoidItemChoiceDetail.setDefaultVariant(VariantDetail defaultVariant) The default variant that can be used when driving customer selections if theItemChoiceDetail.getTargetType()isDefaultItemChoiceTargetType.SPECIFIC_VARIANTS.voidIncludedProductDetail.setVariant(VariantDetail variant) This field contains the specified variant if theadd-on typeisDefaultItemChoiceTargetType.SPECIFIC_VARIANTS.voidSpecificItemChoiceDetail.setVariant(VariantDetail variant) If theSpecificItemChoiceDetail.getType()isDefaultSpecificItemChoiceType.VARIANTthis holds the variant for this choiceMethod parameters in com.broadleafcommerce.catalog.domain.product.commerce with type arguments of type VariantDetailModifier and TypeMethodDescriptionvoidProductDetailsContext.setRelatedVariants(Map<String, VariantDetail> relatedVariants) An aggregation of all of theVariantsrelated to theProductDetailsContext.resolvedProduct.voidProductDetails.setVariants(List<VariantDetail> variants) AllVariantsfor this product.voidProductSummary.setVariants(List<VariantDetail> variants) AllVariantsfor this product.Constructors in com.broadleafcommerce.catalog.domain.product.commerce with parameters of type VariantDetailModifierConstructorDescriptionIncludedProductDetail(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
Method parameters in com.broadleafcommerce.catalog.service.category.commerce.context.consolidator with type arguments of type VariantDetailModifier and TypeMethodDescriptionprotected voidRelatedVariantsCategoryContextConsolidator.consolidateVariantPriceInfo(@NonNull Collection<VariantDetail> variants, @NonNull CategoryDetailsContext categoryDetailsContext) -
Uses of VariantDetail in com.broadleafcommerce.catalog.service.product.commerce.context.consolidator
Method parameters in com.broadleafcommerce.catalog.service.product.commerce.context.consolidator with type arguments of type VariantDetailModifier and TypeMethodDescriptionprotected voidRelatedVariantsProductContextConsolidator.consolidateVariantPriceInfo(@NonNull Collection<VariantDetail> variants, @NonNull ProductDetailsContext productDetailsContext) -
Uses of VariantDetail in com.broadleafcommerce.catalog.service.product.commerce.contributor
Methods in com.broadleafcommerce.catalog.service.product.commerce.contributor that return types with arguments of type VariantDetailModifier and TypeMethodDescriptionprotected <D extends ProductDetails,C extends ProductDetailsContext>
List<VariantDetail>VariantsProductDetailsContributor.getVariantsForProduct(D productDetails, @NonNull Collection<C> productDetailsContexts) Gathers a list ofVariantDetailsthat are related to the product provided via theProductDetailsparam.