public interface RecurringPaymentService extends Service
TransactionService#getPaymentData(org.cyclos.model.banking.accounts.InternalAccountOwner, org.cyclos.model.banking.accounts.AccountOwner)
.
preview(PerformRecurringPaymentDTO) and
eventually perform(PerformRecurringPaymentDTO) the recurring payment.TransactionService,
PaymentService| Modifier and Type | Method and Description |
|---|---|
void |
cancel(@NotNull RecurringPaymentActionDTO params)
Permanently cancels the given recurring payment, so installments will never be processed
|
RecurringPaymentData |
getData(@NotNull java.lang.Long id)
Returns data about a recurring payment
|
RecurringPaymentVO |
perform(@NotNull PerformRecurringPaymentDTO recurringPayment)
Performs an recurring payment, returning its data
|
RecurringPaymentPreviewVO |
preview(@NotNull PerformRecurringPaymentDTO parameters)
Previews a recurring payment to be performed
|
RecurringPaymentPreviewVO |
previewReceive(@NotNull PerformRecurringPaymentDTO parameters)
Previews a recurring payment to be received
|
TransferVO |
processFailure(@NotNull InstallmentActionDTO params)
Processes a failed occurrence
|
RecurringPaymentVO |
receive(@NotNull PerformRecurringPaymentDTO recurringPayment)
Receives a recurring payment, returning its data
|
void cancel(@NotNull
@NotNull RecurringPaymentActionDTO params)
throws FrameworkException
FrameworkExceptionRecurringPaymentData getData(@NotNull @NotNull java.lang.Long id) throws FrameworkException
FrameworkExceptionRecurringPaymentVO perform(@NotNull @NotNull PerformRecurringPaymentDTO recurringPayment) throws TransferException, FrameworkException
RecurringPaymentPreviewVO preview(@NotNull @NotNull PerformRecurringPaymentDTO parameters) throws FrameworkException
FrameworkExceptionRecurringPaymentPreviewVO previewReceive(@NotNull @NotNull PerformRecurringPaymentDTO parameters) throws FrameworkException
FrameworkExceptionTransferVO processFailure(@NotNull @NotNull InstallmentActionDTO params) throws FrameworkException, TransferException
FrameworkExceptionTransferExceptionRecurringPaymentVO receive(@NotNull @NotNull PerformRecurringPaymentDTO recurringPayment) throws TransferException, PosPayerException, FrameworkException