public WithDrawal(int userAccount, Screen screen, BankDatabase bankDatabase, Keypad keypad, CashDispenser cashDispenser) : base(userAccount, screen, bankDatabase) { CANCELED = userAccount; this.keypad = keypad; this.cashDispenser = cashDispenser; }
public ATM() { userAuthenticated = false; currentAccountNumber = 0; screen = new Screen(); keypad = new Keypad(); depositSlot = new DepositSlot(); bankDatabase = new BankDatabase(); cashDispenser = new CashDispenser(0, 0); }
public Balancelnquiry(int accountNumber, Screen screen, BankDatabase bankDatabase) : base(accountNumber, screen, bankDatabase) { }
public Transaction(int userAccount, Screen theScreen, BankDatabase theDatabase) { accountNumber = userAccount; userScreen = theScreen; database = theDatabase; }
public Deposit(int userAccountNumber, Screen atmScreen, BankDatabase atmBankDatabase, Keypad atmKeypad, DepositSlot atmDepositSlot) : base(userAccountNumber, atmScreen, atmBankDatabase) { keypad = atmKeypad; depositSlot = atmDepositSlot; }