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

Constructor Index

 o Bank()

Method Index

 o accountName(int)
 o chooseAccountType(String, ATM)
 o doInquiry(int, int, int, int, int, Money, Money)
 o doTransfer(int, int, int, int, int, int, Money, Money, Money)
 o finishDeposit(int, int, boolean)
 o finishWithdrawl(int, int, boolean)
 o initiateDeposit(int, int, int, int, int, Money, Money, Money)
 o initiateWithdrawl(int, int, int, int, int, Money, Money, Money)
 o rejectionExplanation(int)

Constructors

 o Bank
  public Bank()

Methods

 o initiateWithdrawl
  public int initiateWithdrawl(int cardNumber,
                               int PIN,
                               int ATMnumber,
                               int serialNumber,
                               int from,
                               Money amount,
                               Money newBalance,
                               Money availableBalance)
 o finishWithdrawl
  public void finishWithdrawl(int ATMnumber,
                              int serialNumber,
                              boolean succeeded)
 o initiateDeposit
  public int initiateDeposit(int cardNumber,
                             int PIN,
                             int ATMnumber,
                             int serialNumber,
                             int to,
                             Money amount,
                             Money newBalance,
                             Money availableBalance)
 o finishDeposit
  public void finishDeposit(int ATMnumber,
                            int serialNumber,
                            boolean succeeded)
 o doTransfer
  public int doTransfer(int cardNumber,
                        int PIN,
                        int ATMnumber,
                        int serialNumber,
                        int from,
                        int to,
                        Money amount,
                        Money newBalance,
                        Money availableBalance)
 o doInquiry
  public int doInquiry(int cardNumber,
                       int PIN,
                       int ATMnumber,
                       int serialNumber,
                       int from,
                       Money newBalance,
                       Money availableBalance)
 o chooseAccountType
  public int chooseAccountType(String purpose,
                               ATM atm)
 o accountName
  public String accountName(int type)
 o rejectionExplanation
  public String rejectionExplanation(int code)

All Packages  Class Hierarchy  This Package  Previous  Next  Index