Interface ShoppingTransportOfferingService
- All Superinterfaces:
TransportOfferingService
- All Known Subinterfaces:
PROSTransportOfferingService
- All Known Implementing Classes:
DefaultPROSTransportOfferingService,DefaultShoppingTransportOfferingService
This interface exposes the methods for getting the origin and the destination given a list of transport offerings.
-
Method Summary
Modifier and TypeMethodDescriptiongetDestination(List<TransportOfferingModel> transportOfferings) Gets the destination from a sorted list of transport offerings.getOrigin(List<TransportOfferingModel> transportOfferings) Gets the origin from a sorted list of transport offerings.Methods inherited from interface de.hybris.platform.travelservices.services.TransportOfferingService
createTransportOfferingForScheduleConfiguration, getTransportOffering, getTransportOfferings, getTransportOfferings, getTransportOfferings, getTransportOfferings, getTransportOfferingsFromOrderEntries, getTransportOfferingsMap, isTransportOfferingInThePast
-
Method Details
-
getOrigin
Gets the origin from a sorted list of transport offerings.- Parameters:
transportOfferings- a list of transport offerings- Returns:
- the origin location
-
getDestination
Gets the destination from a sorted list of transport offerings.- Parameters:
transportOfferings- a list of transport offerings- Returns:
- the destination location
-