Items

An item in a Basket

interface Items : Serializable

Functions

equals
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
open override fun hashCode(): Int
toString
Link copied to clipboard
open override fun toString(): String

Properties

description
Link copied to clipboard

Longer description of the basket item.

abstract val description: String?
label
Link copied to clipboard

Short label for the basket item.

abstract val label: String
quantity
Link copied to clipboard

The number of units of the item in the basket if multiple is possible.

abstract val quantity: BigDecimal?
tags
Link copied to clipboard

Additional key/value pairs for the item defined by the merchant.

abstract val tags: Map<String, String>
totalPrice
Link copied to clipboard

The total price of the item. May be positive or negative.

abstract val totalPrice: BigDecimal?
unitMeasure
Link copied to clipboard

Optional display string for the measure of the unit.

abstract val unitMeasure: String?
unitPrice
Link copied to clipboard

The unit price of the item. May be positive or negative.

abstract val unitPrice: BigDecimal?