One Logo Pool Ball
ProximityReader · IOS API REFERENCE

CustomerEngagement.ShoppingCart.Summary

struct · iOS 27.0+ · SDK 27.1

struct Summary

A breakdown of totals, line items, and optional footer text for a shopping cart.

Members (4)

init · iOS 27.0+

init

TypeScript
static init(summaryLines: Array<CustomerEngagement_ShoppingCart_Summary_LineItem>, footer: (string) | null, total: _Foundation_Decimal): CustomerEngagement_ShoppingCart_Summary
Swift declaration
init(summaryLines: [CustomerEngagement.ShoppingCart.Summary.LineItem], footer: String? = nil, total: Decimal)
get · iOS 27.0+

summaryLines

TypeScript
get summaryLines(): Array<CustomerEngagement_ShoppingCart_Summary_LineItem>
Swift declaration
let summaryLines: [CustomerEngagement.ShoppingCart.Summary.LineItem]

An array of label-value pairs listing taxes, discounts, or other cart-level entries in the summary. These entries apply to the entire cart rather than individual line items.

get · iOS 27.0+

total

TypeScript
get total(): _Foundation_Decimal
Swift declaration
let total: Decimal

A decimal value indicating the total amount of the shopping cart. The total always appears at the bottom as floating text, even when the shopping cart content scrolls. The framework formats this value using the region and currency defined in ``CustomerEngagementSession/Configuration``.

get · iOS 27.0+

footer

TypeScript
get footer(): (string) | null
Swift declaration
let footer: String?

A multiline text at the bottom of the summary section. Use this property for legal text or a short message to the customer.

Skipped declarations

No declarations were skipped in this snapshot.

All ProximityReader types →