Class DefaultOfferPriceOriginDestinationListHandler
java.lang.Object
de.hybris.platform.ndc182facades.facades.offerprice.handlers.impl.DefaultOfferPriceOriginDestinationListHandler
- All Implemented Interfaces:
OfferPriceDataListsHandler
public class DefaultOfferPriceOriginDestinationListHandler
extends Object
implements OfferPriceDataListsHandler
The ndc 182 implementation of
OfferPriceDataListsHandler interface.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected TravelRouteFacadeGets travel route facade.voidhandle(NDCCarrierOfferData ndcOfferData, Set<Service1Type> services, DataListsType dataListsType) This handler populates the originDestinationList in the datalists field.voidsetTravelRouteFacade(TravelRouteFacade travelRouteFacade) Sets travel route facade.
-
Constructor Details
-
DefaultOfferPriceOriginDestinationListHandler
public DefaultOfferPriceOriginDestinationListHandler()
-
-
Method Details
-
handle
public void handle(NDCCarrierOfferData ndcOfferData, Set<Service1Type> services, DataListsType dataListsType) This handler populates the originDestinationList in the datalists field. Since the offer corresponds either to an inbound or an outbound and offeritems are per passengerType (ptc), the originDestination list can be populated taking only one. offeritem.- Specified by:
handlein interfaceOfferPriceDataListsHandler- Parameters:
ndcOfferData- the ndcOfferDataservices- the servicesdataListsType- the dataListsType
-
getTravelRouteFacade
Gets travel route facade.- Returns:
- the travel route facade
-
setTravelRouteFacade
Sets travel route facade.- Parameters:
travelRouteFacade- the travel route facade
-