Class Reserva

java.lang.Object
poo.javaevents.model.Reserva
All Implemented Interfaces:
Serializable

public class Reserva extends Object implements Serializable
Author:
Pablo García Hernández
See Also:
  • Constructor Details

    • Reserva

      public Reserva(Cliente cliente, Evento evento, LocalDateTime fechaSeleccionada, int numeroEntradas)
      Constructor
      Parameters:
      cliente -
      evento -
      fechaSeleccionada -
      numeroEntradas -
  • Method Details

    • getPrecioTotal

      public double getPrecioTotal()
      Get the value of precioTotal
      Returns:
      the value of precioTotal
    • setPrecioTotal

      public void setPrecioTotal(double precioTotal)
      Set the value of precioTotal
      Parameters:
      precioTotal - new value of precioTotal
    • getNumeroEntradas

      public int getNumeroEntradas()
      Get the value of numeroEntradas
      Returns:
      the value of numeroEntradas
    • setNumeroEntradas

      public void setNumeroEntradas(int numeroEntradas)
      Set the value of numeroEntradas
      Parameters:
      numeroEntradas - new value of numeroEntradas
    • getFechaEvento

      public LocalDateTime getFechaEvento()
      Get the value of fechaEvento
      Returns:
      the value of fechaEvento
    • setFechaEvento

      public void setFechaEvento(LocalDateTime fechaEvento)
      Set the value of fechaEvento
      Parameters:
      fechaEvento - new value of fechaEvento
    • getFechaReserva

      public LocalDateTime getFechaReserva()
      Get the value of fechaReserva
      Returns:
      the value of fechaReserva
    • setFechaReserva

      public void setFechaReserva(LocalDateTime fechaReserva)
      Set the value of fechaReserva
      Parameters:
      fechaReserva - new value of fechaReserva
    • getEvento

      public Evento getEvento()
      Get the value of evento
      Returns:
      the value of evento
    • setEvento

      public void setEvento(Evento evento)
      Set the value of evento
      Parameters:
      evento - new value of evento
    • getCliente

      public Cliente getCliente()
      Get the value of cliente
      Returns:
      the value of cliente
    • setCliente

      public void setCliente(Cliente cliente)
      Set the value of cliente
      Parameters:
      cliente - new value of cliente