public interface RecurringPaymentServiceLocal extends RecurringPaymentService
RecurringPaymentService| Modifier and Type | Method and Description |
|---|---|
RecurringPayment |
acceptPaymentRequest(PaymentRequest paymentRequest)
Generates the recurring payment for accepting a payment request, which must be open and recurring
|
int |
cancelAll(UserAccount account)
Cancels all recurring payments to or from the given account
|
boolean |
hasOpenRecurringPayments(InternalAccountOwner owner,
AccountType type)
Checks if a given account owner has any open recurring payments on it's account of the given type
|
RecurringPaymentPreviewVO |
previewAcceptPaymentRequest(PaymentRequest paymentRequest)
Previews accepting the given payment request, which must be open and recurring
|
RecurringPaymentTransfer |
process(RecurringPayment recurringPayment)
Processes the recurring payment, generating a transfer
|
RecurringPaymentTransfer |
processFailure(FailedPaymentOccurrence failure)
Process the given failure, returning the root generated transfer
|
FailedPaymentOccurrence |
registerFailure(RecurringPayment recurringPayment)
Registers a failed occurrence of the given recurring payment
|
cancel, getData, perform, preview, previewReceive, print, printRecurringPayments, processFailure, receive, searchRecurringPayment acceptPaymentRequest(PaymentRequest paymentRequest)
int cancelAll(UserAccount account)
boolean hasOpenRecurringPayments(InternalAccountOwner owner, AccountType type)
RecurringPaymentPreviewVO previewAcceptPaymentRequest(PaymentRequest paymentRequest)
RecurringPaymentTransfer process(RecurringPayment recurringPayment) throws TransferException
TransferExceptionRecurringPaymentTransfer processFailure(FailedPaymentOccurrence failure)
IllegalActionException - If the failure is already processedFailedPaymentOccurrence registerFailure(RecurringPayment recurringPayment)