Class TarjetaCredito
java.lang.Object
poo.javaevents.model.TarjetaCredito
-
Constructor Summary
ConstructorsConstructorDescriptionTarjetaCredito(String titular, String numero, YearMonth fechaCaducidad) Constructor -
Method Summary
Modifier and TypeMethodDescriptionGet the value of fechaCaducidadGet the value of numeroGet the value of titularvoidsetFechaCaducidad(YearMonth fechaCaducidad) Set the value of fechaCaducidadvoidSet the value of numerovoidsetTitular(String titular) Set the value of titular
-
Constructor Details
-
TarjetaCredito
-
-
Method Details
-
getFechaCaducidad
Get the value of fechaCaducidad- Returns:
- the value of fechaCaducidad
-
setFechaCaducidad
Set the value of fechaCaducidad- Parameters:
fechaCaducidad- new value of fechaCaducidad
-
getNumero
-
setNumero
Set the value of numero- Parameters:
numero- new value of numero
-
getTitular
-
setTitular
Set the value of titular- Parameters:
titular- new value of titular
-