Class PrepaidCard


  • public class PrepaidCard
    extends PersonBoundCard
    A 'prepaid' card.
    Author:
    Thomas Morgner.
    • Constructor Detail

      • PrepaidCard

        public PrepaidCard​(String firstName,
                           String lastName,
                           String cardNr)
        Creates a new 'prepaid' card.
        Parameters:
        firstName - the first name.
        lastName - the last name.
        cardNr - the card number.
    • Method Detail

      • getType

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