Class AssistedServiceCartRecalculator

java.lang.Object
de.hybris.platform.servicelayer.event.impl.AbstractEventListener<SessionEvent>
de.hybris.platform.assistedservicefacades.event.AssistedServiceCartRecalculator
All Implemented Interfaces:
EventListener, org.springframework.beans.factory.Aware, org.springframework.beans.factory.InitializingBean, org.springframework.context.ApplicationContextAware, org.springframework.context.ApplicationListener<SessionEvent>

public class AssistedServiceCartRecalculator extends AbstractEventListener<SessionEvent>
Assisted service event listener for SessionEvent event. Recalculates cart because there can be specific promotions that are only applicable if the ASM emulation is active.
  • Constructor Details

    • AssistedServiceCartRecalculator

      public AssistedServiceCartRecalculator()
  • Method Details

    • onEvent

      protected void onEvent(SessionEvent event)
      Description copied from class: AbstractEventListener
      This method is called by ApplicationListener.onApplicationEvent(ApplicationEvent) and processes the given event.
      Specified by:
      onEvent in class AbstractEventListener<SessionEvent>
      Parameters:
      event - the event to be processed
      See Also:
      • ApplicationListener.onApplicationEvent(ApplicationEvent)
    • getCommerceCartService

      protected CommerceCartService getCommerceCartService()
    • setCommerceCartService

      public void setCommerceCartService(CommerceCartService commerceCartService)
    • getCartService

      protected CartService getCartService()
    • setCartService

      public void setCartService(CartService cartService)