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
  • Constructor Details

    • DefaultPROSRemoveCommerceAncillaryBaggageProductStrategy

      public DefaultPROSRemoveCommerceAncillaryBaggageProductStrategy()
  • Method Details

    • removeOrderEntry

      public void removeOrderEntry(CartModel cartModel, AbstractOrderEntryModel orderEntryModel)
      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:
      removeOrderEntry in interface PROSRemoveOrderEntryStrategy
      Parameters:
      cartModel - the cartModel
      orderEntryModel - 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