Interface AddAncillaryToCartRequestValidationStrategy

All Known Implementing Classes:
FlightRequiredValidationStrategy, PassengerRequiredValidationStrategy

public interface AddAncillaryToCartRequestValidationStrategy
Strategy to validate the add ancillary request to cart
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    validate(List<String> flightIds, String passengerId)
    Validates transportOfferingCodes, passengers and throws exception
  • Method Details

    • validate

      void validate(List<String> flightIds, String passengerId) throws AirlineWebserviceException
      Validates transportOfferingCodes, passengers and throws exception
      Parameters:
      flightIds - the codes of the transportOfferings the ancillary product is added
      passengerId - the code of the passenger to whom the ancillary product is added
      Throws:
      AirlineWebserviceException