Uses of Class
com.broadleafcommerce.cartoperation.domain.ProductOption
Package
Description
-
Uses of ProductOption in com.broadleafcommerce.cartoperation.domain
Modifier and TypeMethodDescriptionProduct.getOptions()
Drives additional information that the customer should enter when purchasing this product.Modifier and TypeMethodDescriptionvoid
Product.setOptions
(List<ProductOption> options) Drives additional information that the customer should enter when purchasing this product. -
Uses of ProductOption in com.broadleafcommerce.cartoperation.service.configuration
Modifier and TypeMethodDescriptionDefaultAttributeChoiceConfigurationService.determineChosenValue
(@NonNull ProductOption option, @NonNull com.broadleafcommerce.cart.client.domain.CartItem cartItem, com.broadleafcommerce.cart.client.domain.Cart cart) Determine the chosen value on the cart item for the provided option.void
DefaultItemChoiceConfigurationService.populateItemChoice
(com.broadleafcommerce.cart.client.domain.CartItem cartItem, ProductOption option, List<com.broadleafcommerce.cart.client.domain.CartItem> potentialDependentItems) void
ItemChoiceConfigurationService.populateItemChoice
(com.broadleafcommerce.cart.client.domain.CartItem cartItem, ProductOption option, List<com.broadleafcommerce.cart.client.domain.CartItem> potentialDependentItems) Populates item choices inCartItem.getDependentCartItems()
and hydrates them with pricing information fromItemChoice
andSpecificItemChoice
.void
AttributeChoiceConfigurationService.validateAttributeChoice
(com.broadleafcommerce.cart.client.domain.Cart cart, com.broadleafcommerce.cart.client.domain.CartItem cartItem, String validationFlow, ProductOption option) Perform validation against the providedCartItem
for the given attribute choiceProductOption
.void
DefaultAttributeChoiceConfigurationService.validateAttributeChoice
(com.broadleafcommerce.cart.client.domain.Cart cart, @NonNull com.broadleafcommerce.cart.client.domain.CartItem cartItem, @NonNull String validationFlow, @NonNull ProductOption option) void
DefaultItemChoiceConfigurationService.validateItemChoice
(@NonNull com.broadleafcommerce.cart.client.domain.CartItem cartItem, @NonNull ProductOption option, @NonNull List<com.broadleafcommerce.cart.client.domain.CartItem> potentialDependentItems) void
ItemChoiceConfigurationService.validateItemChoice
(com.broadleafcommerce.cart.client.domain.CartItem cartItem, ProductOption option, List<com.broadleafcommerce.cart.client.domain.CartItem> potentialDependentItems) Perform validation against the providedCartItem
for the givenProductOption
of typeProductOptionType.isItemChoice(String)
.protected void
DefaultItemChoiceConfigurationService.validateMaxQuantity
(@NonNull com.broadleafcommerce.cart.client.domain.CartItem cartItem, @NonNull ItemChoice itemChoice, @NonNull MatchingDependentsContext matchingCartItems, @NonNull ProductOption option) protected void
DefaultItemChoiceConfigurationService.validateMinQuantity
(@NonNull com.broadleafcommerce.cart.client.domain.CartItem cartItem, @NonNull ItemChoice itemChoice, @NonNull MatchingDependentsContext matchingCartItems, @NonNull ProductOption option)