corda / net.corda.finance.contracts.asset / PartyAndAmount

PartyAndAmount

data class PartyAndAmount<T : Any>

A simple holder for a (possibly anonymous) AbstractParty and a quantity of tokens

Constructors

<init>

PartyAndAmount(party: AbstractParty, amount: Amount<T>)

A simple holder for a (possibly anonymous) AbstractParty and a quantity of tokens

Properties

amount

val amount: Amount<T>

party

val party: AbstractParty

Extension Functions

contextLogger

fun Any.contextLogger(): <ERROR CLASS>

When called from a companion object, returns the logger for the enclosing class.