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 java.lang.Object implements de.hybris.platform.commerceservices.strategies.hooks.CartValidationHookCart validation hook used to disable checkout if there is any invalid entry group.- Since:
- 6.7
-
-
Constructor Summary
Constructors Constructor Description TmaPoCartValidationHook()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidafterValidateCart(CommerceCartParameter parameter, java.util.List<CommerceCartModification> modifications)voidbeforeValidateCart(CommerceCartParameter parameter, java.util.List<CommerceCartModification> modifications)protected de.hybris.platform.order.EntryGroupServicegetEntryGroupService()TmaCartServicegetTmaCartService()voidsetEntryGroupService(de.hybris.platform.order.EntryGroupService entryGroupService)voidsetTmaCartService(TmaCartService tmaCartService)
-
-
-
Method Detail
-
beforeValidateCart
public void beforeValidateCart(CommerceCartParameter parameter, java.util.List<CommerceCartModification> modifications)
- Specified by:
beforeValidateCartin interfacede.hybris.platform.commerceservices.strategies.hooks.CartValidationHook
-
afterValidateCart
public void afterValidateCart(CommerceCartParameter parameter, java.util.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
public TmaCartService getTmaCartService()
-
setTmaCartService
public void setTmaCartService(TmaCartService tmaCartService)
-
-