Class PerLegPopulatePropertyMapStrategy
java.lang.Object
de.hybris.platform.travelfacades.order.strategies.impl.PerLegPopulatePropertyMapStrategy
- All Implemented Interfaces:
PopulatePropertyMapStrategy
public class PerLegPopulatePropertyMapStrategy
extends Object
implements PopulatePropertyMapStrategy
Class responsible to populate the propertyMap for product with addToCartCriteria PER_PAX
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected TransportOfferingServiceprotected TravelRouteServicepopulatePropertiesMap(String travelRouteCode, int originDestinationRefNumber, List<String> transportOfferingCodes, List<TravellerModel> travellersList, Boolean active, AmendStatus amendStatus) Method that populates the propertyMap for a productvoidsetTransportOfferingService(TransportOfferingService transportOfferingService) voidsetTravelRouteService(TravelRouteService travelRouteService)
-
Constructor Details
-
PerLegPopulatePropertyMapStrategy
public PerLegPopulatePropertyMapStrategy()
-
-
Method Details
-
populatePropertiesMap
public Map<String,Object> populatePropertiesMap(String travelRouteCode, int originDestinationRefNumber, List<String> transportOfferingCodes, List<TravellerModel> travellersList, Boolean active, AmendStatus amendStatus) Description copied from interface:PopulatePropertyMapStrategyMethod that populates the propertyMap for a product- Specified by:
populatePropertiesMapin interfacePopulatePropertyMapStrategy- Parameters:
travelRouteCode- the travel route codeoriginDestinationRefNumber- the origin destination ref numbertransportOfferingCodes- the transport offering codestravellersList- the travellers listactive- the activeamendStatus- the amend status- Returns:
- the propertyMap
-
getTravelRouteService
- Returns:
- the travelRouteService
-
setTravelRouteService
- Parameters:
travelRouteService- the travelRouteService to set
-
getTransportOfferingService
- Returns:
- the transportOfferingService
-
setTransportOfferingService
- Parameters:
transportOfferingService- the transportOfferingService to set
-