Package | Description |
---|---|
com.ecse321.flightbooking.bookings |
Modifier and Type | Method and Description |
---|---|
java.util.List<Passenger> |
Booking.getPassengers()
Getter for Passengers in the Booking.
|
Modifier and Type | Method and Description |
---|---|
void |
Booking.setPassengers(java.util.List<Passenger> passengers)
Setter for Passengers in the Booking.
|
Constructor and Description |
---|
Booking(Customer customer,
java.util.List<Passenger> passengers)
Constructor for the Booking class which takes information through the
parameters.
|