private void addAccount(Account account) { if (this.actAccount < TransactionTrunk.MAX_ACCOUNT) { this.accounts[this.actAccount++] = account; } }
public DebitTransaction(Account account, double balance, int day) : base(account,balance,day) { }
public Transaction(Account baseAccount, double balance, int day) { this.baseAccount = baseAccount; this.balance = balance; this.day = day; }