Class Cliente

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

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

    • Cliente

      public Cliente(String nombre, String correo, String clave, int telefono, Direccion direccion, TarjetaCredito tarjeta, boolean vip)
      Constructor
      Parameters:
      nombre -
      correo -
      clave -
      telefono -
      direccion -
      tarjeta -
      vip -
  • Method Details

    • isVip

      public boolean isVip()
      Get the value of vip
      Returns:
      the value of vip
    • setVip

      public void setVip(boolean vip)
      Set the value of vip
      Parameters:
      vip - new value of vip
    • getTarjeta

      public TarjetaCredito getTarjeta()
      Get the value of tarjeta
      Returns:
      the value of tarjeta
    • setTarjeta

      public void setTarjeta(TarjetaCredito tarjeta)
      Set the value of tarjeta
      Parameters:
      tarjeta - new value of tarjeta
    • getDireccion

      public Direccion getDireccion()
      Get the value of direccion
      Returns:
      the value of direccion
    • setDireccion

      public void setDireccion(Direccion direccion)
      Set the value of direccion
      Parameters:
      direccion - new value of direccion
    • getTelefono

      public int getTelefono()
      Get the value of telefono
      Returns:
      the value of telefono
    • setTelefono

      public void setTelefono(int telefono)
      Set the value of telefono
      Parameters:
      telefono - new value of telefono