Click or drag to resize
IShoppingCartRepository Interface
Interface for basic (CRUD) operations with shopping cart info.

Namespace: CMS.Ecommerce
Assembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 11.0.0
Syntax
C#
public interface IShoppingCartRepository

The IShoppingCartRepository type exposes the following members.

Methods
  NameDescription
Public methodDeleteCart
Removes given ShoppingCartInfo from the system.
Public methodDeleteUsersCart
Deletes user's shopping cart stored in the system for given site.
Public methodGetCart(Guid)
Gets ShoppingCartInfo by its GUID.
Public methodGetCart(Int32)
Gets the ShoppingCartInfo by its ID.
Public methodGetUsersCart
Finds the most recent shopping cart stored for the user on the specified site.
Public methodSetCart
Sets (inserts or updates) the ShoppingCartInfo.
Top
See Also