Item

data class Item : StripeModel

List of items constituting the order.

API reference

Types

Link copied to clipboard

Properties

Link copied to clipboard
val amount: Int? = null

The amount (price) for this order item.

Link copied to clipboard
val currency: String? = null

This currency of this order item. Required when amount is present.

Link copied to clipboard
val description: String? = null

Human-readable description for this order item.

Link copied to clipboard
val quantity: Int? = null

The quantity of this order item. When type is Type.Sku, this is the number of instances of the SKU to be ordered.

Link copied to clipboard

The type of this order item. Must be Type.Sku, Type.Tax, or Type.Shipping.

Functions

Link copied to clipboard
abstract fun describeContents(): Int
Link copied to clipboard
abstract fun writeToParcel(p0: Parcel, p1: Int)