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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected orderreshopresponse.NameChangeOfferItemTypecreateOfferItem(orderreshoprequest.IATAOrderReshopRQ orderReshopRQ, List<NDCCarrierOfferItemData> ndcCarrierOfferItems) Create offer item name change offer item type.protected NDCCarrierOfferItemDatacreateOfferItemsForCache(orderreshoprequest.UpdatePaxNameType updatePaxNameType, String offerItemId) Create offer items for cache ndc carrier offer item data.de.hybris.platform.servicelayer.config.ConfigurationServiceGets configuration service.protected NDCOfferFacadeGets ndc offer facade.protected de.hybris.platform.servicelayer.keygenerator.KeyGeneratorGets ndc offer id generator.voidhandle(orderreshoprequest.IATAOrderReshopRQ orderReshopRQ, orderreshopresponse.IATAOrderReshopRS orderReshopRS) Handle.voidsetConfigurationService(de.hybris.platform.servicelayer.config.ConfigurationService configurationService) Sets configuration service.voidsetNdcOfferFacade(NDCOfferFacade ndcOfferFacade) Sets ndc offer facade.voidsetNdcOfferIDGenerator(de.hybris.platform.servicelayer.keygenerator.KeyGenerator ndcOfferIDGenerator) Sets ndc offer id generator.
-
Constructor Details
-
UpdatePassengerOrderReshopOffersHandler
public UpdatePassengerOrderReshopOffersHandler()
-
-
Method Details
-
handle
public void handle(orderreshoprequest.IATAOrderReshopRQ orderReshopRQ, orderreshopresponse.IATAOrderReshopRS orderReshopRS) throws NDCException, NDCCacheException Description copied from interface:UpdatePassengerOrderReshopRSHandlerHandle.- Specified by:
handlein interfaceUpdatePassengerOrderReshopRSHandler- Parameters:
orderReshopRQ- the order reshop rqorderReshopRS- the order reshop rs- Throws:
NDCException- the ndc exceptionNDCCacheException- 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 rqndcCarrierOfferItems- 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 typeofferItemId- 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
Gets ndc offer facade.- Returns:
- the ndc offer facade
-
setNdcOfferFacade
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
-