data class State : OwnableState, QueryableState| <init> |
State(issuance: PartyAndReference, owner: PublicKeyTree, faceValue: Amount<Issued<Currency>>, maturityDate: Instant) |
| contract |
val contract: CommercialPaperAn instance of the contract class that will verify this state. |
| faceValue |
val faceValue: Amount<Issued<Currency>> |
| issuance |
val issuance: PartyAndReference |
| maturityDate |
val maturityDate: Instant |
| owner |
val owner: PublicKeyTreeThere must be a MoveCommand signed by this key to claim the amount |
| participants |
val participants: List<PublicKeyTree>A |
| token |
val token: Issued<Terms> |
| generateMappedObject |
fun generateMappedObject(schema: MappedSchema): PersistentStateObject Relational Mapping support. |
| supportedSchemas |
fun supportedSchemas(): Iterable<MappedSchema>Object Relational Mapping support. |
| toString |
fun toString(): String |
| withFaceValue |
fun withFaceValue(newFaceValue: Amount<Issued<Currency>>): <ERROR CLASS> |
| withIssuance |
fun withIssuance(newIssuance: PartyAndReference): <ERROR CLASS> |
| withMaturityDate |
fun withMaturityDate(newMaturityDate: Instant): <ERROR CLASS> |
| withNewOwner |
fun withNewOwner(newOwner: PublicKeyTree): <ERROR CLASS>Copies the underlying data structure, replacing the owner field with this new value and leaving the rest alone |
| withOwner |
fun withOwner(newOwner: PublicKeyTree): <ERROR CLASS> |
| owned by |
infix fun State.owned by(owner: PublicKeyTree): State |
| with notary |
infix fun State.with notary(notary: Party): TransactionState<State> |