Class DefaultPROSRemoveCommerceAncillaryBaggageProductStrategy
java.lang.Object
de.hybris.platform.prosservices.order.strategies.impl.DefaultPROSAbstractRemoveProductStrategy
de.hybris.platform.prosservices.order.strategies.impl.DefaultPROSRemoveCommerceAncillaryBaggageProductStrategy
- All Implemented Interfaces:
PROSRemoveOrderEntryStrategy
public class DefaultPROSRemoveCommerceAncillaryBaggageProductStrategy
extends DefaultPROSAbstractRemoveProductStrategy
implements PROSRemoveOrderEntryStrategy
The Pros implementation of
PROSRemoveOrderEntryStrategy interface to remove a Commerce ancillary/baggage product from
the cart for a specific solution-
Field Summary
Fields inherited from class de.hybris.platform.prosservices.order.strategies.impl.DefaultPROSAbstractRemoveProductStrategy
DEFAULT_COMMERCE_ANCILLARY_REFUND_TYPE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets shopping remove commerce ancillary baggage products strategy map.voidremoveOrderEntry(CartModel cartModel, AbstractOrderEntryModel orderEntryModel) This method removes a Commerce ancillary/baggage entry from the cart.voidsetProsRemoveCommerceAncillaryBaggageProductsStrategyMap(Map<String, PROSAddToCartCriteriaRemoveCommerceAncillaryBaggageStrategy> prosRemoveCommerceAncillaryBaggageProductsStrategyMap) Sets shopping remove commerce ancillary baggage products strategy map.Methods inherited from class de.hybris.platform.prosservices.order.strategies.impl.DefaultPROSAbstractRemoveProductStrategy
getCommerceAncillaryBaggageRefundType, getModelService, setModelService, setOrderEntryToInactive
-
Constructor Details
-
DefaultPROSRemoveCommerceAncillaryBaggageProductStrategy
public DefaultPROSRemoveCommerceAncillaryBaggageProductStrategy()
-
-
Method Details
-
removeOrderEntry
This method removes a Commerce ancillary/baggage entry from the cart. Before updating the status of the entry, two strategies will be performed in order to check the AddToCartCriteriaType and the type of the refund.- Specified by:
removeOrderEntryin interfacePROSRemoveOrderEntryStrategy- Parameters:
cartModel- the cartModelorderEntryModel- the order Entry to remove
-
getProsRemoveCommerceAncillaryBaggageProductsStrategyMap
protected Map<String,PROSAddToCartCriteriaRemoveCommerceAncillaryBaggageStrategy> getProsRemoveCommerceAncillaryBaggageProductsStrategyMap()Gets shopping remove commerce ancillary baggage products strategy map.- Returns:
- the shopping remove commerce ancillary baggage products strategy map
-
setProsRemoveCommerceAncillaryBaggageProductsStrategyMap
public void setProsRemoveCommerceAncillaryBaggageProductsStrategyMap(Map<String, PROSAddToCartCriteriaRemoveCommerceAncillaryBaggageStrategy> prosRemoveCommerceAncillaryBaggageProductsStrategyMap) Sets shopping remove commerce ancillary baggage products strategy map.- Parameters:
prosRemoveCommerceAncillaryBaggageProductsStrategyMap- the shopping remove commerce ancillary baggage products strategy map
-