# 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

```ts
cartSummary(binding: Pick<CheckoutOrder, "total" | "currency" | "items">, merchantName: string): string
```

## Parameters

- `binding` (Pick<CheckoutOrder, "total" | "currency" | "items">)
- `merchantName` (string)

## Returns

`string`

Runs locally, with no request to the API.
