Interface AddDealToCartValidationStrategy
- All Known Implementing Classes:
DefaultAddDealToCartValidationStrategy,DefaultAddSolutionDealToCartValidationStrategy
public interface AddDealToCartValidationStrategy
Strategy to validate the add deal to cart
-
Method Summary
Modifier and TypeMethodDescriptionvoidvalidate(AddDealToCartData addDealToCartData, DealBundleTemplateModel dealBundleTemplateModel) Method to validate the add to cart of a deal bundle.
-
Method Details
-
validate
void validate(AddDealToCartData addDealToCartData, DealBundleTemplateModel dealBundleTemplateModel) throws TravelCartModificationException Method to validate the add to cart of a deal bundle.- Parameters:
addDealToCartData- as deal parametersdealBundleTemplateModel- as the deal to be added to the cart- Throws:
TravelCartModificationException
-