public interface BalanceCalculator
| Modifier and Type | Method and Description |
|---|---|
Balance |
findBalance(Collection balanceList,
Transaction t)
Given a collection of balance records, returns the balance that the given transaction would post to
or creates a new balance record
|
void |
updateBalance(Transaction t,
Balance b)
Updates the balance based on the given transaction
|
Balance findBalance(Collection balanceList, Transaction t)
balanceList - a Collection of balance recordst - the transaction to postvoid updateBalance(Transaction t, Balance b)
t - the transaction to postb - the balance being posted againstCopyright © 2004–2015 The Kuali Foundation. All rights reserved.