Class DefaultPROSAddToCartCriteriaRemoveCommerceAncillaryBaggageProductsStrategy
java.lang.Object
de.hybris.platform.prosservices.order.strategies.impl.DefaultPROSAbstractRemoveProductStrategy
de.hybris.platform.prosservices.order.strategies.impl.DefaultPROSAddToCartCriteriaRemoveCommerceAncillaryBaggageProductsStrategy
- All Implemented Interfaces:
PROSAddToCartCriteriaRemoveCommerceAncillaryBaggageStrategy
public class DefaultPROSAddToCartCriteriaRemoveCommerceAncillaryBaggageProductsStrategy
extends DefaultPROSAbstractRemoveProductStrategy
implements PROSAddToCartCriteriaRemoveCommerceAncillaryBaggageStrategy
The Pros implementation of
PROSAddToCartCriteriaRemoveCommerceAncillaryBaggageStrategy interface.-
Field Summary
Fields inherited from class de.hybris.platform.prosservices.order.strategies.impl.DefaultPROSAbstractRemoveProductStrategy
DEFAULT_COMMERCE_ANCILLARY_REFUND_TYPE -
Constructor Summary
ConstructorsConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptionvoidremoveCommerceAncillaryBaggageOrderEntry(CartModel cartModel, AbstractOrderEntryModel orderEntryModel) This method removes an order entry with add to cart criteria not included in the listed keys of the strategy map.Methods inherited from class de.hybris.platform.prosservices.order.strategies.impl.DefaultPROSAbstractRemoveProductStrategy
getCommerceAncillaryBaggageRefundType, getModelService, setModelService, setOrderEntryToInactive
-
Constructor Details
-
DefaultPROSAddToCartCriteriaRemoveCommerceAncillaryBaggageProductsStrategy
public DefaultPROSAddToCartCriteriaRemoveCommerceAncillaryBaggageProductsStrategy()
-
-
Method Details
-
removeCommerceAncillaryBaggageOrderEntry
public void removeCommerceAncillaryBaggageOrderEntry(CartModel cartModel, AbstractOrderEntryModel orderEntryModel) This method removes an order entry with add to cart criteria not included in the listed keys of the strategy map. This strategy is the default fallback and it considers the entry as removable.- Specified by:
removeCommerceAncillaryBaggageOrderEntryin interfacePROSAddToCartCriteriaRemoveCommerceAncillaryBaggageStrategy- Parameters:
cartModel- the cartorderEntryModel- the order entry
-