Class PROSBundleValidationHandler
java.lang.Object
de.hybris.platform.prosfacades.fare.search.handlers.impl.PROSBundleValidationHandler
- All Implemented Interfaces:
ShoppingFareSearchHandler
The type Pros bundle validation handler.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected List<ItineraryPricingInfoData>getItinerariesToRemove(PricedItineraryData pricedItinerary) Calculates the list of itineraryPricingInfoData to remove from the pricedItinerary.protected de.hybris.platform.product.ProductServiceGets product service.voidhandle(SearchResponseMessage searchResponseMessage, FareShopMessage fareShopMessage, FareSearchRequestData fareSearchRequestData, FareSelectionData fareSelectionData) Handle methodprotected voidprosBundlePerBoundFilter(FareSelectionData fareSelectionData) Pros bundle per bound filter.voidsetProductService(de.hybris.platform.product.ProductService productService) Sets product service.protected voidshoppingFareProductBundleFilter(FareSelectionData fareSelectionData) Pros fare product bundle filter.
-
Constructor Details
-
PROSBundleValidationHandler
public PROSBundleValidationHandler()
-
-
Method Details
-
handle
public void handle(SearchResponseMessage searchResponseMessage, FareShopMessage fareShopMessage, FareSearchRequestData fareSearchRequestData, FareSelectionData fareSelectionData) Description copied from interface:ShoppingFareSearchHandlerHandle method- Specified by:
handlein interfaceShoppingFareSearchHandler- Parameters:
searchResponseMessage- the search response messagefareShopMessage- the fare shop messagefareSearchRequestData- the fare search request datafareSelectionData- the fare selection data
-
prosBundlePerBoundFilter
Pros bundle per bound filter.- Parameters:
fareSelectionData- the fare selection data
-
shoppingFareProductBundleFilter
Pros fare product bundle filter.- Parameters:
fareSelectionData- the fare selection data
-
getItinerariesToRemove
protected List<ItineraryPricingInfoData> getItinerariesToRemove(PricedItineraryData pricedItinerary) Calculates the list of itineraryPricingInfoData to remove from the pricedItinerary.- Parameters:
pricedItinerary- the pricedItineraryData- Returns:
- a list of itineraryPricingInfoData to remove from the pricedItinerary
-
getProductService
protected de.hybris.platform.product.ProductService getProductService()Gets product service.- Returns:
- the product service
-
setProductService
public void setProductService(de.hybris.platform.product.ProductService productService) Sets product service.- Parameters:
productService- the product service
-