Class DefaultOfferPricePaxJourneyListHandler
java.lang.Object
de.hybris.platform.ndc182facades.facades.offerprice.handlers.impl.DefaultOfferPricePaxJourneyListHandler
- All Implemented Interfaces:
OfferPriceDataListsHandler
public class DefaultOfferPricePaxJourneyListHandler
extends Object
implements OfferPriceDataListsHandler
The ndc 182 implementation of
OfferPriceDataListsHandler interface.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidhandle(NDCCarrierOfferData ndcOfferData, Set<Service1Type> services, DataListsType dataListsType) This handler populates the paxJourney List (list of travel routes for the priced offer) in the dataLists field.
-
Constructor Details
-
DefaultOfferPricePaxJourneyListHandler
public DefaultOfferPricePaxJourneyListHandler()
-
-
Method Details
-
handle
public void handle(NDCCarrierOfferData ndcOfferData, Set<Service1Type> services, DataListsType dataListsType) This handler populates the paxJourney List (list of travel routes for the priced offer) in the dataLists field. Since the offer corresponds either to an inbound or an outbound and offeritems are per passengerType (ptc), the paxJourney list can be populated taking only one.- Specified by:
handlein interfaceOfferPriceDataListsHandler- Parameters:
ndcOfferData- the ndcOfferDataservices- the servicesdataListsType- the dataListsType
-