Class DefaultOfferPricePriceClassListHandler
java.lang.Object
de.hybris.platform.ndc182facades.facades.offerprice.handlers.impl.DefaultOfferPricePriceClassListHandler
- All Implemented Interfaces:
OfferPriceDataListsHandler
public class DefaultOfferPricePriceClassListHandler
extends Object
implements OfferPriceDataListsHandler
The ndc 182 implementation of
OfferPriceDataListsHandler interface.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected de.hybris.platform.site.BaseSiteServiceGets base site service.protected StringGets product catalog id from baseSiteService.protected TravelBundleTemplateServiceGets travel bundle template service.voidhandle(NDCCarrierOfferData ndcOfferData, Set<Service1Type> services, DataListsType dataListsType) This handler populates the PriceClassList (the classes of all the fare products included in the offer, i.e.voidsetBaseSiteService(de.hybris.platform.site.BaseSiteService baseSiteService) Sets base site service.voidsetTravelBundleTemplateService(TravelBundleTemplateService travelBundleTemplateService) Sets travel bundle template service.
-
Constructor Details
-
DefaultOfferPricePriceClassListHandler
public DefaultOfferPricePriceClassListHandler()
-
-
Method Details
-
handle
public void handle(NDCCarrierOfferData ndcOfferData, Set<Service1Type> services, DataListsType dataListsType) throws NDCException This handler populates the PriceClassList (the classes of all the fare products included in the offer, i.e. Economy class, Business class) in the dataLists field.- Specified by:
handlein interfaceOfferPriceDataListsHandler- Parameters:
ndcOfferData- the ndcOfferDataservices- the servicesdataListsType- the dataListsType- Throws:
NDCException
-
getProductCatalogIdFromBaseSiteService
Gets product catalog id from baseSiteService.- Returns:
- the product catalog
- Throws:
NDCException
-
getTravelBundleTemplateService
Gets travel bundle template service.- Returns:
- the travel bundle template service
-
setTravelBundleTemplateService
Sets travel bundle template service.- Parameters:
travelBundleTemplateService- the travel bundle template 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
-