Interface TransportSuggestionsDisplayStrategy
- All Known Implementing Classes:
DefaultTransportSuggestionsDisplayStrategy
public interface TransportSuggestionsDisplayStrategy
The interface Transport suggestions display strategy.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic enumSuggestion display types -
Method Summary
Modifier and TypeMethodDescriptioncreateSuggestionsMap(String searchText, List<TransportOfferingData> transportOfferingDataList, TransportSuggestionsDisplayStrategy.LegSuggestionType type) Builds a map object to store suggestions
-
Method Details
-
createSuggestionsMap
Map<GlobalSuggestionData,List<GlobalSuggestionData>> createSuggestionsMap(String searchText, List<TransportOfferingData> transportOfferingDataList, TransportSuggestionsDisplayStrategy.LegSuggestionType type) Builds a map object to store suggestions- Parameters:
searchText-transportOfferingDataList-- Returns:
-