Interface AttributeChoiceConfigurationService
-
- All Known Implementing Classes:
DefaultAttributeChoiceConfigurationService
public interface AttributeChoiceConfigurationService
- Author:
- Chad Harchar (charchar)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method 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 providedCartItem
for the given attribute choiceProductOption
.
-
-
-
Method Detail
-
validateAttributeChoice
void validateAttributeChoice(@Nullable 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
.- Parameters:
cart
- TheCart
of theCartItem
cartItem
- TheCartItem
to performattribute choice
validation against.validationFlow
- The context used to identify validation requirements of theCartItem
at that point in its lifecycle.option
- TheProductOption
(and it'sProductOption.getAttributeChoice()
we are using to validate the cart against.
-
-