| Modifier and Type | Method and Description |
|---|---|
PaymentAuthorizationLevelData |
authorize(@NotNull TransactionAuthorizationDTO transferAuthorizationDto)
Authorizes a payment pending authorization
|
void |
cancel(@NotNull TransactionAuthorizationDTO transferAuthorizationDto)
Cancels a payment pending authorization
|
void |
deny(@NotNull TransactionAuthorizationDTO transferAuthorizationDto)
Denies a payment pending authorization
|
TransactionSearchData |
getAuthorizedTransactionsSearchData(InternalAccountOwner owner)
Returns data used to search for authorized transactions for the given owner.
|
TransactionsToAuthorizeSearchData |
getTransactionsToAuthorizeSearchData()
Returns data for searching transactions the logged user can authorize
|
Page<TransactionVO> |
searchAuthorizedTransactions(@NotNull AuthorizedTransactionQuery query)
Searches for authorized transactions of any status, according to the given query
|
Page<TransactionVO> |
searchTransactionsToAuthorize(@NotNull TransactionsToAuthorizeQuery query)
Searches transactions which the user has to authorize
|
PaymentAuthorizationLevelData authorize(@NotNull @NotNull TransactionAuthorizationDTO transferAuthorizationDto) throws TransferException, FrameworkException, IllegalActionException
IllegalActionException - The payment is not on a state which can be authorized or was already authorized by
the logged user, even if it
would be possible (through multiple roles) to authorize againTransferExceptionFrameworkExceptionvoid cancel(@NotNull
@NotNull TransactionAuthorizationDTO transferAuthorizationDto)
throws FrameworkException,
IllegalActionException
IllegalActionException - The payment is not on a state which can be canceled, or is part of a scheduled
payment (instead, the entire
scheduled payment should be canceled)FrameworkExceptionvoid deny(@NotNull
@NotNull TransactionAuthorizationDTO transferAuthorizationDto)
throws FrameworkException,
IllegalActionException
IllegalActionException - The payment is not on a state which can be deniedFrameworkExceptionTransactionSearchData getAuthorizedTransactionsSearchData(InternalAccountOwner owner) throws FrameworkException
TransactionService.getSearchData(InternalAccountOwner).owner - Only for managers (admin/broker) it could be null, meaning we want to search for transactions of all
managed users. For members it must be not null and equals to the logged user.FrameworkExceptionTransactionsToAuthorizeSearchData getTransactionsToAuthorizeSearchData() throws FrameworkException
FrameworkExceptionPage<TransactionVO> searchAuthorizedTransactions(@NotNull @NotNull AuthorizedTransactionQuery query) throws FrameworkException
FrameworkExceptionPage<TransactionVO> searchTransactionsToAuthorize(@NotNull @NotNull TransactionsToAuthorizeQuery query) throws FrameworkException
FrameworkException