Class AccountCard


  • public class AccountCard
    extends PersonBoundCard
    A user account card.
    Author:
    Thomas Morgner.
    • Constructor Detail

      • AccountCard

        public AccountCard​(String firstName,
                           String lastName,
                           String cardNr,
                           String login,
                           String password)
        Creates a new user account card.
        Parameters:
        firstName - the first name.
        lastName - the last name.
        cardNr - the card number.
        login - the login id.
        password - the password.
    • Method Detail

      • getLogin

        public String getLogin()
        Returns the login id.
        Returns:
        The login id.
      • getPassword

        public String getPassword()
        Returns the password.
        Returns:
        The password.
      • getType

        public CardType getType()
        Returns the account type (CardType.ACCOUNT).
        Specified by:
        getType in class Card
        Returns:
        The account type.