Class DefaultProductPartOfBundleValidationStrategy
java.lang.Object
de.hybris.platform.travelfacades.strategies.impl.DefaultProductPartOfBundleValidationStrategy
- All Implemented Interfaces:
CartEntryValidationStrategy
public class DefaultProductPartOfBundleValidationStrategy
extends Object
implements CartEntryValidationStrategy
Strategy to validate the cart entry product as part of bundle.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvalidateCartEntry(AbstractOrderEntryModel orderEntryModel, long quantity) Validate the cart entry as part of bundle.
-
Constructor Details
-
DefaultProductPartOfBundleValidationStrategy
public DefaultProductPartOfBundleValidationStrategy()
-
-
Method Details
-
validateCartEntry
public void validateCartEntry(AbstractOrderEntryModel orderEntryModel, long quantity) throws ProductPartOfBundleException Validate the cart entry as part of bundle.- Specified by:
validateCartEntryin interfaceCartEntryValidationStrategy- Parameters:
orderEntryModel- the order entry Modelquantity- quantity to add/update/remove- Throws:
ProductPartOfBundleException- the product is part of bundle
-