An item in a shopping cart, including details like price and quantity.
Members (14)
get · iOS 27.0+
totalPrice
TypeScript
get totalPrice(): _Foundation_Decimal
Swift declaration
var totalPrice: Decimal
A value indicating the total price of the item.
The ``ProximityReader`` framework formats the total price using the customer's locale and currency symbol.
set · iOS 27.0+
totalPrice
TypeScript
set totalPrice(value: _Foundation_Decimal)
Swift declaration
var totalPrice: Decimal
A value indicating the total price of the item.
The ``ProximityReader`` framework formats the total price using the customer's locale and currency symbol.
get · iOS 27.0+
descriptions
TypeScript
get descriptions(): Array<string>
Swift declaration
var descriptions: [String]
An array of description lines for this shopping cart item.
set · iOS 27.0+
descriptions
TypeScript
set descriptions(value: Array<string>)
Swift declaration
var descriptions: [String]
An array of description lines for this shopping cart item.
get · iOS 27.0+
totalAdjustedPrice
TypeScript
get totalAdjustedPrice(): (_Foundation_Decimal) | null
Swift declaration
var totalAdjustedPrice: Decimal?
A total adjusted price associated with the line item, typically used to indicate a price change.
When the adjusted price is not `nil`, ``totalPrice`` has an overstrike appearance.
set · iOS 27.0+
totalAdjustedPrice
TypeScript
set totalAdjustedPrice(value: (_Foundation_Decimal) | null)
Swift declaration
var totalAdjustedPrice: Decimal?
A total adjusted price associated with the line item, typically used to indicate a price change.
When the adjusted price is not `nil`, ``totalPrice`` has an overstrike appearance.