public class CashIssueFlow
extends AbstractCashFlow
Initiates a flow that produces cash issuance transaction.
AbstractCashFlow.Companion
Companion
Constructor and Description |
---|
CashIssueFlow(Amount<java.util.Currency> amount,
OpaqueBytes issueRef,
Party recipient,
Party notary,
ProgressTracker progressTracker)
Initiates a flow that produces cash issuance transaction.
|
CashIssueFlow(Amount<java.util.Currency> amount,
OpaqueBytes issueRef,
Party recipient,
Party notary) |
Modifier and Type | Method and Description |
---|---|
SignedTransaction |
call()
This is where you fill out your business logic. The returned object will usually be ignored, but can be
helpful if this flow is meant to be used as a subflow.
|
Amount<java.util.Currency> |
getAmount() |
OpaqueBytes |
getIssueRef() |
Party |
getNotary() |
Party |
getRecipient() |
getProgressTracker
call, getCounterpartyMarker, getLogger, getProgressTracker, getRunId, getServiceHub, getStateMachine, receive, send, sendAndReceive, setStateMachine, subFlow, subFlow, track, waitForLedgerCommit
public CashIssueFlow(Amount<java.util.Currency> amount, OpaqueBytes issueRef, Party recipient, Party notary, ProgressTracker progressTracker)
Initiates a flow that produces cash issuance transaction.
amount
- the amount of currency to issue.issueRef
- a reference to put on the issued currency.recipient
- the party who should own the currency after it is issued.notary
- the notary to set on the output states.public CashIssueFlow(Amount<java.util.Currency> amount, OpaqueBytes issueRef, Party recipient, Party notary)
public SignedTransaction call()
This is where you fill out your business logic. The returned object will usually be ignored, but can be helpful if this flow is meant to be used as a subflow.
public Amount<java.util.Currency> getAmount()
public OpaqueBytes getIssueRef()
public Party getRecipient()
public Party getNotary()