public class CashExitFlow
extends AbstractCashFlow
Initiates a flow that produces an cash exit transaction.
Modifier and Type | Class and Description |
---|---|
static class |
CashExitFlow.Companion |
Modifier and Type | Field and Description |
---|---|
static CashExitFlow.Companion |
Companion |
Constructor and Description |
---|
CashExitFlow(Amount<java.util.Currency> amount,
OpaqueBytes issueRef,
ProgressTracker progressTracker)
Initiates a flow that produces an cash exit transaction.
|
CashExitFlow(Amount<java.util.Currency> amount,
OpaqueBytes issueRef) |
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() |
getProgressTracker
call, getCounterpartyMarker, getLogger, getProgressTracker, getRunId, getServiceHub, getStateMachine, receive, send, sendAndReceive, setStateMachine, subFlow, subFlow, track, waitForLedgerCommit
public static CashExitFlow.Companion Companion
public CashExitFlow(Amount<java.util.Currency> amount, OpaqueBytes issueRef, ProgressTracker progressTracker)
Initiates a flow that produces an cash exit transaction.
amount
- the amount of a currency to remove from the ledger.public CashExitFlow(Amount<java.util.Currency> amount, OpaqueBytes issueRef)
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()