corda / net.corda.finance.flows / TwoPartyTradeFlow / Buyer

Buyer

class Buyer : FlowLogic<SignedTransaction>

Types

COLLECTING_SIGNATURES

object COLLECTING_SIGNATURES : Step

RECEIVING

object RECEIVING : Step

RECORDING

object RECORDING : Step

SharedTx

data class SharedTx

SIGNING

object SIGNING : Step

VERIFYING

object VERIFYING : Step

Constructors

<init>

Buyer(otherSideSession: FlowSession, notary: Party, acceptablePrice: Amount<Currency>, typeToBuy: Class<out OwnableState>)
Buyer(sellerSession: FlowSession, notary: Party, acceptablePrice: Amount<Currency>, typeToBuy: Class<out OwnableState>, anonymous: Boolean)

Properties

progressTracker

Override this to provide a ProgressTracker. If one is provided and stepped, the framework will do something helpful with the progress reports e.g record to the audit service. If this flow is invoked as a subflow of another, then the tracker will be made a child of the current step in the parent. If it's null, this flow doesn't track progress.

open val progressTracker: ProgressTracker

Functions

call

This is where you fill out your business logic.

open fun call(): SignedTransaction