Class 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.CartValidationHook
    Cart validation hook used to disable checkout if there is any invalid entry group.
    Since:
    6.7
    • Constructor Detail

      • TmaPoCartValidationHook

        public TmaPoCartValidationHook()
    • Method Detail

      • beforeValidateCart

        public void beforeValidateCart​(CommerceCartParameter parameter,
                                       java.util.List<CommerceCartModification> modifications)
        Specified by:
        beforeValidateCart in interface de.hybris.platform.commerceservices.strategies.hooks.CartValidationHook
      • afterValidateCart

        public void afterValidateCart​(CommerceCartParameter parameter,
                                      java.util.List<CommerceCartModification> modifications)
        Specified by:
        afterValidateCart in interface de.hybris.platform.commerceservices.strategies.hooks.CartValidationHook
      • getEntryGroupService

        protected de.hybris.platform.order.EntryGroupService getEntryGroupService()
      • setEntryGroupService

        public void setEntryGroupService​(de.hybris.platform.order.EntryGroupService entryGroupService)
      • setTmaCartService

        public void setTmaCartService​(TmaCartService tmaCartService)