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 Type
    Method
    Description
    boolean
    checkIncludedAncillariesAvailability(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 list
      passengerNumber - the passenger number
      Returns:
      true if the bundleTemplate is available, false otherwise