java.lang.Object
de.hybris.platform.travelfacades.fare.search.handlers.impl.AbstractFareInfoHandler
de.hybris.platform.travelfacades.fare.search.handlers.impl.FareInfoHandler
All Implemented Interfaces:
FareSearchHandler

public class FareInfoHandler extends AbstractFareInfoHandler
Concrete implementation of the FareSearchHandler interface. Handler is responsible for populating the Fare Prices for scheduled route and populates the Passenger breakdown prices on FareSelectionData
  • Constructor Details

    • FareInfoHandler

      public FareInfoHandler()
  • Method Details

    • populateProductPricesAndSort

      protected void populateProductPricesAndSort(PricedItineraryData pricedItinerary, ItineraryPricingInfoData itineraryPricingInfoData)
      Description copied from class: AbstractFareInfoHandler
      Method to populate the price information for all the fare products and ancillary products. The retrieved products are then sorted using strategy.
      Specified by:
      populateProductPricesAndSort in class AbstractFareInfoHandler
      Parameters:
      pricedItinerary - the priced itinerary
      itineraryPricingInfoData - the itinerary pricing info data
    • populateProductPricesForOptions

      protected void populateProductPricesForOptions(List<? extends ProductData> productList, String transportOfferingCode, String sectorCode, String routeCode, BundleTemplateModel bundleTemplate)
      Description copied from class: AbstractFareInfoHandler
      This method populates the price information for all the fare products and ancillary products. The prices are searched in the order of transportoffering, sector, route and default price. The first available price will be set to the product.
      Specified by:
      populateProductPricesForOptions in class AbstractFareInfoHandler
      Parameters:
      productList - the product list
      transportOfferingCode - the transport offering code
      sectorCode - the sector code
      routeCode - the route code
      bundleTemplate - the bundle template
    • getTransportOfferingFacade

      protected TransportOfferingFacade getTransportOfferingFacade()
      Gets transport offering facade.
      Returns:
      the transportOfferingFacade
    • setTransportOfferingFacade

      public void setTransportOfferingFacade(TransportOfferingFacade transportOfferingFacade)
      Sets transport offering facade.
      Parameters:
      transportOfferingFacade - the transportOfferingFacade to set