com.jelurida.ardor.contracts

## Class SplitPayment

- java.lang.Object
- - nxt.addons.AbstractContract
  - - com.jelurida.ardor.contracts.SplitPayment

- All Implemented Interfaces:
    Contract

      public class SplitPayment
      extends AbstractContract

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `SplitPayment()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    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

    - ### Methods inherited from class nxt.addons.AbstractContract

      `isDuplicate, processBlock, processInvocation, processRequest, processVoucher`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

    - ### Methods inherited from interface nxt.addons.Contract

      `minProductVersion`

- - ### Constructor Detail

    - #### SplitPayment

          public SplitPayment()

  - ### Method Detail

    - #### processTransaction

          public 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
      Specified by:
        `processTransaction` in interface `Contract`
      Overrides:
        `processTransaction` in class `AbstractContract`
      Parameters:
        `context` - contract context