Class atm.Bank
All Packages Class Hierarchy This Package Previous Next Index
Class atm.Bank
java.lang.Object
|
+----atm.Bank
- public class Bank
- extends Object
-
Bank()
-
-
accountName(int)
-
-
chooseAccountType(String, ATM)
-
-
doInquiry(int, int, int, int, int, Money, Money)
-
-
doTransfer(int, int, int, int, int, int, Money, Money, Money)
-
-
finishDeposit(int, int, boolean)
-
-
finishWithdrawl(int, int, boolean)
-
-
initiateDeposit(int, int, int, int, int, Money, Money, Money)
-
-
initiateWithdrawl(int, int, int, int, int, Money, Money, Money)
-
-
rejectionExplanation(int)
-
Bank
public Bank()
initiateWithdrawl
public int initiateWithdrawl(int cardNumber,
int PIN,
int ATMnumber,
int serialNumber,
int from,
Money amount,
Money newBalance,
Money availableBalance)
finishWithdrawl
public void finishWithdrawl(int ATMnumber,
int serialNumber,
boolean succeeded)
initiateDeposit
public int initiateDeposit(int cardNumber,
int PIN,
int ATMnumber,
int serialNumber,
int to,
Money amount,
Money newBalance,
Money availableBalance)
finishDeposit
public void finishDeposit(int ATMnumber,
int serialNumber,
boolean succeeded)
doTransfer
public int doTransfer(int cardNumber,
int PIN,
int ATMnumber,
int serialNumber,
int from,
int to,
Money amount,
Money newBalance,
Money availableBalance)
doInquiry
public int doInquiry(int cardNumber,
int PIN,
int ATMnumber,
int serialNumber,
int from,
Money newBalance,
Money availableBalance)
chooseAccountType
public int chooseAccountType(String purpose,
ATM atm)
accountName
public String accountName(int type)
rejectionExplanation
public String rejectionExplanation(int code)
All Packages Class Hierarchy This Package Previous Next Index