public interface AttributeChoiceConfigurationService
| Modifier and Type | Method and Description |
|---|---|
void |
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 validateAttributeChoice(@Nullable
com.broadleafcommerce.cart.client.domain.Cart cart,
com.broadleafcommerce.cart.client.domain.CartItem cartItem,
String validationFlow,
ProductOption option)
CartItem for the given attribute choice
ProductOption.cart - The Cart of the CartItemcartItem - The CartItem to perform attribute choice
validation against.validationFlow - The context used to identify validation requirements of the
CartItem at that point in its lifecycle.option - The ProductOption (and it's ProductOption.getAttributeChoice()
we are using to validate the cart against.Copyright © 2021. All rights reserved.