verifyTransaction(ITransaction, boolean, Integer...) method

Syntax

Transaction verifyTransaction ( ITransaction request , boolean checkExpiry , Integer... allowedStatus ) throws TransactionFailedException

Parameters

Returns

the referenced MoneyTransaction

Exceptions

Usage

Retrieves the referenced

Money Transaction

, locks it and performs basic checks on the transaction:

  • Referenced Transaction exists and is (or refers to) a Money Transaction
  • The Money Transaction has expired
  • The Money Transaction is in the requested status with error code 0 (if any status is specified)
  • The Money Transaction has expired (if requested)

If any violation is detected, the error will be set using

setError(int, Object[])

.

the referenced MoneyTransaction