Click or drag to resize

DiscountServiceGetApplicableDiscountsForProduct Method

Namespace:  Dynamicweb.Ecommerce.Orders.Discounts
Assembly:  Dynamicweb.Ecommerce (in Dynamicweb.Ecommerce.dll) Version: 1.12.0
Syntax
public IEnumerable<Discount> GetApplicableDiscountsForProduct(
	string productId,
	string variantId,
	string languageId,
	Currency currency,
	User user
)

Parameters

productId
Type: SystemString
variantId
Type: SystemString
languageId
Type: SystemString
currency
Type: Dynamicweb.Ecommerce.InternationalCurrency
user
Type: Dynamicweb.Security.UserManagementUser

Return Value

Type: IEnumerableDiscount
See Also