CartSnapshot
Extended by
Section titled “Extended by”Properties
Section titled “Properties”announcement
Section titled “announcement”announcement: {
n:number; } |null
Changes (n goes up) each time something was added, for a polite live region to speak once.
cart:
Cart|null
The server’s cart, as of the last answer. Never carries the cart token.
count:
number
Units in the cart. Moves optimistically with an add and is put back if the server refuses.
drawerOpen
Section titled “drawerOpen”drawerOpen:
boolean
fault:
CartFault|null
hasHeader
Section titled “hasHeader”hasHeader:
boolean
A header cart button is mounted and speaks additions itself.
paying
Section titled “paying”paying:
boolean
A checkout has started and the shopper is on their way to the payment page. Guards a second submit.
pending
Section titled “pending”pending:
boolean
A write is in flight.
status
Section titled “status”status:
CartStatus
testOrder
Section titled “testOrder”testOrder:
boolean
The checkout that started said it is a test-mode order.