Click or drag to resize
CouponCodeInfoProviderGetCouponUsageInfoMessage Method
Returns formatted message about codes.

Namespace: CMS.Ecommerce
Assembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 11.0.0
Syntax
C#
public static string GetCouponUsageInfoMessage(
	DiscountInfo parent,
	bool dataOnly = false
)

Parameters

parent
Type: CMS.EcommerceDiscountInfo
Parent offer discount of coupon codes.
dataOnly (Optional)
Type: SystemBoolean
If true, only statistics (used / limit) are returned.

Return Value

Type: String
See Also