corda / net.corda.finance.contracts.asset / Obligation / Commands

Commands

interface Commands : CommandData

Types

Exit

A command stating that the debt is being released by the beneficiary. Normally would indicate either settlement outside of the ledger, or that the obligor is unable to pay.

data class Exit<P : Any> : CommandData

Issue

Allows new obligation states to be issued into existence.

class Issue : TypeOnlyCommandData

Move

A command stating that a debt has been moved, optionally to fulfil another contract.

data class Move : MoveCommand

Net

Net two or more obligation states together in a close-out netting style. Limited to bilateral netting as only the beneficiary (not the obligor) needs to sign.

data class Net : NetCommand

SetLifecycle

A command stating that the beneficiary is moving the contract into the defaulted state as it has not been settled by the due date, or resetting a defaulted contract back to the issued state.

data class SetLifecycle : CommandData

Settle

A command stating that the obligor is settling some or all of the amount owed by transferring a suitable state object to the beneficiary. If this reduces the balance to zero, the state object is destroyed.

data class Settle<P : Any> : CommandData