Dynamicweb 8 Documentation
Discounts Class Members
Properties  Methods 


The following tables list the members exposed by Discounts.

Public Constructors
 NameDescription
Public ConstructorDiscounts ConstructorInitializes a new instance of the Discounts class.  
Top
Public Properties
 NameDescription
Public PropertyCountGets the number of elements actually contained in the Collection. (Inherited from System.Collections.ObjectModel.Collection<Discount>)
Public PropertyDifferenceGets the difference.  
Public PropertyHasDiscountsGets a value indicating whether this instance has discounts.  
Public PropertyItemGets or sets the element at the specified index.  
Public PropertyPriceReturns the NEW price for the product when discounts are subtracted.  
Public PropertyPriceWithDifferenceGets the price with difference.  
Public PropertyTotalReturns the total discount in a number of different ways.  
Public PropertyTotalDiscountGets the total discount.  
Top
Protected Properties
 NameDescription
Protected PropertyItemsGets a IList wrapper around the Collection. (Inherited from System.Collections.ObjectModel.Collection<Discount>)
Top
Public Methods
 NameDescription
Public MethodAddAdds an object to the end of the Collection. (Inherited from System.Collections.ObjectModel.Collection<Discount>)
Public MethodClearRemoves all elements from the Collection. (Inherited from System.Collections.ObjectModel.Collection<Discount>)
Public MethodContainsDetermines whether an element is in the Collection. (Inherited from System.Collections.ObjectModel.Collection<Discount>)
Public MethodCopyToCopies the entire Collection to a compatible one-dimensional System.Array, starting at the specified index of the target array. (Inherited from System.Collections.ObjectModel.Collection<Discount>)
Public MethodGetEnumeratorReturns an enumerator that iterates through the Collection. (Inherited from System.Collections.ObjectModel.Collection<Discount>)
Public MethodIndexOfSearches for the specified object and returns the zero-based index of the first occurrence within the entire Collection. (Inherited from System.Collections.ObjectModel.Collection<Discount>)
Public MethodInsertInserts an element into the Collection at the specified index. (Inherited from System.Collections.ObjectModel.Collection<Discount>)
Public MethodRemoveRemoves the first occurrence of a specific object from the Collection. (Inherited from System.Collections.ObjectModel.Collection<Discount>)
Public MethodRemoveAtRemoves the element at the specified index of the Collection. (Inherited from System.Collections.ObjectModel.Collection<Discount>)
Top
Protected Methods
 NameDescription
Protected MethodClearItemsRemoves all elements from the Collection. (Inherited from System.Collections.ObjectModel.Collection<Discount>)
Protected MethodInsertItemInserts an element into the Collection at the specified index. (Inherited from System.Collections.ObjectModel.Collection<Discount>)
Protected MethodRemoveItemRemoves the element at the specified index of the Collection. (Inherited from System.Collections.ObjectModel.Collection<Discount>)
Protected MethodSetItemReplaces the element at the specified index. (Inherited from System.Collections.ObjectModel.Collection<Discount>)
Top
See Also

Reference

Discounts Class
Dynamicweb.eCommerce.Discounts Namespace

Send Feedback