Przejdź do głównej zawartości

Type Alias: CartManagerOperation

CartManagerOperation = "addItem" | "updateItem" | "removeItem" | "updateBuyerIdentity" | "setShippingAddress" | "setBillingAddress" | "updateDiscountCodes" | "updateNote" | "updateAttributes" | "selectShippingMethod" | "selectPaymentMethod" | "clearPaymentSelection" | "applyGiftCard" | "removeGiftCard" | "updateGiftCardRecipient" | "complete" | "createPayment"

Names of mutations exposed by the hook — narrows status.operation for exhaustive consumer-side switching (e.g. operation-specific spinners).