This document is provided on an "AS IS" basis without warranties of any kind. Smartsite iXperion class libraries may change in future releases.

Syntax

C# Copy imageCopy Code
[]
public class ShoppingCart
Visual Basic (Declaration) Copy imageCopy Code
<> _
Public Class ShoppingCart

The type exposes the following members.

Public Constructors

  Name Description
Public method ShoppingCart Overloaded.

Public Methods

  Name Description
Public method Add Overloaded.
Public method AddTaxGroup
Adds a tax group.
Public method Clear
Empties the shoppingcart.
Public method Equals (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetList
Lists the specified category.
Public method GetObjectData
Populates a SerializationInfo with the data needed to serialize the target object.
Public method GetPrice
Gets the price of a product in the cart
Public method GetProducts
Gets the products as a DataTable.
Public method GetTaxTotal
Gets the tax total per taxgroup and category.
Public method GetTotal
Gets the total price of the products with the given code in the cart.
Public method GetType (Inherited from Object.)
Public method load Overloaded.
Public method ModifyTaxGroup
Modifies the tax group.
Public method Remove
Removes one instance of the specified product from the shoppingcart.
Public method RemoveAll
Removes all instances of the specified product from the shoppingcart.
Public method RemoveTaxGroup
Removes a tax group.
Public method Save
Saves the shoppingcart.
Public method SetProductCount
Sets the number of instances of a given product.
Public method ToString (Inherited from Object.)
Public method Validate
Validates the shoppingcart.

Protected Methods

  Name Description
Protected method Finalize (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)

Public Fields

  Name Description
Public field TaxGroups
Holds the Tax Groups

Public Properties

  Name Description
Public property CartId
Gets or sets the cart id.
Public property InTax
Gets or sets a value indicating whether [in tax].
Public property StoreId
Gets or sets the store id.
Public property UserId
Gets or sets the user id.
Public property XmlSchema
Gets or sets the XML schema.

See Also

Advanced