Class TarjetaCredito

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

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

    • TarjetaCredito

      public TarjetaCredito(String titular, String numero, YearMonth fechaCaducidad)
      Constructor
      Parameters:
      titular -
      numero -
      fechaCaducidad -
  • Method Details

    • getFechaCaducidad

      public YearMonth getFechaCaducidad()
      Get the value of fechaCaducidad
      Returns:
      the value of fechaCaducidad
    • setFechaCaducidad

      public void setFechaCaducidad(YearMonth fechaCaducidad)
      Set the value of fechaCaducidad
      Parameters:
      fechaCaducidad - new value of fechaCaducidad
    • getNumero

      public String getNumero()
      Get the value of numero
      Returns:
      the value of numero
    • setNumero

      public void setNumero(String numero)
      Set the value of numero
      Parameters:
      numero - new value of numero
    • getTitular

      public String getTitular()
      Get the value of titular
      Returns:
      the value of titular
    • setTitular

      public void setTitular(String titular)
      Set the value of titular
      Parameters:
      titular - new value of titular