public interface TransactionAuthorizationService extends Service
| Modifier and Type | Method and Description |
|---|---|
void |
authorize(TransactionAuthorizationDTO transferAuthorizationDto)
Authorizes a payment pending authorization
|
void |
cancel(TransactionAuthorizationDTO transferAuthorizationDto)
Cancels a payment pending authorization
|
void |
deny(TransactionAuthorizationDTO transferAuthorizationDto)
Denies a payment pending authorization
|
TransactionAuthorizationsSearchData |
getAuthorizationSearchData()
Returns data for searching transfer authorizations
|
TransactionSearchData |
getTransactionSearchData(InternalAccountOwner owner)
Returns data for searching authorizable/authorized transactions.
|
Page<TransactionVO> |
searchAuthorizedTransactions(AuthorizedTransactionQuery query)
Searches for authorized transactions of any status, according to the given query
|
Page<TransactionVO> |
searchTransactionsToAuthorize(TransactionsToAuthorizeQuery query)
Searches transactions which the user has to authorize
|
void authorize(TransactionAuthorizationDTO transferAuthorizationDto) throws 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 againFrameworkExceptionvoid cancel(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(TransactionAuthorizationDTO transferAuthorizationDto) throws FrameworkException, IllegalActionException
IllegalActionException - The payment is not on a state which can be deniedFrameworkExceptionTransactionAuthorizationsSearchData getAuthorizationSearchData() throws FrameworkException
FrameworkExceptionTransactionSearchData getTransactionSearchData(InternalAccountOwner owner) throws FrameworkException
FrameworkExceptionPage<TransactionVO> searchAuthorizedTransactions(AuthorizedTransactionQuery query) throws FrameworkException
FrameworkExceptionPage<TransactionVO> searchTransactionsToAuthorize(TransactionsToAuthorizeQuery query) throws FrameworkException
FrameworkException