public Transfer(BankAccount source, BankAccount destination, decimal _value) { sourceAccount = new BankAccountService(source); destinationAccount = new BankAccountService(destination); this.value = _value; }
public BankAccountService(BankAccount bankAccount) { this.account = bankAccount; }
public Deposit(BankAccount bankAccount, decimal amount) { depositAccount = new BankAccountService(bankAccount); value = amount; }
public AccountServiceFee(BankAccount account) { bankAccount = account; }