Click or drag to resize

DiscountInfoCollection Constructor (Product, Currency, String, Int32)

Note: This API is now obsolete.

Initializes a new instance of the DiscountInfoCollection class

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

Parameters

product
Type: Dynamicweb.Ecommerce.ProductsProduct
currency
Type: Dynamicweb.Ecommerce.InternationalCurrency
countryCode
Type: SystemString
userId
Type: SystemInt32
See Also