Class Account

    • Field Detail

      • id

        private long id
      • accountNumber

        private String accountNumber
      • balance

        private double balance
    • Constructor Detail

      • Account

        public Account()
      • Account

        public Account​(long id)
      • Account

        public Account​(long id,
                       String accountNumber)
    • Method Detail

      • getId

        public long getId()
      • setId

        private void setId​(long id)
      • deposit

        public void deposit​(double amount)
      • withdraw

        public void withdraw​(double amount)
      • getAccountNumber

        public String getAccountNumber()
      • setAccountNumber

        public void setAccountNumber​(String accountNumber)
      • getBalance

        public double getBalance()
      • setBalance

        private void setBalance​(double balance)