Class DefaultShoppingAncillaryRemoveServiceStrategy
java.lang.Object
de.hybris.platform.ndc182shoppingfacades.facades.order.strategies.impl.DefaultShoppingAncillaryRemoveServiceStrategy
- All Implemented Interfaces:
RemoveServiceStrategy
public class DefaultShoppingAncillaryRemoveServiceStrategy
extends Object
implements RemoveServiceStrategy
The default implementation of
RemoveServiceStrategy to remove ancillary products from the cart-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected de.hybris.platform.order.CartServiceGets cart service.protected ShoppingTransportCartFacadeGets transport cart facade.voidRemove order entry.voidsetCartService(de.hybris.platform.order.CartService cartService) Sets cart service.voidsetTransportCartFacade(ShoppingTransportCartFacade transportCartFacade) Sets transport cart facade.
-
Constructor Details
-
DefaultShoppingAncillaryRemoveServiceStrategy
public DefaultShoppingAncillaryRemoveServiceStrategy()
-
-
Method Details
-
remove
Description copied from interface:RemoveServiceStrategyRemove order entry.- Specified by:
removein interfaceRemoveServiceStrategy- Parameters:
entryId- the entry id to remove- Throws:
NDCException- the ndc exception
-
getTransportCartFacade
Gets transport cart facade.- Returns:
- the transport cart facade
-
setTransportCartFacade
Sets transport cart facade.- Parameters:
transportCartFacade- the transport cart facade
-
getCartService
protected de.hybris.platform.order.CartService getCartService()Gets cart service.- Returns:
- the cart service
-
setCartService
public void setCartService(de.hybris.platform.order.CartService cartService) Sets cart service.- Parameters:
cartService- the cart service
-