public interface TransactionService extends Service
| Modifier and Type | Method and Description |
|---|---|
TransactionData |
getData(TransactionVO vo)
Returns data for a transaction
|
Page<MaturityTableItemData> |
getMaturityTable(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.
|
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(java.lang.Long id)
Loads a transaction details by id, returning a proper detailed implementation (for example,
PaymentVO or
ScheduledPaymentVO). |
TransactionVO |
loadByTransactionNumber(java.lang.String transactionNumber)
Returns a transfer by transaction number, or throws
EntityNotFoundException if not found |
SerializableInputStream |
print(java.lang.Long id)
Generates a PDF file for a transaction details
|
void |
requestNewOTPForReceive(PerformInternalTransactionDTO parameters,
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.It has the same security controls as for PaymentService.receive(PerformPaymentDTO), that is the logged
user must be allowed to receive
payments from the specified payer. |
Page<TransactionEntryVO> |
search(TransactionQuery query)
Searches for transactions, according to the given query
|
TransactionData getData(@NotNull TransactionVO vo) throws FrameworkException
FrameworkExceptionPage<MaturityTableItemData> getMaturityTable(@NotNull MaturityTableQuery query) 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 java.lang.Long id) throws FrameworkException
PaymentVO or
ScheduledPaymentVO).FrameworkExceptionTransactionVO loadByTransactionNumber(@NotNull java.lang.String transactionNumber) throws FrameworkException
EntityNotFoundException if not foundFrameworkExceptionSerializableInputStream print(@NotNull java.lang.Long id) throws FrameworkException
FrameworkExceptionvoid requestNewOTPForReceive(@NotNull
PerformInternalTransactionDTO parameters,
@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<TransactionEntryVO> search(@NotNull TransactionQuery query) throws FrameworkException
FrameworkException