InvoiceLineItem

data class InvoiceLineItem(val id: String?, val description: String?, val quantity: Int?, val created: Int?, val updated: Int?, val lineItemObject: String?, val unitAmountCents: Int?, val unitAmountCurrency: Int?)

Represents a single line item attached to an invoice.

Constructors

Link copied to clipboard
constructor(id: String?, description: String?, quantity: Int?, created: Int?, updated: Int?, lineItemObject: String?, unitAmountCents: Int?, unitAmountCurrency: Int?)

Properties

Link copied to clipboard
val created: Int?

A Unix timestamp (seconds) indicating when the line item was created.

Link copied to clipboard

A human-readable description of the line item.

Link copied to clipboard
val id: String?

The unique identifier of this line item.

Link copied to clipboard
@SerializedName(value = "object")
val lineItemObject: String?

The object type string returned by the API (e.g. "line_item").

Link copied to clipboard

The number of units included in this line item.

Link copied to clipboard
@SerializedName(value = "unit_amount_cents")
val unitAmountCents: Int?

The price per unit expressed in the smallest currency unit (e.g. cents).

Link copied to clipboard
@SerializedName(value = "unit_amount_currency")
val unitAmountCurrency: Int?

The numeric currency code for unitAmountCents.

Link copied to clipboard
val updated: Int?

A Unix timestamp (seconds) indicating when the line item was last updated.