Class DefaultNDCMerchandisingRequestFlightPriceInfoHandler
java.lang.Object
de.hybris.platform.ndc182prosfacades.facades.servicelist.handlers.impl.DefaultNDCMerchandisingRequestFlightPriceInfoHandler
- All Implemented Interfaces:
NDCMerchandisingRequestHandler
public class DefaultNDCMerchandisingRequestFlightPriceInfoHandler
extends Object
implements NDCMerchandisingRequestHandler
The NDC implementation of
MerchandisingRequestHandler interface. This class populates the flightPriceInfos in the
merchandising request.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected Set<MerchandisingFare>createFares(ShoppingMerchandisingHandlerData shoppingMerchandisingHandlerData) Creates the fare set from the search response wrapper.protected FlightPriceInfocreateFlightPriceInfos(ShoppingMerchandisingHandlerData shoppingMerchandisingHandlerData) Creates the flight price info from the searchResponseWrapper saved in the ndcOfferItemHandlerData.voidhandle(MerchandisingRequest merchandisingRequest, ShoppingMerchandisingHandlerData shoppingMerchandisingHandlerData) This handler populates the flightPriceInfo list of a merchandising request.
-
Constructor Details
-
DefaultNDCMerchandisingRequestFlightPriceInfoHandler
public DefaultNDCMerchandisingRequestFlightPriceInfoHandler()
-
-
Method Details
-
handle
public void handle(MerchandisingRequest merchandisingRequest, ShoppingMerchandisingHandlerData shoppingMerchandisingHandlerData) This handler populates the flightPriceInfo list of a merchandising request.- Specified by:
handlein interfaceNDCMerchandisingRequestHandler- Parameters:
merchandisingRequest- the merchandisingRequestshoppingMerchandisingHandlerData- the shoppingMerchandisingHandlerData
-
createFlightPriceInfos
protected FlightPriceInfo createFlightPriceInfos(ShoppingMerchandisingHandlerData shoppingMerchandisingHandlerData) Creates the flight price info from the searchResponseWrapper saved in the ndcOfferItemHandlerData.- Parameters:
shoppingMerchandisingHandlerData- the handler data- Returns:
- the flight price info
-
createFares
protected Set<MerchandisingFare> createFares(ShoppingMerchandisingHandlerData shoppingMerchandisingHandlerData) Creates the fare set from the search response wrapper.- Parameters:
shoppingMerchandisingHandlerData- the shoppingMerchandisingHandlerData- Returns:
- the set of fares
-