Click or drag to resize
DiscountInfoProviderGetDiscountInfo Method (Int32)

Note: This API is now obsolete.

Returns discount with specified ID.

Namespace: CMS.Ecommerce
Assembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 13.0.131
Syntax
C#
[ObsoleteAttribute("Use IDiscountInfoProvider.Get(int) instead. To get an instance of the interface's implementation, use dependency injection or access the instance directly - DiscountInfo.Provider.")]
public static DiscountInfo GetDiscountInfo(
	int discountId
)

Parameters

discountId
Type: SystemInt32
Discount ID

Return Value

Type: DiscountInfo
See Also