| Package | Description | 
|---|---|
| com.broadleafcommerce.cartoperation.domain | |
| com.broadleafcommerce.cartoperation.service.configuration | 
| Modifier and Type | Method and Description | 
|---|---|
List<ProductOption> | 
Product.getOptions()
Drives additional information that the customer should enter when purchasing this product. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
Product.setOptions(List<ProductOption> options)
Drives additional information that the customer should enter when purchasing this product. 
 | 
| Modifier and Type | Method and 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 | 
ItemChoiceConfigurationService.populateItemChoice(com.broadleafcommerce.cart.client.domain.CartItem cartItem,
                  ProductOption option,
                  List<com.broadleafcommerce.cart.client.domain.CartItem> potentialDependentItems)
Populates item choices in  
CartItem.getDependentCartItems() and hydrates them with
 pricing information from ItemChoice and SpecificItemChoice. | 
void | 
DefaultItemChoiceConfigurationService.populateItemChoice(com.broadleafcommerce.cart.client.domain.CartItem cartItem,
                  ProductOption option,
                  List<com.broadleafcommerce.cart.client.domain.CartItem> potentialDependentItems)  | 
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 | 
AttributeChoiceConfigurationService.validateAttributeChoice(com.broadleafcommerce.cart.client.domain.Cart cart,
                       com.broadleafcommerce.cart.client.domain.CartItem cartItem,
                       String validationFlow,
                       ProductOption option)
Perform validation against the provided  
CartItem for the given attribute choice
 ProductOption. | 
void | 
ItemChoiceConfigurationService.validateItemChoice(com.broadleafcommerce.cart.client.domain.CartItem cartItem,
                  ProductOption option,
                  List<com.broadleafcommerce.cart.client.domain.CartItem> potentialDependentItems)
Perform validation against the provided  
CartItem for the given ProductOption
 of type ProductOptionType.isItemChoice(String). | 
void | 
DefaultItemChoiceConfigurationService.validateItemChoice(@NonNull com.broadleafcommerce.cart.client.domain.CartItem cartItem,
                  @NonNull ProductOption option,
                  @NonNull List<com.broadleafcommerce.cart.client.domain.CartItem> potentialDependentItems)  | 
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)  | 
Copyright © 2021. All rights reserved.