public class CashIssueFlow
extends AbstractCashFlow
Initiates a flow that produces cash issuance transaction.
AbstractCashFlow.Companion, AbstractCashFlow.Result
Companion
Constructor and Description |
---|
CashIssueFlow(Amount<java.util.Currency> amount,
OpaqueBytes issueRef,
Party recipient,
Party notary,
boolean anonymous,
ProgressTracker progressTracker)
Initiates a flow that produces cash issuance transaction.
|
CashIssueFlow(Amount<java.util.Currency> amount,
OpaqueBytes issueRef,
Party recipient,
Party notary) |
CashIssueFlow(Amount<java.util.Currency> amount,
OpaqueBytes issueRef,
Party recipient,
Party notary,
boolean anonymous) |
Modifier and Type | Method and Description |
---|---|
AbstractCashFlow.Result |
call()
This is where you fill out your business logic.
|
Amount<java.util.Currency> |
getAmount() |
boolean |
getAnonymous() |
OpaqueBytes |
getIssueRef() |
Party |
getNotary() |
Party |
getRecipient() |
finaliseTx, getProgressTracker
call, checkFlowPermission, getCounterpartyMarker, getLogger, getProgressTracker, getRunId, getServiceHub, receive, recordAuditEvent, send, sendAndReceive, subFlow, track, waitForLedgerCommit
public CashIssueFlow(Amount<java.util.Currency> amount, OpaqueBytes issueRef, Party recipient, Party notary, boolean anonymous, 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 CashIssueFlow(Amount<java.util.Currency> amount, OpaqueBytes issueRef, Party recipient, Party notary, boolean anonymous)
public AbstractCashFlow.Result call()
This is where you fill out your business logic.
public Amount<java.util.Currency> getAmount()
public OpaqueBytes getIssueRef()
public Party getRecipient()
public Party getNotary()
public boolean getAnonymous()