Interface AncillaryAvailabilityStrategy
- All Known Implementing Classes:
AncillaryPerLegAvailabilityStrategy
public interface AncillaryAvailabilityStrategy
Strategy to check if a bundleTemplate is available based on the availability of the includedAncillaries
-
Method Summary
Modifier and TypeMethodDescriptionbooleancheckIncludedAncillariesAvailability(List<ProductData> productDataList, int passengerNumber) Method to check if a bundleTemplate is available based on the availability of the includedAncillaries.
-
Method Details
-
checkIncludedAncillariesAvailability
boolean checkIncludedAncillariesAvailability(List<ProductData> productDataList, int passengerNumber) Method to check if a bundleTemplate is available based on the availability of the includedAncillaries.- Parameters:
productDataList- the product data listpassengerNumber- the passenger number- Returns:
- true if the bundleTemplate is available, false otherwise
-