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 partiesRecurringPaymentPreviewVOpreviewAcceptPaymentRequest(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
cancel, getData, perform, preview, previewReceive, processFailure, receive
-
-
-
-
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
-
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
-
-