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 |
|---|---|
ScheduledPayment |
acceptPaymentRequest(PaymentRequest paymentRequest)
Generates the scheduled payment for accepting a payment request, which must be open and scheduled
|
java.math.BigDecimal |
calculateDueAmount(ScheduledPayment payment)
Returns the remaining amount to be payed.
|
int |
cancelAll(UserAccount account)
Cancels all scheduled payments to or from the given account
|
boolean |
hasOpenScheduledPayments(InternalAccountOwner owner,
AccountType type)
Checks if a given account owner has any open scheduled payments on it's account of the given type
|
ScheduledPaymentPreviewVO |
previewAcceptPaymentRequest(PaymentRequest paymentRequest)
Previews accepting the given payment request, which must be open and scheduled
|
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, calculateInstallmentsReceive, cancel, getData, perform, preview, previewReceive, print, printScheduledPayments, processInstallment, receive, search, searchInstallments, settleInstallment, settleRemaining, unblockstatic final java.lang.String ATTR_INSTALLMENT
ScheduledPaymentInstallmentScheduledPayment acceptPaymentRequest(PaymentRequest paymentRequest)
java.math.BigDecimal calculateDueAmount(ScheduledPayment payment)
int cancelAll(UserAccount account)
boolean hasOpenScheduledPayments(InternalAccountOwner owner, AccountType type)
ScheduledPaymentPreviewVO previewAcceptPaymentRequest(PaymentRequest paymentRequest)
ScheduledPaymentInstallmentTransfer processInstallment(ScheduledPaymentInstallment installment)
IllegalActionException - If the installment is already processed or in some other state that cannot be
processedScheduledPaymentInstallmentStatus.isTerminal()void settleInstallment(ScheduledPaymentInstallment installment)
ScheduledPaymentInstallmentStatus.SETTLED if the status is either
not terminal