Class CreditCard

java.lang.Object
com.datengaertnerei.test.dataservice.bank.CreditCard

public class CreditCard extends Object
Credit card entity
  • Constructor Details

    • CreditCard

      public CreditCard(String number, String type, String cvc, LocalDate expiry)
      ctor
      Parameters:
      number - number
      type - type
      cvc - cvc
      expiry - expiry
  • Method Details

    • getNumber

      public final String getNumber()
      Returns:
      getter
    • getType

      public final String getType()
      Returns:
      getter
    • getCvc

      public final String getCvc()
      Returns:
      getter
    • getExpiry

      public final LocalDate getExpiry()
      Returns:
      getter
    • setExpiry

      public final void setExpiry(LocalDate expiry)
      Parameters:
      expiry - setter