Class DefaultMerchandisingRequestFlightPriceInfoHandler
java.lang.Object
de.hybris.platform.prosfacades.ancillary.search.handlers.impl.DefaultMerchandisingRequestFlightPriceInfoHandler
- All Implemented Interfaces:
MerchandisingRequestHandler
public class DefaultMerchandisingRequestFlightPriceInfoHandler
extends Object
implements MerchandisingRequestHandler
The Pros implementation of
MerchandisingRequestHandler interface. This class populates the flightPriceInfos in the
merchandising request.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected Set<MerchandisingFare>createFares(SearchResponseWrapper searchResponseWrapper) Creates the fare set from the search response wrapper.protected FlightPriceInfocreateFlightPriceInfos(SearchResponseWrapper searchResponseWrapper) Creates the flight price info from the searchResponseWrapper saved in the cart.voidhandle(MerchandisingRequest merchandisingRequest, CartModel cart, SearchResponseWrapper searchResponseWrapper) This handler populates the flightPriceInfo list of a merchandising request.
-
Constructor Details
-
DefaultMerchandisingRequestFlightPriceInfoHandler
public DefaultMerchandisingRequestFlightPriceInfoHandler()
-
-
Method Details
-
handle
public void handle(MerchandisingRequest merchandisingRequest, CartModel cart, SearchResponseWrapper searchResponseWrapper) This handler populates the flightPriceInfo list of a merchandising request.- Specified by:
handlein interfaceMerchandisingRequestHandler- Parameters:
merchandisingRequest- the merchandisingRequestcart- the cartsearchResponseWrapper- the searchResponseWrapper
-
createFlightPriceInfos
Creates the flight price info from the searchResponseWrapper saved in the cart.- Parameters:
searchResponseWrapper- the search response wrapper- Returns:
- the flight price info
-
createFares
Creates the fare set from the search response wrapper.- Parameters:
searchResponseWrapper- the search response wrapper- Returns:
- the set of fares
-