Interface FareSearchFacade

All Known Subinterfaces:
ShoppingFareSearchFacade
All Known Implementing Classes:
DefaultFareSearchFacade, DefaultPROSFareSearchFacade, DefaultShoppingFareSearchFacade

public interface FareSearchFacade
Interface for the Fare Search Facade
  • Method Details

    • doSearch

      FareSelectionData doSearch(FareSearchRequestData fareSearchRequestData)
      Performs a search for fare selection options based on fare search request
      Parameters:
      fareSearchRequestData - the fare search request data
      Returns:
      FareSelectionData object with available fare options
    • getRemainingSeats

      Map<Integer,Map<String,Long>> getRemainingSeats(FareSelectionData fareSelectionData)
      Returns a map representing the remaining stockLevel of the fareProduct for each bundleType and each pricedItineraries.
      Parameters:
      fareSelectionData - the fare selection data
      Returns:
      a Map<Integer, Map<String, Long>> where the key of the first map is the priceItineraryData.id, the key of the second map is the bundleType and the value of the second map is the remaining stockLevel.