public static class SampleCashSchemaV2.PersistentCashState
extends FungibleState
Constructor and Description |
---|
PersistentCashState(java.lang.String currency,
java.util.Set<? extends net.corda.core.identity.AbstractParty> participants,
AbstractParty owner,
long quantity,
AbstractParty issuerParty,
OpaqueBytes issuerRef) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getCurrency()
product type
|
java.util.Set<net.corda.core.identity.AbstractParty> |
getParticipants()
X500Name of participant parties
|
void |
setCurrency(java.lang.String p)
product type
|
void |
setParticipants(java.util.Set<net.corda.core.identity.AbstractParty> p)
X500Name of participant parties
|
getIssuer, getIssuerRef, getOwner, getParticipants, getQuantity, setIssuer, setIssuerRef, setOwner, setParticipants, setQuantity
getStateRef, setStateRef
getStateRef
public PersistentCashState(java.lang.String currency, java.util.Set<? extends net.corda.core.identity.AbstractParty> participants, AbstractParty owner, long quantity, AbstractParty issuerParty, OpaqueBytes issuerRef)
currency
- product typepublic java.util.Set<net.corda.core.identity.AbstractParty> getParticipants()
X500Name of participant parties
public void setParticipants(java.util.Set<net.corda.core.identity.AbstractParty> p)
X500Name of participant parties
public java.lang.String getCurrency()
product type
public void setCurrency(java.lang.String p)
product type
p
- product type