addMoneyTransaction method
Adds the moneyTransaction
to this list if the latter does not already
contain it. Also, sorts it.
Implementation
void addMoneyTransaction(MoneyTransaction moneyTransaction) {
if (!contains(moneyTransaction)) {
add(moneyTransaction);
sort();
}
}