public interface ScheduledPaymentServiceLocal extends ScheduledPaymentService
ScheduledPaymentService| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
ATTR_INSTALLMENT
Script bind variable: the
ScheduledPaymentInstallment |
| Modifier and Type | Method and Description |
|---|---|
void |
autoCancelPaymentsScheduledTo(AccountOwner owner,
AccountType type)
Cancels all open scheduled payments to the specified account
|
java.math.BigDecimal |
calculateDueAmount(ScheduledPayment payment)
Returns the remaining amount to be payed.
|
boolean |
hasOpenScheduledPayments(AccountOwner owner,
AccountType type)
Checks if a given account owner has any open scheduled payments on it's account of the given type
|
ScheduledPaymentInstallmentTransfer |
processInstallment(ScheduledPaymentInstallment installment)
Process the given installment if it's status is not terminal, returning the root generated transfer
|
void |
settleInstallment(ScheduledPaymentInstallment installment)
Marks the given installment status as
ScheduledPaymentInstallmentStatus.SETTLED if the status is either not terminal |
block, calculateInstallments, cancel, getData, perform, preview, print, processInstallment, search, searchInstallments, settleInstallment, settleRemaining, unblockstatic final java.lang.String ATTR_INSTALLMENT
ScheduledPaymentInstallmentvoid autoCancelPaymentsScheduledTo(AccountOwner owner, AccountType type)
java.math.BigDecimal calculateDueAmount(ScheduledPayment payment)
boolean hasOpenScheduledPayments(AccountOwner owner, AccountType type)
ScheduledPaymentInstallmentTransfer processInstallment(ScheduledPaymentInstallment installment) throws FrameworkException, TransferException
IllegalActionException - If the installment is already processed or in some other state that cannot be processedFrameworkExceptionTransferExceptionScheduledPaymentInstallmentStatus.isTerminal()void settleInstallment(ScheduledPaymentInstallment installment) throws FrameworkException
ScheduledPaymentInstallmentStatus.SETTLED if the status is either not terminalFrameworkExceptionScheduledPaymentInstallmentStatus.isTerminal()