public virtual bool addTransactionToHistory(Transaction transaction) { if (transaction != null) { this.history.Add(transaction); return true; } else return false; }
public override bool Transfer(Transaction transfer) { return transfer.doOperation(); }
public abstract bool Transfer(Transaction transfer);