Skip to main content

ICart

Base interface for shopping cart implementations.

Defines common properties and behaviors shared across different cart types. Provides a unified structure for cart-related operations while allowing for type-specific implementations.

interface ICart {
user: IBaseUser @deprecated
}

Fields

ICart.user ● IBaseUser deprecated interface

DEPRECATED

Deprecated in favor of specific contact or customer fields for better type safety

User associated with this cart.

Returns the user, contact, or customer who owns this cart. Provides unified access to user information regardless of user type.

Implemented By

Cart object