Class LegInfoRaoPopulator
java.lang.Object
de.hybris.platform.travelrulesengine.converters.populator.LegInfoRaoPopulator
- All Implemented Interfaces:
de.hybris.platform.converters.Populator<FareSearchRequestData,FareSearchRequestRAO>
public class LegInfoRaoPopulator
extends Object
implements de.hybris.platform.converters.Populator<FareSearchRequestData,FareSearchRequestRAO>
Populates FareSearchRequestRAO leg info and trip type attributes from FareSearchRequestData
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected LegInfoRAOCreate leg info leg info rao.protected de.hybris.platform.servicelayer.time.TimeServiceGets time service.voidpopulate(FareSearchRequestData source, FareSearchRequestRAO target) voidsetTimeService(de.hybris.platform.servicelayer.time.TimeService timeService) Sets time service.
-
Constructor Details
-
LegInfoRaoPopulator
public LegInfoRaoPopulator()
-
-
Method Details
-
populate
public void populate(FareSearchRequestData source, FareSearchRequestRAO target) throws de.hybris.platform.servicelayer.dto.converter.ConversionException - Specified by:
populatein interfacede.hybris.platform.converters.Populator<FareSearchRequestData,FareSearchRequestRAO> - Throws:
de.hybris.platform.servicelayer.dto.converter.ConversionException
-
createLegInfo
Create leg info leg info rao.- Parameters:
odInfo- the od info- Returns:
- the leg info rao
-
getTimeService
protected de.hybris.platform.servicelayer.time.TimeService getTimeService()Gets time service.- Returns:
- the time service
-
setTimeService
public void setTimeService(de.hybris.platform.servicelayer.time.TimeService timeService) Sets time service.- Parameters:
timeService- the time service
-