Package src.view

Class MovieTicketView

Object
MovieTicketView

public class MovieTicketView extends Object
View for movie goer to view the movie tickets after successful payment
Version:
1.0
Author:
Lee Juin, Yeek Sheng, Jerick
  • Constructor Details

    • MovieTicketView

      public MovieTicketView(ArrayList<String> seatID, Movie movie, DateTime showingTime, Cinema cinema, ArrayList<Seat> seatingPlan, double totalMovieTicketPrice)
      Creates a new MovieTicket View and a new movieTicketList as an attribute
      Parameters:
      seatID - ArrayList of seatID as string
      movie - movie object Movie
      showingTime - showing time chosen DateTime
      cinema - cinema chosen Cinema
      seatingPlan - ArrayList of Seat
      totalMovieTicketPrice - Total movie ticekt price of all the seats chosen
  • Method Details

    • getMovieTickets

      public ArrayList<MovieTicket> getMovieTickets()
      Gets the ArrayList of movieTickets
      Returns:
      ArrayList of MovieTicket
    • printMovieTickets

      public void printMovieTickets()
      Method that prints out the movie tickets purchased with information such as: movieName, movieType, cineplex, cinemaClass, cinemaID, showingTime, price of a movieTicket