Click or drag to resize

DiscountGetDiscounts Method (Int32, Int32, SortBy, SortDirection)

Note: This API is now obsolete.

Namespace:  Dynamicweb.Ecommerce.Orders.Discounts
Assembly:  Dynamicweb.Ecommerce (in Dynamicweb.Ecommerce.dll) Version: 1.12.0
Syntax
[ObsoleteAttribute("Use Ecommerce.Services.Discounts.GetDiscounts instead.")]
public static Tuple<int, DiscountCollection> GetDiscounts(
	int rangeStart,
	int rangeEnd,
	SortBy sortBy,
	SortDirection sortDirection
)

Parameters

rangeStart
Type: SystemInt32
rangeEnd
Type: SystemInt32
sortBy
Type: Dynamicweb.Ecommerce.Orders.DiscountsSortBy
sortDirection
Type: Dynamicweb.Ecommerce.Orders.DiscountsSortDirection

Return Value

Type: TupleInt32, DiscountCollection
See Also