LineItem

data class LineItem(val id: String, val name: String, val quantity: Int? = null, val total: PaymentSheetSession.Money, val amountSelection: PaymentSheetAmountSelection? = null)(source)

Purchasable item displayed in the optional Order summary.

Constructors

Link copied to clipboard
constructor(id: String, name: String, quantity: Int? = null, total: PaymentSheetSession.Money, amountSelection: PaymentSheetAmountSelection? = null)

Properties

Link copied to clipboard

Customer-selected policy when this exact line may still be repriced before payment starts.

Link copied to clipboard
val id: String

Stable Checkout identifier.

Link copied to clipboard

Payer-facing product or service name.

Link copied to clipboard

Optional quantity supplied by Checkout.

Link copied to clipboard

Checkout-calculated line total.