Skip to main content

Payment

data class Payment(var recipient: Address, var amount: PtbArgument) : Disposable

A single payment: a recipient address paired with the amount to send.

Constructors

Paymentconstructor(recipient: Address, amount: PtbArgument)

Properties

NameSummary
amountvar amount: PtbArgument
The amount to send, in the coin's smallest unit.
recipientvar recipient: Address
The recipient address.

Functions

NameSummary
destroyopen override fun destroy()