Class ProductConfigAddToCartValidator
java.lang.Object
de.hybris.platform.sap.productconfig.services.validator.ProductConfigAddToCartValidator
- All Implemented Interfaces:
AddToCartValidator
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleansupports(CommerceCartParameter parameter) States if the validator supports the given parameters.voidvalidate(CommerceCartParameter parameter) Validates add to cart parameters
-
Constructor Details
-
ProductConfigAddToCartValidator
-
-
Method Details
-
supports
Description copied from interface:AddToCartValidatorStates if the validator supports the given parameters. If this is the case, its validation result will be taken into account- Specified by:
supportsin interfaceAddToCartValidator- Parameters:
parameter- Parameters used for the add to cart process- Returns:
- Validator supports
-
validate
Description copied from interface:AddToCartValidatorValidates add to cart parameters- Specified by:
validatein interfaceAddToCartValidator- Parameters:
parameter- Parameters used for the add to cart process- Throws:
CommerceCartModificationException- Validation issue
-