Class DefaultPROSRemoveAccommodationProductStrategy

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

public class DefaultPROSRemoveAccommodationProductStrategy extends DefaultPROSAbstractRemoveProductStrategy implements PROSRemoveOrderEntryStrategy
The Pros implementation of PROSRemoveOrderEntryStrategy interface to remove an accommodation(seat) product from the cart for a specific solution
  • Constructor Details

    • DefaultPROSRemoveAccommodationProductStrategy

      public DefaultPROSRemoveAccommodationProductStrategy()
  • Method Details

    • removeOrderEntry

      public void removeOrderEntry(CartModel cartModel, AbstractOrderEntryModel orderEntryModel)
      Description copied from interface: PROSRemoveOrderEntryStrategy
      This method remove an order entry from the cart by setting the quantity to 0, the AmendStatus to CHANGED and active to FALSE.
      Specified by:
      removeOrderEntry in interface PROSRemoveOrderEntryStrategy
      Parameters:
      cartModel - the cartModel
      orderEntryModel - the order Entry to remove
    • removeSelectedAccommodation

      protected void removeSelectedAccommodation(CartModel cartModel, AbstractOrderEntryModel orderEntryModel)
      This method removes a selected accommodation from the cart.
      Parameters:
      cartModel - the cart model
      orderEntryModel - the order entry model
    • getProsCommerceAncillaryBaggageProductsRefundTypeStrategyMap

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

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

      protected TravelCommerceCartService getTravelCommerceCartService()
      Gets travel commerce cart service.
      Returns:
      the travel commerce cart service
    • setTravelCommerceCartService

      public void setTravelCommerceCartService(TravelCommerceCartService travelCommerceCartService)
      Sets travel commerce cart service.
      Parameters:
      travelCommerceCartService - the travel commerce cart service