LineItem
data class LineItem @JvmOverloads constructor(val itemType: KlarnaSourceParams.LineItem.Type, val itemDescription: String, val totalAmount: Int, val quantity: Int? = null) : Parcelable
Constructors
Link copied to clipboard
constructor(itemType: KlarnaSourceParams.LineItem.Type, itemDescription: String, totalAmount: Int, quantity: Int? = null)
Properties
Link copied to clipboard
The human-readable description for the line item.
Link copied to clipboard
The line item's type. One of sku
(for a product), tax
(for taxes), or shipping
(for shipping costs).
Link copied to clipboard
The total price of this line item. Note: This is the total price after multiplying by the quantity, not the price of an individual item.