Uses of Class
com.broadleafcommerce.cartoperation.domain.ProductOption
-
Packages that use ProductOption Package Description com.broadleafcommerce.cartoperation.domain com.broadleafcommerce.cartoperation.service.configuration -
-
Uses of ProductOption in com.broadleafcommerce.cartoperation.domain
Methods in com.broadleafcommerce.cartoperation.domain that return types with arguments of type ProductOption Modifier and Type Method Description List<ProductOption>
Product. getOptions()
Drives additional information that the customer should enter when purchasing this product.Method parameters in com.broadleafcommerce.cartoperation.domain with type arguments of type ProductOption Modifier and Type Method Description void
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
Methods in com.broadleafcommerce.cartoperation.service.configuration with parameters of type ProductOption Modifier and Type Method Description protected Optional<String>
DefaultAttributeChoiceConfigurationService. 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)
-