Uses of Class
bcu.cmp5332.bookingsystem.model.Booking
-
Uses of Booking in bcu.cmp5332.bookingsystem.model
Modifier and TypeMethodDescriptionFlightBookingSystem.getBookingByID
(int bookingID) Retrieves a booking by its ID.Booking[]
FlightBookingSystem.getBookings()
Retrieves an array of all bookings in the system.Modifier and TypeMethodDescriptionCustomer.getBookings()
Retrieves a copy of the list of bookings made by the customer.Modifier and TypeMethodDescriptionvoid
Customer.addBooking
(Booking booking) Adds a booking to the list of bookings made by the customer.void
FlightBookingSystem.addBooking
(Booking booking) Adds a booking to the system.