Class Cliente
java.lang.Object
poo.javaevents.model.Usuario
poo.javaevents.model.Cliente
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the value of direccionGet the value of tarjetaintGet the value of telefonobooleanisVip()Get the value of vipvoidsetDireccion(Direccion direccion) Set the value of direccionvoidsetTarjeta(TarjetaCredito tarjeta) Set the value of tarjetavoidsetTelefono(int telefono) Set the value of telefonovoidsetVip(boolean vip) Set the value of vip
-
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
-
setTarjeta
Set the value of tarjeta- Parameters:
tarjeta- new value of tarjeta
-
getDireccion
-
setDireccion
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
-