Class UpdateUpgradeBundlePricesHandler
java.lang.Object
de.hybris.platform.travelfacades.fare.search.handlers.impl.UpdateUpgradeBundlePricesHandler
- All Implemented Interfaces:
FareSearchHandler
Concrete implementation of the
FareSearchHandler interface. Handler is responsible for populating the total
prices for ItineraryPricingInfoData with respect to selected ItineraryPricingInfoData of each pricedItineraryData-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected TravelBundleTemplateFacadevoidhandle(List<ScheduledRouteData> scheduledRoutes, FareSearchRequestData fareSearchRequestData, FareSelectionData fareSelectionData) Handle method.voidsetTravelBundleTemplateFacade(TravelBundleTemplateFacade travelBundleTemplateFacade) protected voidupdateFormattedValue(PriceData priceData) Updates the formattedValue property of the givenPriceDatato display a PLUS SIGN for non negative values
-
Constructor Details
-
UpdateUpgradeBundlePricesHandler
public UpdateUpgradeBundlePricesHandler()
-
-
Method Details
-
handle
public void handle(List<ScheduledRouteData> scheduledRoutes, FareSearchRequestData fareSearchRequestData, FareSelectionData fareSelectionData) Description copied from interface:FareSearchHandlerHandle method.- Specified by:
handlein interfaceFareSearchHandler- Parameters:
scheduledRoutes- the scheduled routesfareSearchRequestData- the fare search request datafareSelectionData- the fare selection data
-
updateFormattedValue
Updates the formattedValue property of the givenPriceDatato display a PLUS SIGN for non negative values- Parameters:
priceData- as the priceData to update
-
getTravelBundleTemplateFacade
- Returns:
- the travelBundleTemplateFacade
-
setTravelBundleTemplateFacade
- Parameters:
travelBundleTemplateFacade- the travelBundleTemplateFacade to set
-