Package account
Interface IAccountDefProg
- All Known Implementing Classes:
AccountImplDefProg
public interface IAccountDefProg
-
Method Summary
-
Method Details
-
deposit
void deposit(int amount) -
withdraw
void withdraw(int amount) throws exceptions.OverdraftException, exceptions.HolderException, exceptions.WrongAmountException, exceptions.InsufficientFundsException- Throws:
exceptions.OverdraftException
exceptions.HolderException
exceptions.WrongAmountException
exceptions.InsufficientFundsException
-
getHolder
java.lang.String getHolder() -
setHolder
void setHolder(java.lang.String newHolder) -
overdraft
int overdraft() -
balance
int balance()
-