Interface FareSearchFacade
- All Known Subinterfaces:
ShoppingFareSearchFacade
- All Known Implementing Classes:
DefaultFareSearchFacade,DefaultPROSFareSearchFacade,DefaultShoppingFareSearchFacade
public interface FareSearchFacade
Interface for the Fare Search Facade
-
Method Summary
Modifier and TypeMethodDescriptiondoSearch(FareSearchRequestData fareSearchRequestData) Performs a search for fare selection options based on fare search requestgetRemainingSeats(FareSelectionData fareSelectionData) Returns a map representing the remaining stockLevel of the fareProduct for each bundleType and each pricedItineraries.
-
Method Details
-
doSearch
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
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.
-