Class RemoveAncillaryStrategy
java.lang.Object
de.hybris.platform.ndc182shoppingfacades.facades.order.strategies.impl.RemoveAncillaryStrategy
- All Implemented Interfaces:
ChangeOrderStrategy
The strategy for changing an order by removing ancillaries from order change request.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidchangeOrder(AbstractOrderModel clonedOrder, IATAOrderChangeRQ orderChangeRQ, List<AbstractOrderEntryModel> orderEntries) Change order.protected de.hybris.platform.order.CartServiceGets cart service.protected Map<String,RemoveServiceStrategy> Gets remove service strategy map.voidsetCartService(de.hybris.platform.order.CartService cartService) Sets cart service.voidsetRemoveServiceStrategyMap(Map<String, RemoveServiceStrategy> removeServiceStrategyMap) Sets remove service strategy map.
-
Constructor Details
-
RemoveAncillaryStrategy
public RemoveAncillaryStrategy()
-
-
Method Details
-
changeOrder
public void changeOrder(AbstractOrderModel clonedOrder, IATAOrderChangeRQ orderChangeRQ, List<AbstractOrderEntryModel> orderEntries) throws NDCException Description copied from interface:ChangeOrderStrategyChange order.- Specified by:
changeOrderin interfaceChangeOrderStrategy- Parameters:
clonedOrder- the orderorderChangeRQ- the order change rq- Throws:
NDCException
-
getRemoveServiceStrategyMap
Gets remove service strategy map.- Returns:
- the remove service strategy map
-
setRemoveServiceStrategyMap
Sets remove service strategy map.- Parameters:
removeServiceStrategyMap- the remove service strategy map
-
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
-