Class CustomerController

java.lang.Object
moblima.control.controllers.MovieBookingController
moblima.control.controllers.CustomerController

public class CustomerController extends MovieBookingController
The type Customer controller.
  • Method Details

    • getInstance

      public static CustomerController getInstance()
      Gets instance.
      Returns:
      the instance
    • getCustomerMenu

      public LinkedHashMap<String,Runnable> getCustomerMenu()
      Gets customer menu.
      Returns:
      the customer menu
    • viewBookings

      public void viewBookings(String customerId)
      View bookings.
      Parameters:
      customerId - the customer id
    • makeBooking

      public int makeBooking(Customer customer, Showtime showtime)
      Make booking int.
      Parameters:
      customer - the customer
      showtime - the showtime
      Returns:
      the int