Invoice

constructor(id: String, createdAt: Instant, updatedAt: Instant, data: InvoiceData, status: PaymentRequestStatus, amountPaid: CurrencyAmount? = null)

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.