Current cart session id, or null before the first item.
Hand off to checkout. Returns the hand-off — use checkoutSessionId with
<PaymentEmbed sessionId={…}> (or redirect the buyer to checkoutUrl).
Last error, or null.
Re-fetch the current cart.
Forget the current session (a new cart is created on the next item).
The selected shipping method, bound to the cart (never a shadow copy).
Lock a shipping method. One call — the returned cart carries recomputed totals.
Coarse lifecycle status — drive your UI off this rather than cart === null.
Live totals, bound to the cart. Null before a cart exists.
Current cart snapshot, or null before the first item / resume.