Class AirShoppingDataListsHandler
java.lang.Object
de.hybris.platform.ndc182shoppingfacades.facades.airshopping.handlers.impl.AirShoppingDataListsHandler
- All Implemented Interfaces:
AirshoppingHandler
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected PaxJourneyListTypecreatePaxJourneyList(List<FlightGroupData> flightGroups) Create pax journey list.protected PaxListTypecreatePaxList(List<PassengerData> passengers) Create pax list.protected PaxSegmentListTypecreatePaxSegmentList(List<FlightData> flights) Create pax segment list.protected PriceClassListTypecreatePriceClassList(List<FareBundleData> fareBundles) Create price class list.protected ServiceDefinitionListTypecreateServiceDefinitionList(List<FareData> fares, List<BasicProductData> fareBundleProducts) Create service definition list.protected PassengerTypeServiceGets passenger type service.voidhandle(FlightSearchResponseData flightSearchResponseData, IATAAirShoppingRS airShoppingRS) PopulateIATAAirShoppingRSfromFlightSearchResponseDatavoidsetPassengerTypeService(PassengerTypeService passengerTypeService) Sets passenger type service.
-
Constructor Details
-
AirShoppingDataListsHandler
public AirShoppingDataListsHandler()
-
-
Method Details
-
handle
public void handle(FlightSearchResponseData flightSearchResponseData, IATAAirShoppingRS airShoppingRS) Description copied from interface:AirshoppingHandlerPopulateIATAAirShoppingRSfromFlightSearchResponseData- Specified by:
handlein interfaceAirshoppingHandler- Parameters:
flightSearchResponseData- the flight search response dataairShoppingRS- the air shopping rs
-
createPaxJourneyList
Create pax journey list.- Parameters:
flightGroups- the flight groups- Returns:
- the pax journey list type
-
createPaxList
Create pax list.- Parameters:
passengers- the passengers- Returns:
- the pax list type
-
createPaxSegmentList
Create pax segment list.- Parameters:
flights- the flights- Returns:
- the pax segment list type
-
createPriceClassList
Create price class list.- Parameters:
fareBundles- the fare bundles- Returns:
- the price class list type
-
createServiceDefinitionList
protected ServiceDefinitionListType createServiceDefinitionList(List<FareData> fares, List<BasicProductData> fareBundleProducts) Create service definition list.- Parameters:
fares- the faresfareBundleProducts- the fare bundle products- Returns:
- the service definition list type
-
getPassengerTypeService
Gets passenger type service.- Returns:
- the passenger type service
-
setPassengerTypeService
Sets passenger type service.- Parameters:
passengerTypeService- the passenger type service
-