Class DefaultPROSRemoveShoppingAncillaryProductStrategy

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

public class DefaultPROSRemoveShoppingAncillaryProductStrategy extends DefaultPROSAbstractRemoveProductStrategy implements PROSRemoveOrderEntryStrategy
The Pros implementation of PROSRemoveOrderEntryStrategy to remove a Shopping Ancillary Product from the cart for a specific solution.
  • Constructor Details

    • DefaultPROSRemoveShoppingAncillaryProductStrategy

      public DefaultPROSRemoveShoppingAncillaryProductStrategy()
  • Method Details

    • removeOrderEntry

      public void removeOrderEntry(CartModel cartModel, AbstractOrderEntryModel orderEntryModel) throws CancelFlightException
      This method removes a Shopping Ancillary entry from the cart for a specific solution. 1) Retrieves the optional service in the repricer response having the same flights and passenger id 2) Check if the Shopping Ancillary is fully refundable. If not, create a AncillaryChangeFee and add it to the cart.
      Specified by:
      removeOrderEntry in interface PROSRemoveOrderEntryStrategy
      Parameters:
      cartModel - the cartModel
      orderEntryModel - the order Entry to remove
      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