Uses of Class
com.broadleafcommerce.catalog.domain.product.option.AttributeChoice
Package
Description
-
Uses of AttributeChoice in com.broadleafcommerce.catalog.domain.product.commerce
Modifier and TypeMethodDescriptionvoid
ProductOptionDetail.setAttributeChoice
(AttributeChoice attributeChoice) -
Uses of AttributeChoice in com.broadleafcommerce.catalog.domain.product.option
Modifier and TypeMethodDescriptionProductOption.getAttributeChoice()
Configuration when theProductOption.type
of this option is one of:DefaultProductOptionType.VARIANT_DISTINGUISHING
- drives customer further specifying their choices into a specificVariant
that contains a unique SKU code, pricing concerns, etc.DefaultProductOptionType.CART_ITEM_ATTRIBUTE
- Customer input will flow directly in the item attributes within their cartDefaultProductOptionType.CART_ATTRIBUTE
.Modifier and TypeMethodDescriptionvoid
ProductOption.setAttributeChoice
(AttributeChoice attributeChoice) Configuration when theProductOption.type
of this option is one of:DefaultProductOptionType.VARIANT_DISTINGUISHING
- drives customer further specifying their choices into a specificVariant
that contains a unique SKU code, pricing concerns, etc.DefaultProductOptionType.CART_ITEM_ATTRIBUTE
- Customer input will flow directly in the item attributes within their cartDefaultProductOptionType.CART_ATTRIBUTE
. -
Uses of AttributeChoice in com.broadleafcommerce.catalog.service.validation
Modifier and TypeMethodDescriptionprotected Function<? super AttributeChoice,
Set<String>> VariantValidator.allowedOptionValueMapper()
Modifier and TypeMethodDescriptionvoid
ProductOptionValidator.AttributeChoiceValidator.validate
(String productOptionType, AttributeChoice attributeChoice, org.springframework.validation.Errors errors) protected void
ProductOptionValidator.AttributeChoiceValidator.validateAllowedValues
(String productOptionType, AttributeChoice attributeChoice, org.springframework.validation.Errors errors) protected void
ProductOptionValidator.AttributeChoiceValidator.validateValidationFields
(AttributeChoice attributeChoice, org.springframework.validation.Errors errors)