public class CashPaymentFlow
extends AbstractCashFlow
Initiates a flow that produces an cash move transaction.
AbstractCashFlow.Companion
Companion
Constructor and Description |
---|
CashPaymentFlow(Amount<net.corda.core.contracts.Issued> amount,
Party recipient,
ProgressTracker progressTracker)
Initiates a flow that produces an cash move transaction.
|
CashPaymentFlow(Amount<net.corda.core.contracts.Issued> amount,
Party recipient) |
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<net.corda.core.contracts.Issued> |
getAmount() |
Party |
getRecipient() |
getProgressTracker
call, getCounterpartyMarker, getLogger, getProgressTracker, getRunId, getServiceHub, getStateMachine, receive, send, sendAndReceive, setStateMachine, subFlow, subFlow, track, waitForLedgerCommit
public CashPaymentFlow(Amount<net.corda.core.contracts.Issued> amount, Party recipient, ProgressTracker progressTracker)
Initiates a flow that produces an cash move transaction.
amount
- the amount of a currency to pay to the recipient.recipient
- the party to pay the currency to.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<net.corda.core.contracts.Issued> getAmount()
public Party getRecipient()