data class State : OwnableState, QueryableState, ICommercialPaperState
<init> |
State(issuance: PartyAndReference, owner: AbstractParty, faceValue: Amount<Issued<Currency>>, maturityDate: Instant) |
faceValue |
val faceValue: Amount<Issued<Currency>> |
issuance |
val issuance: PartyAndReference |
maturityDate |
val maturityDate: Instant |
owner |
There must be a MoveCommand signed by this key to claim the amount. val owner: AbstractParty |
participants |
A participant is any party that should be notified when the state is created or consumed. val participants: List<AbstractParty> |
generateMappedObject |
Object Relational Mapping support. fun generateMappedObject(schema: MappedSchema): PersistentState |
supportedSchemas |
Object Relational Mapping support. fun supportedSchemas(): Iterable<MappedSchema> |
toString |
fun toString(): String |
withFaceValue |
fun withFaceValue(newFaceValue: Amount<Issued<Currency>>): ICommercialPaperState |
withMaturityDate |
fun withMaturityDate(newMaturityDate: Instant): ICommercialPaperState |
withNewOwner |
Copies the underlying data structure, replacing the owner field with this new value and leaving the rest alone. fun withNewOwner(newOwner: AbstractParty): CommandAndState |
withoutOwner |
fun withoutOwner(): State |
withOwner |
fun withOwner(newOwner: AbstractParty): ICommercialPaperState |