Click or drag to resize
DiscountInfoProviderDeleteDiscountInfo Method (Int32)

Note: This API is now obsolete.

Deletes discount with specified ID.

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(
	int discountId
)

Parameters

discountId
Type: SystemInt32
Discount ID
See Also