Uses of Class
com.broadleafcommerce.catalog.domain.product.commerce.SpecificItemChoiceDetail
Package
Description
-
Uses of SpecificItemChoiceDetail in com.broadleafcommerce.catalog.domain.product.commerce
Modifier and TypeMethodDescriptionItemChoiceDetail.getSpecificItemChoice()
If theItemChoiceDetail.getTargetType()
isDefaultItemChoiceTargetType.SPECIFIC_PRODUCT
orDefaultItemChoiceTargetType.SPECIFIC_VARIANT
this holds the manually selected option that the customer can choose to add on.Modifier and TypeMethodDescriptionItemChoiceDetail.getSpecificChoices()
If theItemChoiceDetail.getTargetType()
isDefaultItemChoiceTargetType.SPECIFIC_PRODUCTS
orDefaultItemChoiceTargetType.SPECIFIC_VARIANTS
this holds the manually-curated options that the customer can choose from.Modifier and TypeMethodDescriptionvoid
ItemChoiceDetail.setSpecificItemChoice
(SpecificItemChoiceDetail specificItemChoice) If theItemChoiceDetail.getTargetType()
isDefaultItemChoiceTargetType.SPECIFIC_PRODUCT
orDefaultItemChoiceTargetType.SPECIFIC_VARIANT
this holds the manually selected option that the customer can choose to add on.Modifier and TypeMethodDescriptionvoid
ItemChoiceDetail.setSpecificChoices
(List<SpecificItemChoiceDetail> specificChoices) If theItemChoiceDetail.getTargetType()
isDefaultItemChoiceTargetType.SPECIFIC_PRODUCTS
orDefaultItemChoiceTargetType.SPECIFIC_VARIANTS
this holds the manually-curated options that the customer can choose from.ModifierConstructorDescriptionItemChoiceDetail
(ItemChoice itemChoice, ItemChoiceCategory category, ProductDetails defaultProductInCategory, ProductDetails defaultProduct, VariantDetail defaultVariant, PriceInfo priceInfo, List<SpecificItemChoiceDetail> specificChoices, SpecificItemChoiceDetail specificItemChoice) ModifierConstructorDescriptionItemChoiceDetail
(ItemChoice itemChoice, ItemChoiceCategory category, ProductDetails defaultProductInCategory, ProductDetails defaultProduct, VariantDetail defaultVariant, PriceInfo priceInfo, List<SpecificItemChoiceDetail> specificChoices, SpecificItemChoiceDetail specificItemChoice) -
Uses of SpecificItemChoiceDetail in com.broadleafcommerce.catalog.service.product.commerce.util
Modifier and TypeMethodDescriptionprotected SpecificItemChoiceDetail
ProductOptionContributionUtils.createSpecificItemChoiceDetails
(@NonNull SpecificItemChoice specificChoice, @NonNull ProductDetailsContext productDetailsContext, PriceInfo itemChoicePriceInfo) protected SpecificItemChoiceDetail
ProductOptionContributionUtils.populateSpecificChoice
(@NonNull SpecificItemChoiceDetail specificChoice, @NonNull ProductDetailsContext productDetailsContext) Modifier and TypeMethodDescriptionprotected List<SpecificItemChoiceDetail>
ProductOptionContributionUtils.buildSpecificItemChoices
(ProductDetailsContext productDetailsContext, ItemChoice itemChoice, PriceInfo priceInfo, boolean narrowChoices) Builds out and prunes the specific item choices.Modifier and TypeMethodDescriptionprotected SpecificItemChoiceDetail
ProductOptionContributionUtils.populateSpecificChoice
(@NonNull SpecificItemChoiceDetail specificChoice, @NonNull ProductDetailsContext productDetailsContext) -
Uses of SpecificItemChoiceDetail in com.broadleafcommerce.catalog.service.util.commerce
Modifier and TypeMethodDescriptionprotected PriceInfo
PriceInfoContributionUtils.createPriceInfoForCustomSpecificItem
(@NonNull SpecificItemChoiceDetail specificItemChoice) Extension point for creating aPriceInfo
for aSpecificItemChoiceDetail
ifits type
can be more thanDefaultSpecificItemChoiceType.PRODUCT
orDefaultSpecificItemChoiceType.VARIANT
when it and its parentItemChoice
have nooverridePrices
.protected PriceInfo
PriceInfoContributionUtils.createPriceInfoSpecificChoiceWithoutOverride
(@NonNull SpecificItemChoiceDetail specificChoice, PriceInfo itemChoicePriceInfo) Creates aPriceInfo
for aSpecificItemChoice
that does not have aSpecificItemChoice.getOverridePrice()
.PriceInfoContributionUtils.createSpecificItemChoicePriceInfo
(@NonNull SpecificItemChoiceDetail specificChoice, PriceInfo itemChoicePriceInfo) Creates aPriceInfo
for aSpecificItemChoiceDetail
.protected PriceInfo
PriceInfoContributionUtils.getPriceInfoForSpecificChoiceWithOverride
(@NonNull SpecificItemChoiceDetail specificChoice)