Click or drag to resize
DiscountInfoProviderSetDiscountInfo Method

Note: This API is now obsolete.

Sets (updates or inserts) specified discount.

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

Parameters

discountObj
Type: CMS.EcommerceDiscountInfo
Discount to be set
See Also