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 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: PopulatePropertyMapStrategy
      Method that populates the propertyMap for a product
      Specified by:
      populatePropertiesMap in interface PopulatePropertyMapStrategy
      Parameters:
      travelRouteCode - the travel route code
      originDestinationRefNumber - the origin destination ref number
      transportOfferingCodes - the transport offering codes
      travellersList - the travellers list
      active - the active
      amendStatus - the amend status
      Returns:
      the propertyMap
    • getTravelRouteService

      protected TravelRouteService getTravelRouteService()
      Returns:
      the travelRouteService
    • setTravelRouteService

      public void setTravelRouteService(TravelRouteService travelRouteService)
      Parameters:
      travelRouteService - the travelRouteService to set
    • getTransportOfferingService

      protected TransportOfferingService getTransportOfferingService()
      Returns:
      the transportOfferingService
    • setTransportOfferingService

      public void setTransportOfferingService(TransportOfferingService transportOfferingService)
      Parameters:
      transportOfferingService - the transportOfferingService to set