Click or drag to resize
ValuesSummary Class
Class representing values summary (discounts, taxes, other payments) in Invoice, Email template and Shopping cart.
Inheritance Hierarchy
SystemObject
  CMS.EcommerceValuesSummary

Namespace: CMS.Ecommerce
Assembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 12.0.0
Syntax
C#
[SerializableAttribute]
public class ValuesSummary : IEnumerable<SummaryItem>, 
	IEnumerable

The ValuesSummary type exposes the following members.

Constructors
Properties
  NameDescription
Public propertyCount
Count of the summary list.
Top
Methods
  NameDescription
Public methodAdd
Adds the new item to the summary.
Public methodClear
Removes all items from the summary.
Public methodGetEnumerator
Returns an enumerator.
Public methodMerge
Adds the set of items to the summary.
Public methodSum
Sums the value with the item specified by name. Creates a new summary item when not found.
Top
Extension Methods
  NameDescription
Public Extension MethodBatchSummaryItem
Returns input in batches of batchSize size.
(Defined by BaseExtensions.)
Public Extension MethodToJSON
Returns JSON representation of current instance of IEnumerable.
(Defined by DataExtensions.)
Public Extension MethodToXML
Returns XML representation of current instance of IEnumerable.
(Defined by DataExtensions.)
Top
See Also