com.r3corda.contracts / CommercialPaper / Clauses / Issue

Issue

class Issue : AbstractIssue<State, Terms>


Constructors

<init> Issue()

Properties

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

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

Inherited Properties

ifMatched open val ifMatched: MatchBehaviour

Behaviour if this clause is not matches

ifNotMatched open val ifNotMatched: MatchBehaviour

Behaviour if this clause is matched

sum val sum: List<S>.() -> Amount<Issued<T>>
sumOrZero val sumOrZero: List<S>.(Issued<T>) -> Amount<Issued<T>>

Functions

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