public interface PaymentService extends Service
TransactionService.getPaymentData(org.cyclos.model.banking.accounts.AccountOwner, org.cyclos.model.banking.accounts.AccountOwner).
Then, at a certain point, the user can preview(PerformPaymentDTO) and eventually perform(PerformPaymentDTO) the payment.TransactionService,
ScheduledPaymentService| Modifier and Type | Method and Description |
|---|---|
PaymentData |
getData(java.lang.Long id)
Returns data about a payment
|
PaymentVO |
perform(PerformPaymentDTO parameters)
Performs a payment, according to the given parameters, returning the resulting payment.
|
PaymentPreviewVO |
preview(PerformPaymentDTO parameters)
Previews a payment to be performed
|
PaymentPreviewVO |
previewReceive(PerformPaymentDTO parameters)
Previews a payment to be received
|
SerializableInputStream |
print(java.lang.Long id)
Generates a PDF file with the details for a payment.
|
PaymentVO |
receive(PerformPaymentDTO parameters)
Receives a payment, according to the given parameters, returning the resulting payment.
|
Page<PaymentEntryVO> |
search(PaymentQuery query)
Searches for payments, according to the given query
|
PaymentData getData(java.lang.Long id) throws FrameworkException
FrameworkExceptionPaymentVO perform(PerformPaymentDTO parameters) throws FrameworkException, TransferException, PasswordException
InsufficientBalanceException - When the source account, or source account for any generated fee is limited and had insufficient balance
for such a paymentMaxAmountPerDayExceededException - When the maximum amount for payments of this transfer type has been exceeded, according to the
transfer type configurationUpperCreditLimitReachedException - When the destination account, or destination account for any generated fee is limited and would have
more balance than the allowed maximumPasswordException - When the confirmation password doesn't matchFrameworkExceptionTransferExceptionPaymentPreviewVO preview(PerformPaymentDTO parameters) throws FrameworkException, TransferException
FrameworkExceptionTransferExceptionPaymentPreviewVO previewReceive(PerformPaymentDTO parameters) throws FrameworkException, TransferException
FrameworkExceptionTransferExceptionSerializableInputStream print(java.lang.Long id) throws FrameworkException, ReportExecutionException
ReportExecutionException - if there is an error generating the PDF.FrameworkExceptionPaymentVO receive(PerformPaymentDTO parameters) throws FrameworkException, TransferException
FrameworkExceptionTransferExceptionperform(PerformPaymentDTO)Page<PaymentEntryVO> search(PaymentQuery query) throws FrameworkException
FrameworkException