public class SplitPayment extends AbstractContract
Constructor and Description |
---|
SplitPayment() |
Modifier and Type | Method and Description |
---|---|
JO |
processTransaction(TransactionContext context)
Receive amount from the trigger transaction and split it between the accounts specified in the contract parameters
based on the specified ratio
|
isDuplicate, processBlock, processInvocation, processRequest, processVoucher
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
init, minProductVersion, shutdown
public JO processTransaction(TransactionContext context)
processTransaction
in interface Contract
processTransaction
in class AbstractContract
context
- contract context