|   | 
         This document is provided on an "AS IS" basis without warranties of any kind. Smartsite iXperion class libraries may change in future releases.
        
                    
                      
                         Syntax
Syntax
                    
                    | C# |  Copy Code | 
|---|---|
| [] public class ShoppingCart | |
| Visual Basic (Declaration) |  Copy Code | 
|---|---|
| <> _ Public Class ShoppingCart | |
The type exposes the following members.
                      
                         Public Constructors
Public Constructors
                    
                    | Name | Description | |
|---|---|---|
|   | ShoppingCart | Overloaded. | 
                      
                         Public Methods
Public Methods
                    
                    | Name | Description | |
|---|---|---|
|   | Add | Overloaded. | 
|   | AddTaxGroup | 
            Adds a tax group.
             | 
|   | Clear | 
            Empties the shoppingcart.
             | 
|   | Equals | (Inherited from Object.) | 
|   | GetHashCode | (Inherited from Object.) | 
|   | GetList | 
            Lists the specified category.
             | 
|   | GetObjectData | 
            Populates a SerializationInfo with the data needed to serialize the target object.
             | 
|   | GetPrice | 
            Gets the price of a product in the cart
             | 
|   | GetProducts | 
            Gets the products as a DataTable.
             | 
|   | GetTaxTotal | 
            Gets the tax total per taxgroup and category.
             | 
|   | GetTotal | 
            Gets the total price of the products with the given code in the cart.
             | 
|   | GetType | (Inherited from Object.) | 
|   | load | Overloaded. | 
|   | ModifyTaxGroup | 
            Modifies the tax group.
             | 
|   | Remove | 
            Removes one instance of the specified product from the shoppingcart.
             | 
|   | RemoveAll | 
            Removes all instances of the specified product from the shoppingcart.
             | 
|   | RemoveTaxGroup | 
            Removes a tax group.
             | 
|   | Save | 
            Saves the shoppingcart.
             | 
|   | SetProductCount | 
            Sets the number of instances of a given product. 
             | 
|   | ToString | (Inherited from Object.) | 
|   | Validate | 
            Validates the shoppingcart.
             | 
                      
                         Protected Methods
Protected Methods
                    
                    | Name | Description | |
|---|---|---|
|   | Finalize | (Inherited from Object.) | 
|   | MemberwiseClone | (Inherited from Object.) | 
                      
                         Public Fields
Public Fields
                    
                    | Name | Description | |
|---|---|---|
|   | TaxGroups | 
            Holds the Tax Groups
             | 
                      
                         Public Properties
Public Properties
                    
                    | Name | Description | |
|---|---|---|
|   | CartId | 
            Gets or sets the cart id.
             | 
|   | InTax | 
            Gets or sets a value indicating whether [in tax].
             | 
|   | StoreId | 
            Gets or sets the store id.
             | 
|   | UserId | 
            Gets or sets the user id.
             | 
|   | XmlSchema | 
            Gets or sets the XML schema.
             | 
                      
                         See Also
See Also
                    
                    
                        Smartsite.Runtime.Modules Namespace
                     
     
     
    