Package org.cyclos.impl.banking
Interface RecurringPaymentServiceLocal
-
- All Superinterfaces:
RecurringPaymentService,Service
- All Known Implementing Classes:
RecurringPaymentServiceImpl
public interface RecurringPaymentServiceLocal extends RecurringPaymentService
Local interface forRecurringPaymentService
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description RecurringPaymentacceptPaymentRequest(PaymentRequest paymentRequest)Generates the recurring payment for accepting a payment request, which must be open and recurringintcancelAll(UserAccount account)Cancels all recurring payments to or from the given accountvoidmarkAsFailed(RecurringPaymentOccurrence occurrence)Marks the given occurrence as failed, notifying the involved partiesvoidnotifyPaymentPerformed(RecurringPayment recurringPayment)Send all notifications derived from to a recurring payment creation E.g notifies the receiving user if the recurring payment is visible, and not generated from a payment request (as it is already notified)RecurringPaymentPreviewVOpreviewAcceptPaymentRequest(PaymentRequest paymentRequest)Previews accepting the given payment request, which must be open and recurringInstallmentTransferprocessFailure(RecurringPaymentOccurrence occurrence)Process the given failure, returning the root generated transferInstallmentTransferprocessOccurrence(RecurringPaymentOccurrence occurrence)Processes the recurring payment occurrence, generating a transfer-
Methods inherited from interface org.cyclos.services.banking.RecurringPaymentService
block, cancel, getData, getEditData, modify, perform, preview, previewReceive, processFailure, receive, unblock
-
-
-
-
Method Detail
-
acceptPaymentRequest
RecurringPayment acceptPaymentRequest(PaymentRequest paymentRequest)
Generates the recurring payment for accepting a payment request, which must be open and recurring
-
cancelAll
int cancelAll(UserAccount account)
Cancels all recurring payments to or from the given account
-
markAsFailed
void markAsFailed(RecurringPaymentOccurrence occurrence)
Marks the given occurrence as failed, notifying the involved parties
-
notifyPaymentPerformed
void notifyPaymentPerformed(RecurringPayment recurringPayment)
Send all notifications derived from to a recurring payment creation E.g notifies the receiving user if the recurring payment is visible, and not generated from a payment request (as it is already notified)
-
previewAcceptPaymentRequest
RecurringPaymentPreviewVO previewAcceptPaymentRequest(PaymentRequest paymentRequest)
Previews accepting the given payment request, which must be open and recurring
-
processFailure
InstallmentTransfer processFailure(RecurringPaymentOccurrence occurrence)
Process the given failure, returning the root generated transfer- Throws:
IllegalActionException- If the failure is already processed
-
processOccurrence
InstallmentTransfer processOccurrence(RecurringPaymentOccurrence occurrence)
Processes the recurring payment occurrence, generating a transfer
-
-