Class Ticket

    • Field Detail

      • event

        private Event event
      • seat

        private Seat seat
      • sold

        private boolean sold
    • Constructor Detail

      • Ticket

        protected Ticket()
      • Ticket

        public Ticket​(Event event,
                      Seat seat)
    • Method Detail

      • getEvent

        public Event getEvent()
      • getSeat

        public Seat getSeat()
      • setPrice

        public void setPrice​(BigDecimal price)
      • isSold

        public boolean isSold()
      • setSold

        public void setSold​(boolean sold)