Click or drag to resize

DiscountCollection Constructor (IEnumerableDiscount, SortBy, SortDirection)

Initializes a new instance of the DiscountCollection class

Namespace:  Dynamicweb.Ecommerce.Orders.Discounts
Assembly:  Dynamicweb.Ecommerce (in Dynamicweb.Ecommerce.dll) Version: 1.12.0
Syntax
public DiscountCollection(
	IEnumerable<Discount> discounts,
	SortBy currentSort,
	SortDirection currentSortDirection
)

Parameters

discounts
Type: System.Collections.GenericIEnumerableDiscount
currentSort
Type: Dynamicweb.Ecommerce.Orders.DiscountsSortBy
currentSortDirection
Type: Dynamicweb.Ecommerce.Orders.DiscountsSortDirection
See Also