Class IntelliPricerMessagePopulator

java.lang.Object
de.hybris.platform.prosfacades.converters.populator.IntelliPricerMessagePopulator
All Implemented Interfaces:
de.hybris.platform.converters.Populator<List<AddBundleToCartRequestData>,IntelliPricerMessage>
Direct Known Subclasses:
DealIntelliPricerMessagePopulator

public class IntelliPricerMessagePopulator extends Object implements de.hybris.platform.converters.Populator<List<AddBundleToCartRequestData>,IntelliPricerMessage>
The type Intelli pricer message populator.
  • Constructor Details

    • IntelliPricerMessagePopulator

      public IntelliPricerMessagePopulator()
  • Method Details

    • populate

      public void populate(List<AddBundleToCartRequestData> source, IntelliPricerMessage target)
      Specified by:
      populate in interface de.hybris.platform.converters.Populator<List<AddBundleToCartRequestData>,IntelliPricerMessage>
    • populateIntelliPricer

      protected void populateIntelliPricer(List<AddBundleToCartRequestData> source, IntelliPricerRequest intelliPricer)
      Populate intelli pricer.
      Parameters:
      source - the source
      intelliPricer - the intelli pricer
    • populatePassengerGroups

      protected void populatePassengerGroups(AddBundleToCartRequestData addBundleToCartRequestData, IntelliPricerRequest intelliPricerRequest)
      Populate passenger group.
      Parameters:
      addBundleToCartRequestData - the add bundle to cart request data
      intelliPricerRequest - the intelli pricer request
    • populateOriginDestinationGroups

      protected void populateOriginDestinationGroups(List<AddBundleToCartRequestData> source, IntelliPricerRequest intelliPricer)
      Populate origin destination groups.
      Parameters:
      source - the source
      intelliPricer - the intelli pricer
    • populateFareRestrictions

      protected void populateFareRestrictions(AddBundleToCartRequestData addBundleToCartRequestData, OriginDestinationGroup originDestinationGroup, IntelliPricerRequest intelliPricerRequest)
      Populate fare restrictions.
      Parameters:
      addBundleToCartRequestData - the add bundle to cart request data
      originDestinationGroup - the origin destination group
      intelliPricerRequest - the intelli pricer request
    • getNextFareRestrictionId

      protected int getNextFareRestrictionId(IntelliPricerRequest intelliPricer)
      Gets next fare restriction id.
      Parameters:
      intelliPricer - the intelli pricer
      Returns:
      the next fare restriction id
    • populateFlights

      protected void populateFlights(AddBundleToCartRequestData addBundleToCartRequestData, AddBundleToCartData addBundleToCartData, OriginDestinationGroup originDestinationGroup, int flightNumber)
      Populate flights.
      Parameters:
      addBundleToCartRequestData - the add bundle to cart request data
      addBundleToCartData - the add bundle to cart data
      originDestinationGroup - the origin destination group
      flightNumber - the flight number
    • populateRBDs

      protected String populateRBDs(TransportOfferingModel transportOffering, AddBundleToCartRequestData addBundleToCartRequestData)
      Populate rb ds string.
      Parameters:
      transportOffering - the transport offering
      addBundleToCartRequestData - the add bundle to cart request data
      Returns:
      the string
    • populatePreferences

      protected void populatePreferences(IntelliPricerRequest intelliPricerRequest)
      Populate preferences.
      Parameters:
      intelliPricerRequest - the intelli pricer request
    • populateSellers

      protected void populateSellers(IntelliPricerRequest intelliPricerRequest)
      Populate sellers.
      Parameters:
      intelliPricerRequest - the intelli pricer request
    • populatePassengerTypes

      protected void populatePassengerTypes(AddBundleToCartRequestData addBundleToCartRequestData, IntelliPricerRequest intelliPricerRequest)
      Populate passenger types.
      Parameters:
      addBundleToCartRequestData - the add bundle to cart request data
      intelliPricerRequest - the intelli pricer request
    • 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
    • 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
    • getProsTransportOfferingService

      protected PROSTransportOfferingService getProsTransportOfferingService()
      Gets the pros transport offering service
      Returns:
      the pros transport offering service
    • setProsTransportOfferingService

      public void setProsTransportOfferingService(PROSTransportOfferingService prosTransportOfferingService)
      Sets the pros transport offering service
      Parameters:
      prosTransportOfferingService - the pros transport offering service
    • getStoreSessionFacade

      protected de.hybris.platform.commercefacades.storesession.StoreSessionFacade getStoreSessionFacade()
      Gets store session facade.
      Returns:
      the store session facade
    • setStoreSessionFacade

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