addItem
addItem: (input: AddLineItemInput) => Promise<void>
applyDiscount
applyDiscount: (code: string) => Promise<void>
cartSessionId
cartSessionId: string | null
checkout
checkout: (input: CheckoutHandoffInput) => Promise<CheckoutHandoff>
clearShipping
clearShipping: () => Promise<void>
error
error: Error | null
refresh
refresh: () => Promise<void>
removeDiscount
removeDiscount: () => Promise<void>
removeItem
removeItem: (itemId: string) => Promise<void>
selectShipping
selectShipping: (input: SelectShippingInput) => Promise<void>
updateItem
updateItem: (itemId: string, input: UpdateLineItemInput) => Promise<void>
Current cart snapshot, or null before the first item / resume.