コード例 #1
0
 public Transaction(int userPIN, Screen atmScreen, BankDatabase atmBankDatabase)
 {
     pin = userPIN;
     screen = atmScreen;
     bankDatabase = atmBankDatabase;
 }
コード例 #2
0
 public Transfer( int userPIN, Screen atmScreen, BankDatabase atmBankDatabase )
     : base( userPIN, atmScreen, atmBankDatabase )
 {
 }
コード例 #3
0
 public Withdrawal( int userPIN, Screen atmScreen, BankDatabase atmBankDatabase, CashDispenser atmCashDispenser )
     : base( userPIN, atmScreen, atmBankDatabase )
 {
     cashDispenser = atmCashDispenser;
 }
コード例 #4
0
 public Deposit( int userPIN, Screen atmScreen, BankDatabase atmBankDatabase, DepositSlot atmDepositSlot, CashDispenser atmCashDispenser ) 
     : base( userPIN, atmScreen, atmBankDatabase )
 {
     depositSlot = atmDepositSlot;
     cashDispenser = atmCashDispenser;
 }
コード例 #5
0
 public Balancelnquiry( int userPIN, Screen atmScreen, BankDatabase atmBankDatabase )
     : base( userPIN, atmScreen, atmBankDatabase )
 {
 }