Click or drag to resize

SalesDiscountGetSalesDiscounts Method (ProductCollection, Language)

Note: This API is now obsolete.

Namespace:  Dynamicweb.Ecommerce.Orders.SalesDiscounts
Assembly:  Dynamicweb.Ecommerce (in Dynamicweb.Ecommerce.dll) Version: 1.12.0
Syntax
[ObsoleteAttribute("Use Ecommerce.Services.SalesDiscounts.GetDiscounts instead.")]
public static SalesDiscountCollection GetSalesDiscounts(
	ProductCollection products,
	Language language
)

Parameters

products
Type: Dynamicweb.Ecommerce.ProductsProductCollection
language
Type: Dynamicweb.Ecommerce.InternationalLanguage

Return Value

Type: SalesDiscountCollection
See Also