Click or drag to resize

DiscountServiceGetDiscounts Method (Int32, Int32, SortBy, SortDirection, Boolean, IEnumerableShop, Int32)

Namespace:  Dynamicweb.Ecommerce.Orders.Discounts
Assembly:  Dynamicweb.Ecommerce (in Dynamicweb.Ecommerce.dll) Version: 1.12.0
Syntax
public IEnumerable<Discount> GetDiscounts(
	int rangeStart,
	int rangeEnd,
	SortBy sortBy,
	SortDirection sortDirection,
	bool assignableFromProducts,
	IEnumerable<Shop> shops,
	ref int totalCount
)

Parameters

rangeStart
Type: SystemInt32
rangeEnd
Type: SystemInt32
sortBy
Type: Dynamicweb.Ecommerce.Orders.DiscountsSortBy
sortDirection
Type: Dynamicweb.Ecommerce.Orders.DiscountsSortDirection
assignableFromProducts
Type: SystemBoolean
shops
Type: System.Collections.GenericIEnumerableShop
totalCount
Type: SystemInt32

Return Value

Type: IEnumerableDiscount
See Also