Uses of Class
bcu.cmp5332.bookingsystem.model.Customer
Packages that use Customer
-
Uses of Customer in bcu.cmp5332.bookingsystem.model
Methods in bcu.cmp5332.bookingsystem.model that return CustomerModifier and TypeMethodDescriptionBooking.getCustomer()Retrieves the customer who made the booking.FlightBookingSystem.getCustomerByID(int id) Retrieves a customer by their ID.FlightBookingSystem.getCustomerByName(String customerName) Retrieves a customer by their name.Customer[]FlightBookingSystem.getCustomers()Retrieves an array of all customers in the system.Methods in bcu.cmp5332.bookingsystem.model that return types with arguments of type CustomerModifier and TypeMethodDescriptionFlightBookingSystem.getCustomer()Retrieves a list of all customers in the system.Flight.getPassengers()Retrieves a copy of the list of passengers booked on the flight.Methods in bcu.cmp5332.bookingsystem.model with parameters of type CustomerModifier and TypeMethodDescriptionvoidFlightBookingSystem.addCustomer(Customer customer) Adds a customer to the system.voidFlight.addPassenger(Customer passenger) Adds a passenger to the flight.voidFlightBookingSystem.issueBooking(Customer customer, Flight flight, LocalDate bookingDate) Issues a booking for a customer on a flight with the specified booking date.booleanFlight.removePassenger(Customer customer) Removes a passenger from the flight.voidBooking.setCustomer(Customer customer) Sets the customer associated with the booking.Constructors in bcu.cmp5332.bookingsystem.model with parameters of type Customer