CashPaymentFlow

open class CashPaymentFlow(val amount: <Error class: unknown class><Currency>, val recipient: <Error class: unknown class>, val anonymous: Boolean, progressTracker: <Error class: unknown class>, val issuerConstraint: Set<<Error class: unknown class>> = emptySet(), val notary: <Error class: unknown class>? = null) : AbstractCashFlow<AbstractCashFlow.Result>

Initiates a flow that sends cash to a recipient.

Parameters

amount

the amount of a currency to pay to the recipient.

recipient

the party to pay the currency to.

issuerConstraint

if specified, the payment will be made using only cash issued by the given parties.

anonymous

whether to anonymous the recipient party. Should be true for normal usage, but may be false

notary

if not specified, the first notary of the network map is selected for testing purposes.

Constructors

Link copied to clipboard
constructor(amount: <Error class: unknown class><Currency>, recipient: <Error class: unknown class>)

A straightforward constructor that constructs spends using cash states of any issuer.

constructor(amount: <Error class: unknown class><Currency>, recipient: <Error class: unknown class>, anonymous: Boolean)

A straightforward constructor that constructs spends using cash states of any issuer.

constructor(amount: <Error class: unknown class><Currency>, recipient: <Error class: unknown class>, anonymous: Boolean, notary: <Error class: unknown class>)
constructor(request: CashPaymentFlow.PaymentRequest)
constructor(amount: <Error class: unknown class><Currency>, recipient: <Error class: unknown class>, anonymous: Boolean, progressTracker: <Error class: unknown class>, issuerConstraint: Set<<Error class: unknown class>> = emptySet(), notary: <Error class: unknown class>? = null)

Types

Link copied to clipboard
class PaymentRequest(val amount: <Error class: unknown class><Currency>, val recipient: <Error class: unknown class>, val anonymous: Boolean, val issuerConstraint: Set<<Error class: unknown class>> = emptySet(), val notary: <Error class: unknown class>? = null) : AbstractCashFlow.AbstractRequest

Properties

Link copied to clipboard
val amount: <Error class: unknown class><Currency>
Link copied to clipboard
Link copied to clipboard
val issuerConstraint: Set<<Error class: unknown class>>
Link copied to clipboard
val notary: <Error class: unknown class>? = null
Link copied to clipboard
open val progressTracker: <Error class: unknown class>
Link copied to clipboard
val recipient: <Error class: unknown class>

Functions

Link copied to clipboard