Returns a seat category, e.g., FirstClass, Economy,
BusinessClass that this passenger requests to fly
(which will not necessarily be honored by the
reservation system.
Provides a test of an implementation of a class that
implements the Flight interface provided the
implementation class has a constructor that takes an
Itinerary object, as required.
Returns a hashcode for this Itinerary such that two
Itinerary objects with the same starting and
destination airports will have the same hashcode
value.
This interface defines the information that your part
of the airline reservation system will be provided that
simulates passengers attempting to book seats on your
flights.
This optional interface (optional in the sense that if
you choose to implement seat assignments in your
system, your implementation of seat assignments should
fully implement this interface to return meaningful
results.