One Logo Pool Ball
ProximityReader · IOS API REFERENCE

CustomerEngagement.ShoppingCart.Summary.LineItem

struct · iOS 27.0+ · SDK 27.1

struct LineItem

A label and value pair of text in the summary section.

Members (4)

init · iOS 27.0+

init

TypeScript
static initLabelValue(label: string, value: string): CustomerEngagement_ShoppingCart_Summary_LineItem
Swift declaration
init(label: String, value: String)

Creates a line item with the given label and string value. Localize the label and value to the customer's locale.

init · iOS 27.0+

init

TypeScript
static initLabelValue76028(label: string, value: _Foundation_Decimal): CustomerEngagement_ShoppingCart_Summary_LineItem
Swift declaration
init(label: String, value: Decimal)

Creates a line item with a label and decimal value, formatted using the session currency and customer's locale. Localize the label to the customer's locale. Format the decimal amount using the session currency and customer's locale.

get · iOS 27.0+

label

TypeScript
get label(): string
Swift declaration
let label: String

The summary line label.

get · iOS 27.0+

value

TypeScript
get value(): CustomerEngagement_ShoppingCart_Summary_LineItem_Value
Swift declaration
let value: CustomerEngagement.ShoppingCart.Summary.LineItem.Value

The stored string or decimal representation of the line item.

Skipped declarations

No declarations were skipped in this snapshot.

All ProximityReader types →