Class FlightSearchMessagePopulator

java.lang.Object
de.hybris.platform.prosfacades.converters.populator.FlightSearchMessagePopulator
All Implemented Interfaces:
de.hybris.platform.converters.Populator<FlightSearchRequestData,FareShopMessage>

public class FlightSearchMessagePopulator extends Object implements de.hybris.platform.converters.Populator<FlightSearchRequestData,FareShopMessage>
The type One search message populator.
  • Constructor Details

    • FlightSearchMessagePopulator

      public FlightSearchMessagePopulator()
  • Method Details

    • populate

      public void populate(FlightSearchRequestData source, FareShopMessage target)
      Specified by:
      populate in interface de.hybris.platform.converters.Populator<FlightSearchRequestData,FareShopMessage>
    • populateSearchRequest

      protected void populateSearchRequest(FlightSearchRequestData source, SearchRequest searchRequest)
      Populate search request.
      Parameters:
      source - the source
      searchRequest - the search request
    • populatePreferences

      protected void populatePreferences(SearchPreferencesData searchPreferences, SearchRequest searchRequest)
      Populate preferences.
      Parameters:
      searchPreferences -
      searchRequest -
    • populateSellers

      protected void populateSellers(SearchRequest searchRequest)
      Populate sellers.
      Parameters:
      searchRequest - the search request
    • populatePassengerTypes

      protected void populatePassengerTypes(SearchSegmentData searchSegment, SearchRequest searchRequest)
      Populate passenger types.
      Parameters:
      searchSegment - the searchSegment
      searchRequest - the search request
    • populateTripSegments

      protected void populateTripSegments(FlightSearchRequestData source, SearchRequest searchRequest)
      Populate trip segments.
      Parameters:
      source - the source
      searchRequest - the search request
    • populateSegmentPassenger

      protected void populateSegmentPassenger(SearchSegmentData segment, TripSegment tripSegment, SearchRequest searchRequest)
      Populate segment passenger.
      Parameters:
      segment - the source
      tripSegment - the trip segment
      searchRequest - the search request
    • populatePassengerGroup

      protected void populatePassengerGroup(SearchSegmentData source, SegmentPassengers segmentPassengers, SearchRequest searchRequest)
      Populate passenger group.
      Parameters:
      source - the source
      segmentPassengers - the segment passengers
      searchRequest -
    • populatePreferences

      protected void populatePreferences(SearchPreferencesData searchPreferences, TripSegment tripSegment)
      Populate preferences.
      Parameters:
      searchPreferences - search preferences
      tripSegment - the trip segment
    • populateDepartureDate

      protected void populateDepartureDate(SearchSegmentData segment, TripSegment tripSegment)
      Populate arrival date.
      Parameters:
      segment - the segments data
      tripSegment - the trip segment
    • getPassengerCodeToPaxTypeMapping

      protected Map<String,String> getPassengerCodeToPaxTypeMapping()
      Gets passenger code to pax type mapping.
      Returns:
      the passenger code to pax type mapping
    • setPassengerCodeToPaxTypeMapping

      public void setPassengerCodeToPaxTypeMapping(Map<String,String> passengerCodeToPaxTypeMapping)
      Sets passenger code to pax type mapping.
      Parameters:
      passengerCodeToPaxTypeMapping - the passenger code to pax type mapping
    • getCabinClassCodeToCabinMapping

      protected Map<String,String> getCabinClassCodeToCabinMapping()
      Gets cabin class code to cabin mapping.
      Returns:
      the cabin class code to cabin mapping
    • setCabinClassCodeToCabinMapping

      public void setCabinClassCodeToCabinMapping(Map<String,String> cabinClassCodeToCabinMapping)
      Sets cabin class code to cabin mapping.
      Parameters:
      cabinClassCodeToCabinMapping - the cabin class code to cabin mapping
    • 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
    • getStoreSessionFacade

      protected de.hybris.platform.commercefacades.storesession.StoreSessionFacade getStoreSessionFacade()
    • setStoreSessionFacade

      public void setStoreSessionFacade(de.hybris.platform.commercefacades.storesession.StoreSessionFacade storeSessionFacade)
      Sets store session facade.
      Parameters:
      storeSessionFacade - the store session facade
    • getCouponService

      protected de.hybris.platform.couponservices.services.CouponService getCouponService()
      Get coupon service
      Returns:
    • setCouponService

      public void setCouponService(de.hybris.platform.couponservices.services.CouponService couponService)
      Set coupon service
      Parameters:
      couponService -
    • getUserService

      protected de.hybris.platform.servicelayer.user.UserService getUserService()
      Get user service
      Returns:
    • setUserService

      public void setUserService(de.hybris.platform.servicelayer.user.UserService userService)
      Set User service
      Parameters:
      userService -