Table of Contents

Class ShoppingCartInfo

Namespace
CMS.Commerce
Assembly
CMS.Commerce.dll

Data container class for ShoppingCartInfo.

[InfoCache(InfoCacheBy.ID)]
public class ShoppingCartInfo : AbstractInfo<ShoppingCartInfo, IInfoProvider<ShoppingCartInfo>>, IExtensible, IInfo, IAdvancedDataContainer, ICMSObject, IHierarchicalDataContainer, IDataContainer, ISimpleDataContainer, IVirtualHierarchicalObject, IHierarchicalObject, INameIndexable, IMacroObject, IInfoWithId, IInfoWithGuid
Inheritance
object
ShoppingCartInfo
Implements
Inherited Members
Extension Methods

Constructors

ShoppingCartInfo()

Creates and empty instance of the ShoppingCartInfo class.

public ShoppingCartInfo()

ShoppingCartInfo(DataRow)

Creates a new instance of the ShoppingCartInfo class from the given System.Data.DataRow.

public ShoppingCartInfo(DataRow dr)

Parameters

dr DataRow

Data row with the object data

Fields

OBJECT_TYPE

Object type.

public const string OBJECT_TYPE = "commerce.shoppingcart"

Field Value

string

TYPEINFO

Type information.

public static readonly ObjectTypeInfo TYPEINFO

Field Value

ObjectTypeInfo

Properties

ShoppingCartData

Shopping cart data.

[DatabaseField]
public virtual string ShoppingCartData { get; set; }

Property Value

string

ShoppingCartGUID

Shopping cart GUID.

[DatabaseField]
public virtual Guid ShoppingCartGUID { get; set; }

Property Value

Guid

ShoppingCartID

Shopping cart ID.

[DatabaseField]
public virtual int ShoppingCartID { get; set; }

Property Value

int

ShoppingCartMemberID

Member ID.

[DatabaseField]
public virtual int ShoppingCartMemberID { get; set; }

Property Value

int

ShoppingCartModifiedWhen

Shopping cart last modified date.

[DatabaseField]
public virtual DateTime ShoppingCartModifiedWhen { get; set; }

Property Value

DateTime

ShoppingCartUniqueIdentifier

Shopping cart unique identifier.

[DatabaseField]
public virtual string ShoppingCartUniqueIdentifier { get; set; }

Property Value

string

Methods

DeleteObject()

Deletes the object using appropriate provider.

protected override void DeleteObject()

LoadDefaultData()

Sets the object default values

protected override void LoadDefaultData()

SetObject()

Updates the object using appropriate provider.

protected override void SetObject()