com.r3corda.contracts.asset / Obligation / Clauses / Settle

Settle

class Settle<P> : GroupClause<State<P>, Issued<Terms<P>>>

Obligation-specific clause for settling an outstanding obligation by witnessing change of ownership of other states to fulfil



Constructors

<init> Settle()

Obligation-specific clause for settling an outstanding obligation by witnessing change of ownership of other states to fulfil

Properties

ifMatched val ifMatched: MatchBehaviour

Behaviour if this clause is not matches

ifNotMatched val ifNotMatched: MatchBehaviour

Behaviour if this clause is matched

requiredCommands val requiredCommands: Set<Class<out CommandData>>

Classes for commands which must ALL be present in transaction for this clause to be triggered

Functions

verify fun verify(tx: TransactionForContract, inputs: List<State<P>>, outputs: List<State<P>>, commands: Collection<AuthenticatedObject<CommandData>>, token: Issued<Terms<P>>): Set<CommandData>