InvoiceData

constructor(encodedPaymentRequest: String, bitcoinNetwork: BitcoinNetwork, paymentHash: String, amount: CurrencyAmount, createdAt: Instant, expiresAt: Instant, memo: String? = null)

Parameters

paymentHash

The payment hash of this invoice.

amount

The requested amount in this invoice. If it is equal to 0, the sender should choose the amount to send.

createdAt

The date and time when this invoice was created.

expiresAt

The date and time when this invoice will expire.

memo

A short, UTF-8 encoded, description of the purpose of this invoice.