| Changed Methods |
BigDecimal calculateAmount(AccountFeeLog, UserAccount)
|
Change in exceptions thrown from FrameworkException to no exceptions.
Documentation changed from old to new. |
Calculates the amount to be charged for the given user account on the given fee execution. |
boolean chargeNext(AccountFeeLog)
|
Change in exceptions thrown from FrameworkException to no exceptions.
Documentation changed from old to new. |
Invoked by ChargeAccountFeeBackgroundTask outside the transactional scope. |
AccountFeeLog getLastExecution(AccountFee)
|
Change in exceptions thrown from FrameworkException to no exceptions.
|
Returns the last execution log for a given fee, or null if it was never charged |
Date getNextExecutionDate(AccountFee, AccountFeeLog)
|
Change in exceptions thrown from FrameworkException to no exceptions.
|
Returns the next date the given fee should be executed, or null if the fee is disabled or manual |
long insertMissingScheduledExecutions()
|
Change in exceptions thrown from FrameworkException to no exceptions.
|
For each enabled scheduled fee, inserts all missing AccountFeeLogs |
void markFinished(AccountFeeLog)
|
Change in exceptions thrown from FrameworkException to no exceptions.
|
Marks the AccountFeeLog with the given id as finished charging |