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