public Transaction(int userPIN, Screen atmScreen, BankDatabase atmBankDatabase) { pin = userPIN; screen = atmScreen; bankDatabase = atmBankDatabase; }
public Transfer( int userPIN, Screen atmScreen, BankDatabase atmBankDatabase ) : base( userPIN, atmScreen, atmBankDatabase ) { }
public Withdrawal( int userPIN, Screen atmScreen, BankDatabase atmBankDatabase, CashDispenser atmCashDispenser ) : base( userPIN, atmScreen, atmBankDatabase ) { cashDispenser = atmCashDispenser; }
public Deposit( int userPIN, Screen atmScreen, BankDatabase atmBankDatabase, DepositSlot atmDepositSlot, CashDispenser atmCashDispenser ) : base( userPIN, atmScreen, atmBankDatabase ) { depositSlot = atmDepositSlot; cashDispenser = atmCashDispenser; }
public Balancelnquiry( int userPIN, Screen atmScreen, BankDatabase atmBankDatabase ) : base( userPIN, atmScreen, atmBankDatabase ) { }