Class BundleCartValidationHook
- java.lang.Object
-
- de.hybris.platform.commerceservices.strategies.hooks.BundleCartValidationHook
-
- All Implemented Interfaces:
CartValidationHook
public class BundleCartValidationHook extends java.lang.Object implements CartValidationHook
Cart validation hook to disable checkout if cart has an invalid bundle.
-
-
Constructor Summary
Constructors Constructor Description BundleCartValidationHook()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidafterValidateCart(CommerceCartParameter parameter, java.util.List<CommerceCartModification> modifications)Executed after the cart validationvoidbeforeValidateCart(CommerceCartParameter parameter, java.util.List<CommerceCartModification> modifications)Executed before the cart validationprotected EntryGroupServicegetEntryGroupService()voidsetEntryGroupService(EntryGroupService entryGroupService)
-
-
-
Method Detail
-
beforeValidateCart
public void beforeValidateCart(CommerceCartParameter parameter, java.util.List<CommerceCartModification> modifications)
Description copied from interface:CartValidationHookExecuted before the cart validation- Specified by:
beforeValidateCartin interfaceCartValidationHook- Parameters:
parameter- object containing all the information for validationmodifications- list containing the validation results
-
afterValidateCart
public void afterValidateCart(CommerceCartParameter parameter, java.util.List<CommerceCartModification> modifications)
Description copied from interface:CartValidationHookExecuted after the cart validation- Specified by:
afterValidateCartin interfaceCartValidationHook- Parameters:
parameter- object containing all the information for validationmodifications- list containing the validation results
-
getEntryGroupService
protected EntryGroupService getEntryGroupService()
-
setEntryGroupService
public void setEntryGroupService(EntryGroupService entryGroupService)
-
-