Click or drag to resize
CouponCodeInfoProviderGetCouponCodeInfo Method (Int32)

Note: This API is now obsolete.

Returns CouponCodeInfo with specified ID.

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

Parameters

id
Type: SystemInt32
CouponCodeInfo ID.

Return Value

Type: CouponCodeInfo
See Also