Class DefaultOfferPriceOriginDestinationListHandler

java.lang.Object
de.hybris.platform.ndc182facades.facades.offerprice.handlers.impl.DefaultOfferPriceOriginDestinationListHandler
All Implemented Interfaces:
OfferPriceDataListsHandler

public class DefaultOfferPriceOriginDestinationListHandler extends Object implements OfferPriceDataListsHandler
The ndc 182 implementation of OfferPriceDataListsHandler interface.
  • Constructor Details

    • DefaultOfferPriceOriginDestinationListHandler

      public DefaultOfferPriceOriginDestinationListHandler()
  • Method Details

    • handle

      public void handle(NDCCarrierOfferData ndcOfferData, Set<Service1Type> services, DataListsType dataListsType)
      This handler populates the originDestinationList in the datalists field. Since the offer corresponds either to an inbound or an outbound and offeritems are per passengerType (ptc), the originDestination list can be populated taking only one. offeritem.
      Specified by:
      handle in interface OfferPriceDataListsHandler
      Parameters:
      ndcOfferData - the ndcOfferData
      services - the services
      dataListsType - the dataListsType
    • getTravelRouteFacade

      protected TravelRouteFacade getTravelRouteFacade()
      Gets travel route facade.
      Returns:
      the travel route facade
    • setTravelRouteFacade

      public void setTravelRouteFacade(TravelRouteFacade travelRouteFacade)
      Sets travel route facade.
      Parameters:
      travelRouteFacade - the travel route facade