LineItem

data class LineItem(val label: String, val price: Long, val type: LineItemType, val status: LineItemStatus = LineItemStatus.Final) : Parcelable

Represents a line item to be displayed in the Google Pay sheet.

Constructors

Link copied to clipboard
constructor(label: String, price: Long, type: LineItemType, status: LineItemStatus = LineItemStatus.Final)

Properties

Link copied to clipboard

The label for the line item that will appear on the Google Payment sheet

Link copied to clipboard
val price: Long

The price for the line item that will appear on the Google Pay sheet.

Link copied to clipboard

The status of the line item.

Link copied to clipboard

The type of line item.