Class DefaultPROSRemoveAllowanceStrategy

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

public class DefaultPROSRemoveAllowanceStrategy extends DefaultPROSAbstractRemoveProductStrategy implements PROSRemoveShoppingBaggageProductStrategy
The Pros implementation of PROSRemoveShoppingBaggageProductStrategy interface to remove a Shopping Allowance Product.
  • Constructor Details

    • DefaultPROSRemoveAllowanceStrategy

      public DefaultPROSRemoveAllowanceStrategy()
  • Method Details

    • removeShoppingBaggageProduct

      public void removeShoppingBaggageProduct(CartModel cartModel, AbstractOrderEntryModel orderEntryModel) throws CancelFlightException
      This method retrieves the allowance product from the repricer response message and removes the corresponding entry from the cart. A refund reissue type strategy is performed to evaluate the addition of an ancillaryChangeFee to the cart.
      Specified by:
      removeShoppingBaggageProduct in interface PROSRemoveShoppingBaggageProductStrategy
      Parameters:
      cartModel - the cart model
      orderEntryModel - the order entry
      Throws:
      CancelFlightException
    • getTransportOfferingService

      protected PROSTransportOfferingService getTransportOfferingService()
      Gets transport offering service.
      Returns:
      the transport offering service
    • setTransportOfferingService

      public void setTransportOfferingService(PROSTransportOfferingService transportOfferingService)
      Sets transport offering service.
      Parameters:
      transportOfferingService - the transport offering service
    • getProsRefundReissueTypeStrategyMap

      protected Map<String,PROSRefundReissueTypeStrategy> getProsRefundReissueTypeStrategyMap()
      Gets pros refund reissue type strategy map.
      Returns:
      the pros refund reissue type strategy map
    • setProsRefundReissueTypeStrategyMap

      public void setProsRefundReissueTypeStrategyMap(Map<String,PROSRefundReissueTypeStrategy> prosRefundReissueTypeStrategyMap)
      Sets pros refund reissue type strategy map.
      Parameters:
      prosRefundReissueTypeStrategyMap - the pros refund reissue type strategy map