public interface TransactionService extends Service
| Modifier and Type | Method and Description |
|---|---|
DeviceConfirmationVO |
createDeviceConfirmationForReceive(@NotNull PerformInternalTransactionDTO parameters)
Creates a new pending for approval device confirmation for the payer.
|
SerializableInputStream |
deviceConfirmationBarcodeForReceive(InternalAccountOwner payer,
DeviceConfirmationBarcodeParams params)
Generates a two-dimensional barcode (QR code), only if the confirmation was not already approved nor rejected for
the given payer.
|
FileInfo |
exportInstallments(@NotNull ExportFormatVO format,
@NotNull InstallmentQuery query)
Exports a installments search results to file
|
FileInfo |
exportInstallmentsOverview(@NotNull ExportFormatVO format,
@NotNull InstallmentOverviewQuery query)
Exports an installments overview search results to file
|
FileInfo |
exportOverview(@NotNull ExportFormatVO format,
@NotNull TransactionOverviewQuery query)
Exports a transaction overview search results to file
|
FileInfo |
exportTransaction(@NotNull ExportFormatVO format,
@NotNull TransactionVO transaction)
Exports the details of a given transaction to file
|
FileInfo |
exportTransactions(@NotNull ExportFormatVO format,
@NotNull TransactionQuery query)
Exports a transactions search results to file
|
TransactionData |
getData(@NotNull TransactionVO vo)
Returns data for a transaction
|
InstallmentOverviewSearchData |
getInstallmentsOverviewSearchData()
Returns data for searching installments overview
|
InstallmentSearchData |
getInstallmentsSearchData(InternalAccountOwner owner)
Returns data for searching installments from an account owner perspective
|
Page<MaturityTableItemData> |
getMaturityTable(@NotNull MaturityTableQuery query)
returns the maturity table which the user can view in case of paying with a zero d-rate of an earlier account
state, when MaturityPolicy.HISTORY is valid.
|
TransactionOverviewSearchData |
getOverviewSearchData(boolean pendingMyAuthorization)
Returns data used to search for transaction overview
|
PerformPaymentData |
getPaymentData(InternalAccountOwner from,
InternalAccountOwner to,
TransferTypeVO transferType)
Returns data used to prepare a payment matching the given from / to account owners.
|
PerformPaymentToOwnerData |
getPaymentToOwnerData(InternalAccountOwner from,
InternalAccountOwner to,
TransferTypeVO transferType)
Returns simplified data used to prepare a payment matching the given arguments
|
PerformPaymentTypeData |
getPaymentTypeData(InternalAccountOwner from,
InternalAccountOwner to,
TransferTypeVO transferType)
Returns the data related to a payment type for a payment
|
ReceivePaymentData |
getReceivePaymentData()
Returns data used to receive a payment
|
ReceivePaymentFromUserData |
getReceivePaymentFromUserData(UserLocatorVO locator,
TransferTypeVO transferType)
Returns data used to receive a payment from a specific user.
|
PerformPaymentTypeData |
getReceivePaymentTypeData(UserLocatorVO locator,
TransferTypeVO transferType)
Returns the data related to a payment type for receiving a payment from a specific user and payment type
|
TransactionSearchData |
getSearchData(InternalAccountOwner owner)
Returns data used to search for transactions for the given owner
|
TransactionVO |
load(@NotNull java.lang.Long id)
Loads a transaction details by id, returning a proper detailed implementation (for example,
PaymentVO or
ScheduledPaymentVO). |
TransactionVO |
loadByTransactionNumber(@NotNull java.lang.String transactionNumber)
Returns a transfer by transaction number, or throws
EntityNotFoundException if not found |
TransferVO |
processInstallment(InstallmentActionDTO action)
Settles an installment.
|
void |
removeDeviceConfirmationForReceive(long deviceConfirmationId,
@NotNull PerformInternalTransactionDTO parameters)
Removes a confirmation for the payer.
|
void |
requestNewOTPForReceive(@NotNull PerformInternalTransactionDTO parameters,
@NotNull SendMedium medium)
Generates a new OTP (removing any previous password, if any) and sends it to the payer by the specified medium
using the confirmation password
type for the
BuiltInChannel.POS channel for the specified payer. |
Page<TransactionResultVO> |
search(@NotNull TransactionQuery query)
Searches for transactions from the point-of-view of a given account owner, according to the given query
|
Page<InstallmentResultVO> |
searchInstallments(@NotNull InstallmentQuery query)
Searches for installments from an account owner perspective, according to the given query
|
Page<InstallmentResultVO> |
searchInstallmentsOverview(@NotNull InstallmentOverviewQuery query)
Searches for installments overview, according to the given query
|
Page<TransactionResultVO> |
searchOverview(@NotNull TransactionOverviewQuery query)
Searches for transactions, according to the given query
|
void |
settleInstallment(InstallmentActionDTO action)
Settles an installment.
|
DeviceConfirmationVO |
viewDeviceConfirmationForReceive(long deviceConfirmationId,
@NotNull PerformInternalTransactionDTO dto)
Loads the details of a confirmation belonging to the payment payer.
|
DeviceConfirmationVO createDeviceConfirmationForReceive(@NotNull @NotNull PerformInternalTransactionDTO parameters) throws FrameworkException
PaymentService.receive(PerformPaymentDTO), that is the logged
user must be allowed to receive payments from the specified payer.FrameworkExceptionSerializableInputStream deviceConfirmationBarcodeForReceive(InternalAccountOwner payer, DeviceConfirmationBarcodeParams params) throws FrameworkException
FrameworkExceptionFileInfo exportInstallments(@NotNull @NotNull ExportFormatVO format, @NotNull @NotNull InstallmentQuery query)
FileInfo exportInstallmentsOverview(@NotNull @NotNull ExportFormatVO format, @NotNull @NotNull InstallmentOverviewQuery query)
FileInfo exportOverview(@NotNull @NotNull ExportFormatVO format, @NotNull @NotNull TransactionOverviewQuery query)
FileInfo exportTransaction(@NotNull @NotNull ExportFormatVO format, @NotNull @NotNull TransactionVO transaction) throws FrameworkException
FrameworkExceptionFileInfo exportTransactions(@NotNull @NotNull ExportFormatVO format, @NotNull @NotNull TransactionQuery query)
TransactionData getData(@NotNull @NotNull TransactionVO vo) throws FrameworkException
FrameworkExceptionInstallmentOverviewSearchData getInstallmentsOverviewSearchData() throws FrameworkException
FrameworkExceptionInstallmentSearchData getInstallmentsSearchData(InternalAccountOwner owner) throws FrameworkException
FrameworkExceptionPage<MaturityTableItemData> getMaturityTable(@NotNull @NotNull MaturityTableQuery query) throws FrameworkException
FrameworkExceptionTransactionOverviewSearchData getOverviewSearchData(boolean pendingMyAuthorization) throws FrameworkException
FrameworkExceptionPerformPaymentData getPaymentData(InternalAccountOwner from, InternalAccountOwner to, TransferTypeVO transferType) throws FrameworkException
FrameworkExceptionPerformPaymentToOwnerData getPaymentToOwnerData(InternalAccountOwner from, InternalAccountOwner to, TransferTypeVO transferType) throws FrameworkException
FrameworkExceptionPerformPaymentTypeData getPaymentTypeData(InternalAccountOwner from, InternalAccountOwner to, TransferTypeVO transferType) throws FrameworkException
FrameworkExceptionReceivePaymentData getReceivePaymentData() throws FrameworkException
FrameworkExceptionReceivePaymentFromUserData getReceivePaymentFromUserData(UserLocatorVO locator, TransferTypeVO transferType) throws FrameworkException, PosPayerException
PosPayerNotInChannelException - When the chosen user doesn't have the POS channel enabled (either by
preference or permission)FrameworkExceptionPosPayerExceptionPerformPaymentTypeData getReceivePaymentTypeData(UserLocatorVO locator, TransferTypeVO transferType) throws FrameworkException, PosPayerException
PosPayerNotInChannelException - When the chosen user doesn't have the POS channel enabled (either by
preference or permission)FrameworkExceptionPosPayerExceptionTransactionSearchData getSearchData(InternalAccountOwner owner) throws FrameworkException
FrameworkExceptionTransactionVO load(@NotNull @NotNull java.lang.Long id) throws FrameworkException
PaymentVO or
ScheduledPaymentVO).FrameworkExceptionTransactionVO loadByTransactionNumber(@NotNull @NotNull java.lang.String transactionNumber) throws FrameworkException
EntityNotFoundException if not foundFrameworkExceptionTransferVO processInstallment(InstallmentActionDTO action) throws FrameworkException
FrameworkExceptionvoid removeDeviceConfirmationForReceive(long deviceConfirmationId,
@NotNull
@NotNull PerformInternalTransactionDTO parameters)
throws FrameworkException
PaymentService.receive(PerformPaymentDTO), that is the logged
user must be allowed to receive payments from the specified payer.FrameworkExceptionvoid requestNewOTPForReceive(@NotNull
@NotNull PerformInternalTransactionDTO parameters,
@NotNull
@NotNull SendMedium medium)
throws FrameworkException,
SmsSendingException
BuiltInChannel.POS channel for the specified payer.PaymentService.receive(PerformPaymentDTO), that is the logged
user must be allowed to receive payments from the specified payer.parameters - the payment to be received.medium - the medium used to send the OTP.SmsSendingException - only if medium is SendMedium.SMS and the OTP could not be sent to any
enabled for sms phone.FrameworkExceptionPage<TransactionResultVO> search(@NotNull @NotNull TransactionQuery query) throws FrameworkException
FrameworkExceptionPage<InstallmentResultVO> searchInstallments(@NotNull @NotNull InstallmentQuery query) throws FrameworkException
FrameworkExceptionPage<InstallmentResultVO> searchInstallmentsOverview(@NotNull @NotNull InstallmentOverviewQuery query) throws FrameworkException
FrameworkExceptionPage<TransactionResultVO> searchOverview(@NotNull @NotNull TransactionOverviewQuery query) throws FrameworkException
FrameworkExceptionvoid settleInstallment(InstallmentActionDTO action) throws FrameworkException
FrameworkExceptionDeviceConfirmationVO viewDeviceConfirmationForReceive(long deviceConfirmationId, @NotNull @NotNull PerformInternalTransactionDTO dto) throws FrameworkException
PaymentService.receive(PerformPaymentDTO), that is the logged
user must be allowed to receive payments from the specified payer.FrameworkException