corda / net.corda.finance.flows

Package net.corda.finance.flows

Cash payments and issuances. Two party "delivery vs payment" atomic asset swaps.

WARNING: This library is not suitable for production use and should not be used in real CorDapps. Instead, use the Token SDK, or implement your own library. This library may be removed in a future release without warning.

Types

AbstractCashFlow

abstract class AbstractCashFlow<out T> : FlowLogic<T>

Initiates a flow that produces an Issue/Move or Exit Cash transaction.

CashExitFlow

class CashExitFlow : AbstractCashFlow<Result>

Initiates a flow that produces an cash exit transaction.

CashExitResponderFlow

class CashExitResponderFlow : FlowLogic<Unit>

CashIssueAndPaymentFlow

class CashIssueAndPaymentFlow : AbstractCashFlow<Result>

Initiates a flow that self-issues cash and then send this to a recipient.

CashIssueFlow

class CashIssueFlow : AbstractCashFlow<Result>

Initiates a flow that self-issues cash (which should then be sent to recipient(s) using a payment transaction).

CashPaymentFlow

open class CashPaymentFlow : AbstractCashFlow<Result>

Initiates a flow that sends cash to a recipient.

CashPaymentReceiverFlow

class CashPaymentReceiverFlow : FlowLogic<Unit>

TwoPartyDealFlow

object TwoPartyDealFlow

Classes for manipulating a two party deal or agreement.

TwoPartyTradeFlow

object TwoPartyTradeFlow

This asset trading flow implements a "delivery vs payment" type swap. It has two parties (B and S for buyer and seller) and the following steps:

Exceptions

CashException

class CashException : FlowException