Click or drag to resize

DiscountCollection Constructor (Product, Currency, Country)

Note: This API is now obsolete.

Initializes a new instance of the DiscountCollection class

Namespace:  Dynamicweb.Ecommerce.Discounts
Assembly:  Dynamicweb.Ecommerce (in Dynamicweb.Ecommerce.dll) Version: 1.12.0
Syntax
[ObsoleteAttribute("Use constructor overload with currency, country, unit id, user id, shop id parameters.")]
public DiscountCollection(
	Product product,
	Currency currency,
	Country country
)

Parameters

product
Type: Dynamicweb.Ecommerce.ProductsProduct
currency
Type: Dynamicweb.Ecommerce.InternationalCurrency
country
Type: Dynamicweb.Ecommerce.InternationalCountry
See Also