| DiscountCollection Constructor (Product, Currency, Country, String) |
Note: This API is now obsolete.
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,
string unitId
)
<ObsoleteAttribute("Use constructor overload with currency, country, unit id, user id, shop id parameters.")>
Public Sub New (
product As Product,
currency As Currency,
country As Country,
unitId As String
)
Parameters
- product
- Type: Dynamicweb.Ecommerce.ProductsProduct
- currency
- Type: Dynamicweb.Ecommerce.InternationalCurrency
- country
- Type: Dynamicweb.Ecommerce.InternationalCountry
- unitId
- Type: SystemString
See Also