public static class CashCommand.IssueCash
extends CashCommand
Issue cash state objects.
CashCommand.ExitCash, CashCommand.IssueCash, CashCommand.PayCash
Constructor and Description |
---|
IssueCash(Amount<java.util.Currency> amount,
OpaqueBytes issueRef,
Party recipient,
Party notary)
Issue cash state objects.
|
Modifier and Type | Method and Description |
---|---|
Amount<java.util.Currency> |
getAmount() |
OpaqueBytes |
getIssueRef() |
Party |
getNotary() |
Party |
getRecipient() |
public IssueCash(Amount<java.util.Currency> amount, OpaqueBytes issueRef, Party recipient, Party notary)
Issue cash state objects.
amount
- the amount of currency to issue on to the ledger.issueRef
- the reference to specify on the issuance, used to differentiate pools of cash. Convention is
to use the single byte "0x01" as a default.recipient
- the party to issue the cash to.notary
- the notary to use for this transaction.public Amount<java.util.Currency> getAmount()
public OpaqueBytes getIssueRef()
public Party getRecipient()
public Party getNotary()