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.