Click or drag to resize
IDiscountInfoCreateCoupon Method
Creates and saves new coupon for this discount.

Namespace: CMS.Ecommerce
Assembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 12.0.0
Syntax
C#
BaseInfo CreateCoupon(
	CouponGeneratorConfig config
)

Parameters

config
Type: CMS.EcommerceCouponGeneratorConfig
Configuration for coupon code creation

Return Value

Type: BaseInfo
See Also