Class ArrivalTimeSortingStrategy
java.lang.Object
de.hybris.platform.travelfacades.fare.sorting.strategies.AbstractResultSortingStrategy
de.hybris.platform.travelfacades.fare.sorting.strategies.ArrivalTimeSortingStrategy
Implementation of
AbstractResultSortingStrategy to sort the FareSelectionData based on the
arrivalTime-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected DategetArrivalTime(PricedItineraryData pricedItinerary) Method to get the arrivalTime of a specific pricedItineraryData.voidsortFareSelectionData(FareSelectionData fareSelectionData) Method to sort the FareSelectionDataMethods inherited from class de.hybris.platform.travelfacades.fare.sorting.strategies.AbstractResultSortingStrategy
comparePricedItineraryByDepartureDate
-
Constructor Details
-
ArrivalTimeSortingStrategy
public ArrivalTimeSortingStrategy()
-
-
Method Details
-
sortFareSelectionData
Description copied from class:AbstractResultSortingStrategyMethod to sort the FareSelectionData- Specified by:
sortFareSelectionDatain classAbstractResultSortingStrategy- Parameters:
fareSelectionData- as the FareSelectionData to be sorted
-
getArrivalTime
Method to get the arrivalTime of a specific pricedItineraryData. The arrivalTime of a pricedItineraryData corresponds to the arrivalTime of the latest of its transportOfferings.- Parameters:
pricedItinerary- the priced itinerary- Returns:
- the arrivalTime of the latest of its transportOfferings
-