Syntax
void
checkIdentical
(
final Transaction
txn
) throws TransactionParticipantException
Parameters
-
txn –
the MoneyTransaction to check
Exceptions
-
TransactionParticipantException –
if payer and payee are identical
Usage
Checks if payee and payer of the specified transaction are identical.