Click or drag to resize
DiscountInfoProviderDeleteDiscountInfo Method (DiscountInfo)

Note: This API is now obsolete.

Deletes specified discount.

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

Parameters

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