Invoice
@Serializable
This object represents a BOLT #11 invoice (https://github.com/lightning/bolts/blob/master/11-payment-encoding.md) initiated by a Lightspark Node.
Parameters
id
The unique identifier of this entity across all Lightspark systems. Should be treated as an opaque string.
createdAt
The date and time when the entity was first created.
updatedAt
The date and time when the entity was last updated.
data
The details of the invoice.
status
The status of the payment request.
amountPaid
The total amount that has been paid to this invoice.
Constructors
Link copied to clipboard
constructor(id: String, createdAt: Instant, updatedAt: Instant, data: InvoiceData, status: PaymentRequestStatus, amountPaid: CurrencyAmount? = null)