Class StudentCheckingAccount


@Entity public class StudentCheckingAccount extends CheckingAccount
  • Constructor Details

    • StudentCheckingAccount

      public StudentCheckingAccount(BigDecimal balance, String primaryOwner, String secondaryOwner, String status, AccountHolder accountHolder)
    • StudentCheckingAccount

      public StudentCheckingAccount()
  • Method Details

    • setMonthlyMaintenanceFee

      public void setMonthlyMaintenanceFee(BigDecimal monthlyMaintenanceFee)
      Description copied from class: CheckingAccount
      This method sets the monthly maintenance fee for the checking account. If the given monthly maintenance fee is less than the default value of 12, an IllegalArgumentException is thrown.
      Overrides:
      setMonthlyMaintenanceFee in class CheckingAccount
      Parameters:
      monthlyMaintenanceFee - The monthly maintenance fee to set.
    • setMinimumBalance

      public void setMinimumBalance(BigDecimal minimumBalance)
      Description copied from class: CheckingAccount
      Set the minimum balance for this Checking account.
      Overrides:
      setMinimumBalance in class CheckingAccount
      Parameters:
      minimumBalance - The minimum balance to set, must be greater than or equal to 250.