Click or drag to resize
ShoppingCartLine Class
Represents one line of the shopping cart content.
Inheritance Hierarchy
SystemObject
  CMS.EcommerceShoppingCartLine

Namespace: CMS.Ecommerce
Assembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 13.0.131
Syntax
C#
public class ShoppingCartLine : IDataContainer, 
	ISimpleDataContainer

The ShoppingCartLine type exposes the following members.

Constructors
  NameDescription
Public methodShoppingCartLine
Creates a new instance of the ShoppingCartLine.
Top
Properties
  NameDescription
Public propertyCartItemGUID
Shopping cart item GUID.
Public propertyCartItemID
Shopping cart item ID.
Public propertyCartItemParentGUID
Shopping cart parent GUID.
Public propertyCartItemText
Text of the text product option.
Public propertyColumnNames
Item's property names.
Public propertyDiscountSummary
Summary of the discounts applied on this item.
Public propertyIsAccessoryProduct
Indicates if this item represent an accessory item.
Public propertyIsProductOption
Indicates if this item represent a product option.
Public propertyItem
Gets or sets the value of the column.
Public propertySKUID
SKU ID.
Public propertySKUImagePath
Product image path.
Public propertySKUName
Product name.
Public propertySKUNumber
Product number.
Public propertySKUParentSKUID
ID of the parent SKU.
Public propertySKUProductType
The type of the product.
Public propertySKUSiteID
SKU site ID.
Public propertyTotalDiscount
Total discount of the item.
Public propertyTotalPrice
Total price of the item.
Public propertyTotalWeight
Total weight of the item.
Public propertyUnitPrice
Unit price of the item.
Public propertyUnits
Quantity of the item.
Public propertyUnitTotalDiscount
Unit total discount of the item.
Public propertyUnitWeight
Unit weight of the item.
Top
Methods
  NameDescription
Public methodContainsColumn
Returns true if the object contains specified column.
Public methodGetValue
Gets the value of column.
Public methodSetValue
Sets value of column.
Public methodTryGetValue
Returns value of column.
Top
Extension Methods
  NameDescription
Public Extension MethodCheckRequiredColumns
Returns true if given list of columns do not have null values in the object
(Defined by DataExtensions.)
Public Extension MethodToJSON
Returns JSON representation of current instance of IDataContainer.
(Defined by DataExtensions.)
Public Extension MethodToXML(XmlWriter, Boolean)Overloaded.
Writes XML representation of current instance of IDataContainer to provided XmlWriter.
(Defined by DataExtensions.)
Public Extension MethodToXML(String, Boolean)Overloaded.
Returns XML representation of current instance of IDataContainer.
(Defined by DataExtensions.)
Public Extension MethodToXML(XmlWriter, ListString, Boolean)Overloaded.
Writes XML representation of selected columns of current instance of IDataContainer to provided XmlWriter.
(Defined by DataExtensions.)
Top
See Also