Click or drag to resize

DiscountInfoCollection Constructor (Product, Currency, String, 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,
	string unitId,
	int userId
)

Parameters

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