Class ServiceListAlaCarteOffersHandler

java.lang.Object
de.hybris.platform.ndc182shoppingfacades.facades.servicelist.handlers.impl.AbstractAlaCarteOffersHandler
de.hybris.platform.ndc182shoppingfacades.facades.servicelist.handlers.impl.ServiceListAlaCarteOffersHandler
All Implemented Interfaces:
ServiceListHandler<ShoppingMerchandisingHandlerData>

public class ServiceListAlaCarteOffersHandler extends AbstractAlaCarteOffersHandler implements ServiceListHandler<ShoppingMerchandisingHandlerData>
The ndc implementation of ServiceListHandler interface to populate the alacarte offers fields.
  • Constructor Details

    • ServiceListAlaCarteOffersHandler

      public ServiceListAlaCarteOffersHandler()
  • Method Details

    • handle

      public void handle(ShoppingMerchandisingHandlerData shoppingMerchandisingHandlerData, IATAServiceListRS serviceListRS) throws NDCException, NDCCacheException
      Description copied from interface: ServiceListHandler
      Handles data from source to serviceListRS.
      Specified by:
      handle in interface ServiceListHandler<ShoppingMerchandisingHandlerData>
      Parameters:
      shoppingMerchandisingHandlerData - the source
      serviceListRS - the serviceListRS
      Throws:
      NDCException
      NDCCacheException
    • createAlaCarteOfferItems

      protected List<ALaCarteOfferItemType> createAlaCarteOfferItems(ShoppingMerchandisingHandlerData shoppingMerchandisingHandlerData) throws NDCException
      Creates ala carte offer items list.
      Parameters:
      shoppingMerchandisingHandlerData - the offer item ids
      Returns:
      the list
      Throws:
      NDCException - the NDCException
    • createAlaCarteOfferItemsFromOriginDestinationOfferInfoData

      protected List<ALaCarteOfferItemType> createAlaCarteOfferItemsFromOriginDestinationOfferInfoData(List<AncillaryData> ancillaryData)
      Create ALaCarteOfferItemType from AncillaryData
      Parameters:
      ancillaryData - the ancillaryData
      Returns:
      List
    • getNdcMerchandisingFacade

      protected NDCShoppingMerchandisingFacade getNdcMerchandisingFacade()
      get ndcMerchandisingFacade
      Returns:
      ndcMerchandisingFacade
    • setNdcMerchandisingFacade

      public void setNdcMerchandisingFacade(NDCShoppingMerchandisingFacade ndcMerchandisingFacade)
      set ndcMerchandisingFacade
      Parameters:
      ndcMerchandisingFacade - the ndcMerchandisingFacade
    • 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
    • getBaseSiteService

      protected de.hybris.platform.site.BaseSiteService getBaseSiteService()
      Gets base site service.
      Returns:
      the base site service
    • setBaseSiteService

      public void setBaseSiteService(de.hybris.platform.site.BaseSiteService baseSiteService)
      Sets base site service.
      Parameters:
      baseSiteService - the base site service
    • getKeyGenerator

      protected de.hybris.platform.servicelayer.keygenerator.KeyGenerator getKeyGenerator()
      Gets key generator.
      Returns:
      the key generator
    • setKeyGenerator

      public void setKeyGenerator(de.hybris.platform.servicelayer.keygenerator.KeyGenerator keyGenerator)
      Sets key generator.
      Parameters:
      keyGenerator - the key generator
    • 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