Class AirShoppingTravelPreferencePopulator
java.lang.Object
de.hybris.platform.ndc182facades.facades.airshopping.populators.AirShoppingTravelPreferencePopulator
- All Implemented Interfaces:
de.hybris.platform.converters.Populator<IATAAirShoppingRQ,FareSearchRequestData>
public class AirShoppingTravelPreferencePopulator
extends Object
implements de.hybris.platform.converters.Populator<IATAAirShoppingRQ,FareSearchRequestData>
Populates the travelpreferences for the fareSearchRequestData from the airShoppingRQ
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected CabinClassServiceGets cabin class service.protected de.hybris.platform.servicelayer.config.ConfigurationServiceGets configuration service.voidpopulate(IATAAirShoppingRQ airShoppingRQ, FareSearchRequestData fareSearchRequestData) protected voidpopulateCabinPreference(TravelPreferencesData travelPreferences, IATAAirShoppingRQ airShoppingRQ) Populate cabin preference.voidsetCabinClassService(CabinClassService cabinClassService) Sets cabin class service.voidsetConfigurationService(de.hybris.platform.servicelayer.config.ConfigurationService configurationService) Sets configuration service.
-
Constructor Details
-
AirShoppingTravelPreferencePopulator
public AirShoppingTravelPreferencePopulator()
-
-
Method Details
-
populate
- Specified by:
populatein interfacede.hybris.platform.converters.Populator<IATAAirShoppingRQ,FareSearchRequestData>
-
populateCabinPreference
protected void populateCabinPreference(TravelPreferencesData travelPreferences, IATAAirShoppingRQ airShoppingRQ) Populate cabin preference.- Parameters:
travelPreferences- the travel preferencesairShoppingRQ- the air shopping rq
-
getConfigurationService
protected de.hybris.platform.servicelayer.config.ConfigurationService getConfigurationService()Gets configuration service.- Returns:
- the configuration service
-
setConfigurationService
public void setConfigurationService(de.hybris.platform.servicelayer.config.ConfigurationService configurationService) Sets configuration service.- Parameters:
configurationService- the configuration service
-
getCabinClassService
Gets cabin class service.- Returns:
- the cabin class service
-
setCabinClassService
Sets cabin class service.- Parameters:
cabinClassService- the cabin class service
-