Class ServiceListPaxJourneyListHandler
java.lang.Object
de.hybris.platform.ndc182shoppingfacades.facades.servicelist.handlers.impl.ServiceListPaxJourneyListHandler
- All Implemented Interfaces:
ServiceListDataListHandler<ShoppingMerchandisingHandlerData>
public class ServiceListPaxJourneyListHandler
extends Object
implements ServiceListDataListHandler<ShoppingMerchandisingHandlerData>
The ndc implementation of
ServiceListDataListHandler interface to populate the pax journeys.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected PaxJourneyTypeconvertSegment(List<TransportOfferingHandlerData> segmentFlights) Creates pax journey from the list of flights.voidhandle(ShoppingMerchandisingHandlerData shoppingMerchandisingHandlerData, Set<ServiceType> services, DataListsType dataListsType) This handler populates the paxJourneyList (list of travel segments) in the dataLists field.
-
Constructor Details
-
ServiceListPaxJourneyListHandler
public ServiceListPaxJourneyListHandler()
-
-
Method Details
-
handle
public void handle(ShoppingMerchandisingHandlerData shoppingMerchandisingHandlerData, Set<ServiceType> services, DataListsType dataListsType) throws NDCException This handler populates the paxJourneyList (list of travel segments) in the dataLists field.- Specified by:
handlein interfaceServiceListDataListHandler<ShoppingMerchandisingHandlerData>- Parameters:
shoppingMerchandisingHandlerData- the shoppingMerchandisingHandlerDatadataListsType- the dataListsTypeservices- the services- Throws:
NDCException
-
convertSegment
Creates pax journey from the list of flights.- Parameters:
segmentFlights- the list of flights- Returns:
- the pax journey
-