Class UpdatePassengerOrderReshopOffersHandler

java.lang.Object
de.hybris.platform.ndc182shoppingfacades.facades.order.handlers.impl.UpdatePassengerOrderReshopOffersHandler
All Implemented Interfaces:
UpdatePassengerOrderReshopRSHandler

public class UpdatePassengerOrderReshopOffersHandler extends Object implements UpdatePassengerOrderReshopRSHandler
The Flight change order reshop basic handler.
  • Constructor Details

    • UpdatePassengerOrderReshopOffersHandler

      public UpdatePassengerOrderReshopOffersHandler()
  • Method Details

    • handle

      public void handle(orderreshoprequest.IATAOrderReshopRQ orderReshopRQ, orderreshopresponse.IATAOrderReshopRS orderReshopRS) throws NDCException, NDCCacheException
      Description copied from interface: UpdatePassengerOrderReshopRSHandler
      Handle.
      Specified by:
      handle in interface UpdatePassengerOrderReshopRSHandler
      Parameters:
      orderReshopRQ - the order reshop rq
      orderReshopRS - the order reshop rs
      Throws:
      NDCException - the ndc exception
      NDCCacheException - the ndc cache exception
    • createOfferItem

      protected orderreshopresponse.NameChangeOfferItemType createOfferItem(orderreshoprequest.IATAOrderReshopRQ orderReshopRQ, List<NDCCarrierOfferItemData> ndcCarrierOfferItems)
      Create offer item name change offer item type.
      Parameters:
      orderReshopRQ - the order reshop rq
      ndcCarrierOfferItems - the ndc carrier offer items
      Returns:
      the name change offer item type
    • createOfferItemsForCache

      protected NDCCarrierOfferItemData createOfferItemsForCache(orderreshoprequest.UpdatePaxNameType updatePaxNameType, String offerItemId)
      Create offer items for cache ndc carrier offer item data.
      Parameters:
      updatePaxNameType - the update pax name type
      offerItemId - the offer item id
      Returns:
      the ndc carrier offer item data
    • getNdcOfferIDGenerator

      protected de.hybris.platform.servicelayer.keygenerator.KeyGenerator getNdcOfferIDGenerator()
      Gets ndc offer id generator.
      Returns:
      the ndc offer id generator
    • setNdcOfferIDGenerator

      public void setNdcOfferIDGenerator(de.hybris.platform.servicelayer.keygenerator.KeyGenerator ndcOfferIDGenerator)
      Sets ndc offer id generator.
      Parameters:
      ndcOfferIDGenerator - the ndc offer id generator
    • getNdcOfferFacade

      protected NDCOfferFacade getNdcOfferFacade()
      Gets ndc offer facade.
      Returns:
      the ndc offer facade
    • setNdcOfferFacade

      public void setNdcOfferFacade(NDCOfferFacade ndcOfferFacade)
      Sets ndc offer facade.
      Parameters:
      ndcOfferFacade - the ndc offer facade
    • getConfigurationService

      public 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