Class TmaPoCartValidationHook
java.lang.Object
de.hybris.platform.b2ctelcoservices.hook.impl.TmaPoCartValidationHook
- All Implemented Interfaces:
de.hybris.platform.commerceservices.strategies.hooks.CartValidationHook
public class TmaPoCartValidationHook
extends Object
implements de.hybris.platform.commerceservices.strategies.hooks.CartValidationHook
Cart validation hook used to disable checkout if there is any invalid entry group.
- Since:
- 6.7
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidafterValidateCart(CommerceCartParameter parameter, List<CommerceCartModification> modifications) voidbeforeValidateCart(CommerceCartParameter parameter, List<CommerceCartModification> modifications) protected de.hybris.platform.order.EntryGroupServicevoidsetEntryGroupService(de.hybris.platform.order.EntryGroupService entryGroupService) voidsetTmaCartService(TmaCartService tmaCartService)
-
Constructor Details
-
TmaPoCartValidationHook
public TmaPoCartValidationHook()
-
-
Method Details
-
beforeValidateCart
public void beforeValidateCart(CommerceCartParameter parameter, List<CommerceCartModification> modifications) - Specified by:
beforeValidateCartin interfacede.hybris.platform.commerceservices.strategies.hooks.CartValidationHook
-
afterValidateCart
public void afterValidateCart(CommerceCartParameter parameter, List<CommerceCartModification> modifications) - Specified by:
afterValidateCartin interfacede.hybris.platform.commerceservices.strategies.hooks.CartValidationHook
-
getEntryGroupService
protected de.hybris.platform.order.EntryGroupService getEntryGroupService() -
setEntryGroupService
public void setEntryGroupService(de.hybris.platform.order.EntryGroupService entryGroupService) -
getTmaCartService
-
setTmaCartService
-