java.lang.Object
de.hybris.platform.ndc182shoppingfacades.facades.offerprice.handlers.impl.DataListsOfferPriceHandler
All Implemented Interfaces:
OfferPriceHandler

public class DataListsOfferPriceHandler extends Object implements OfferPriceHandler
Populates offer price response from NDC offer
  • Constructor Details

    • DataListsOfferPriceHandler

      public DataListsOfferPriceHandler()
  • Method Details

    • handle

      public void handle(NDCCarrierOfferData ndcOfferData, IATAOfferPriceRS offerPriceRS) throws NDCException
      Description copied from interface: OfferPriceHandler
      Handles data from ndcOfferData to offerPriceRS.
      Specified by:
      handle in interface OfferPriceHandler
      Parameters:
      ndcOfferData - the ndcOffersData
      offerPriceRS - the offerPriceRS
      Throws:
      NDCException
    • populateOriginDestination

      protected void populateOriginDestination(NDCCarrierOfferData ndcOfferData, DataListsType dataListsType)
      Populates origin destination from NDC offer to DataListsType.
      Parameters:
      ndcOfferData - the NDC offer
      dataListsType - the dataListsType
    • populatePaxJourney

      protected void populatePaxJourney(NDCCarrierOfferData ndcOfferData, DataListsType dataListsType)
      Populates passenger journeys from NDC offer to DataListsType.
      Parameters:
      ndcOfferData - the NDC offer
      dataListsType - the dataListsType
    • populatePax

      protected void populatePax(NDCCarrierOfferData ndcOfferData, DataListsType dataListsType)
      Populates passengers from NDC offer to DataListsType.
      Parameters:
      ndcOfferData - the NDC offer
      dataListsType - the dataListsType
    • populatePaxSegment

      protected void populatePaxSegment(NDCCarrierOfferData ndcOfferData, DataListsType dataListsType) throws NDCException
      Populates passenger segments from NDC offer to DataListsType.
      Parameters:
      ndcOfferData - the NDC offer
      dataListsType - the dataListsType
      Throws:
      NDCException
    • createPaxSegmentFromTransportOfferings

      protected Set<PaxSegmentType> createPaxSegmentFromTransportOfferings(Set<String> transportOfferingCodes) throws NDCException
      Creates passenger segments from transport offering codes.
      Parameters:
      transportOfferingCodes - the transport offering codes
      Returns:
      passenger segments
      Throws:
      NDCException
    • getTransportOfferingService

      protected TransportOfferingService getTransportOfferingService()
      Gets transport offering service.
      Returns:
      the transport offering service
    • setTransportOfferingService

      public void setTransportOfferingService(TransportOfferingService transportOfferingService)
      Sets transport offering service.
      Parameters:
      transportOfferingService - the transport offering service
    • 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