|
|
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# |
|
|---|---|
[] public class ShoppingCart |
|
| Visual Basic (Declaration) |
|
|---|---|
<> _ Public Class ShoppingCart |
|
The type exposes the following 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
| Name | Description | |
|---|---|---|
|
|
Finalize | (Inherited from Object.) |
|
|
MemberwiseClone | (Inherited from Object.) |
See Also
Smartsite.Runtime.Modules Namespace