public class AssistedServiceCartRecalculator extends AbstractEventListener<SessionEvent>
SessionEvent event. Recalculates cart because there can be specific
promotions that are only applicable if the ASM emulation is active.| Constructor and Description |
|---|
AssistedServiceCartRecalculator() |
| Modifier and Type | Method and Description |
|---|---|
protected CartService |
getCartService() |
protected CommerceCartService |
getCommerceCartService() |
protected void |
onEvent(SessionEvent event)
This method is called by
AbstractEventListener#onApplicationEvent(ApplicationEvent) and processes the given
event. |
void |
setCartService(CartService cartService) |
void |
setCommerceCartService(CommerceCartService commerceCartService) |
afterPropertiesSet, onApplicationEvent, setApplicationContext, setClusterService, setTenantServiceprotected void onEvent(SessionEvent event)
AbstractEventListenerAbstractEventListener#onApplicationEvent(ApplicationEvent) and processes the given
event.onEvent in class AbstractEventListener<SessionEvent>event - the event to be processed#onApplicationEvent(ApplicationEvent)protected CommerceCartService getCommerceCartService()
public void setCommerceCartService(CommerceCartService commerceCartService)
protected CartService getCartService()
public void setCartService(CartService cartService)
Copyright © 2018 SAP SE. All Rights Reserved.