SDK reference · Rails
cartSummary
cartSummary in @provenanceauth/rails/checkout, Rails. The cart in one line, for an agent to show its person ("Harbor Bean Coffee: 2 items, USD 38.00").
Signature
cartSummary(binding: Pick<CheckoutOrder, "total" | "currency" | "items">, merchantName: string): stringParameters
bindingPick<CheckoutOrder, "total" | "currency" | "items">RequiredmerchantNamestringRequired
Returns
string
HTTP operation
Runs locally, with no request to the API.