Class DefaultPROSRemovePerSolutionCommerceAncillaryBaggageProductsStrategy

java.lang.Object
de.hybris.platform.prosservices.order.strategies.impl.DefaultPROSAbstractRemoveProductStrategy
de.hybris.platform.prosservices.order.strategies.impl.DefaultPROSRemovePerSolutionCommerceAncillaryBaggageProductsStrategy
All Implemented Interfaces:
PROSAddToCartCriteriaRemoveCommerceAncillaryBaggageStrategy

public class DefaultPROSRemovePerSolutionCommerceAncillaryBaggageProductsStrategy extends DefaultPROSAbstractRemoveProductStrategy implements PROSAddToCartCriteriaRemoveCommerceAncillaryBaggageStrategy
  • Constructor Details

    • DefaultPROSRemovePerSolutionCommerceAncillaryBaggageProductsStrategy

      public DefaultPROSRemovePerSolutionCommerceAncillaryBaggageProductsStrategy()
  • Method Details

    • removeCommerceAncillaryBaggageOrderEntry

      public void removeCommerceAncillaryBaggageOrderEntry(CartModel cartModel, AbstractOrderEntryModel orderEntryModel)
      This method removes an order entry with add to cart criteria equal to PER_BOOKING, PER_PAX. In these cases, the entry can be removed only if there are no other solutions in the cart. It will eventually add to the cart an ancillaryChangeFee if the product is not fully refundable.
      Specified by:
      removeCommerceAncillaryBaggageOrderEntry in interface PROSAddToCartCriteriaRemoveCommerceAncillaryBaggageStrategy
      Parameters:
      cartModel - the cart
      orderEntryModel - the order entry
    • getProsCommerceAncillaryBaggageProductsRefundTypeStrategyMap

      protected Map<String,PROSCommerceProductRefundTypeStrategy> getProsCommerceAncillaryBaggageProductsRefundTypeStrategyMap()
      Gets pros commerce product refund type strategy map.
      Returns:
      the pros commerce product refund type strategy map
    • setProsCommerceAncillaryBaggageProductsRefundTypeStrategyMap

      public void setProsCommerceAncillaryBaggageProductsRefundTypeStrategyMap(Map<String,PROSCommerceProductRefundTypeStrategy> prosCommerceAncillaryBaggageProductsRefundTypeStrategyMap)
      Sets pros commerce product refund type strategy map.
      Parameters:
      prosCommerceAncillaryBaggageProductsRefundTypeStrategyMap - the pros commerce product refund type strategy map