CashIssueAndPaymentFlow

class CashIssueAndPaymentFlow(val amount: <Error class: unknown class><Currency>, val issueRef: <Error class: unknown class>, val recipient: <Error class: unknown class>, val anonymous: Boolean, val notary: <Error class: unknown class>, progressTracker: <Error class: unknown class>) : AbstractCashFlow<AbstractCashFlow.Result>

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

We issue cash only to ourselves so that all KYC/AML checks on payments are enforced consistently, rather than risk checks for issuance and payments differing. Outside of test scenarios it would be extremely unusual to issue cash and immediately transfer it, so impact of this limitation is considered minimal.

Parameters

amount

the amount of currency to issue.

issueRef

a reference to put on the issued currency.

recipient

the recipient of the currency

anonymous

if true, the recipient of the cash will be anonymous. Should be true for normal usage

notary

the notary to set on the output states.

Constructors

Link copied to clipboard
constructor(amount: <Error class: unknown class><Currency>, issueRef: <Error class: unknown class>, recipient: <Error class: unknown class>, anonymous: Boolean, notary: <Error class: unknown class>)
constructor(amount: <Error class: unknown class><Currency>, issueRef: <Error class: unknown class>, recipient: <Error class: unknown class>, anonymous: Boolean, notary: <Error class: unknown class>, progressTracker: <Error class: unknown class>)

Types

Link copied to clipboard
object Companion
Link copied to clipboard
class IssueAndPaymentRequest(val amount: <Error class: unknown class><Currency>, val issueRef: <Error class: unknown class>, val recipient: <Error class: unknown class>, val notary: <Error class: unknown class>, val anonymous: Boolean) : AbstractCashFlow.AbstractRequest

Properties

Link copied to clipboard
val amount: <Error class: unknown class><Currency>
Link copied to clipboard
Link copied to clipboard
val issueRef: <Error class: unknown class>
Link copied to clipboard
val notary: <Error class: unknown class>
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