public interface TransactionService extends Service
| Modifier and Type | Method and Description |
|---|---|
PerformPaymentData |
getPaymentData(AccountOwner from,
AccountOwner to)
Returns data used to prepare a payment matching the given arguments
|
PerformPaymentToOwnerData |
getPaymentToOwnerData(AccountOwner from,
AccountOwner to)
Returns simplified data used to prepare a payment matching the given arguments
|
PerformPaymentTypeData |
getPaymentTypeData(AccountOwner from,
AccountOwner to,
java.lang.Long paymentTypeId)
Returns the data related to a payment type for a payment
|
ReceivePaymentData |
getReceivePaymentData()
Returns data used to receive a payment
|
ReceivePaymentFromUserData |
getReceivePaymentFromUserData(UserLocatorVO locator)
Returns data used to receive a payment from a specific user
|
PerformPaymentTypeData |
getReceivePaymentTypeData(UserLocatorVO locator,
java.lang.Long paymentTypeId)
Returns the data related to a payment type for receiving a payment from a specific user and payment type
|
TransactionSearchData |
getSearchData(AccountOwner 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
|
Page<TransactionEntryVO> |
search(BaseTransactionQuery query)
Searches for transactions, according to the given query
|
PerformPaymentData getPaymentData(AccountOwner from, AccountOwner to) throws FrameworkException
FrameworkExceptionPerformPaymentToOwnerData getPaymentToOwnerData(AccountOwner from, AccountOwner to) throws FrameworkException
FrameworkExceptionPerformPaymentTypeData getPaymentTypeData(AccountOwner from, AccountOwner to, java.lang.Long paymentTypeId) throws FrameworkException
FrameworkExceptionReceivePaymentData getReceivePaymentData() throws FrameworkException
FrameworkExceptionReceivePaymentFromUserData getReceivePaymentFromUserData(UserLocatorVO locator) throws FrameworkException, UserNotInPosChannelException
UserNotInPosChannelException - When the chosen user doesn't have the POS channel enabled (either by preference or permission)FrameworkExceptionPerformPaymentTypeData getReceivePaymentTypeData(UserLocatorVO locator, java.lang.Long paymentTypeId) throws FrameworkException, UserNotInPosChannelException
UserNotInPosChannelException - When the chosen user doesn't have the POS channel enabled (either by preference or permission)FrameworkExceptionTransactionSearchData getSearchData(AccountOwner owner) throws FrameworkException
FrameworkExceptionTransactionVO load(java.lang.Long id) throws FrameworkException
PaymentVO or ScheduledPaymentVO).FrameworkExceptionTransactionVO loadByTransactionNumber(java.lang.String transactionNumber) throws FrameworkException
EntityNotFoundException if not foundFrameworkExceptionSerializableInputStream print(java.lang.Long id) throws FrameworkException
FrameworkExceptionPage<TransactionEntryVO> search(BaseTransactionQuery query) throws FrameworkException
FrameworkException