Syntax
Transaction
verifyActorAndTransaction
(
ITransaction
request
,
SubTransaction
subTxn
,
boolean
lockMoneyTxn
,
boolean
checkExpiry
,
final CallerInformation
actor
,
Integer...
allowedStatus
) throws TransactionFailedException
Parameters
-
request –
the MoneyRequest to process
-
subTxn –
the current sub transaction.
-
lockMoneyTxn –
true to lock the found MoneyTransaction; false otherwise
-
checkExpiry –
true to check the transaction's expiration; false to ignore it
-
allowedStatus –
the allowed Transaction.Status, the Money Transaction status must be in one of them - if at least one status is specified, the transaction's error code is checked to be 0; if no status is specified, neither the status nor the error code is checked
Returns
the referenced Transaction
Exceptions
-
TransactionFailedException –
if verification fails
Usage
Retrieves the referenced
Money Transaction
, locks it and performs basic checks:
-
Actor is set
- Given actor matches Money Transaction
- Validity of the used transaction
the referenced Transaction