Creates and saves new coupon for specified discount.
NOTE: The uniqueness is not checked.
Namespace: CMS.EcommerceAssembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 8.0.0.0 (8.1.5347.20411)
Parameters
- discount
- Type: CMS.Ecommerce DiscountInfo
The discount.
- code
- Type: System String
The code.
- numberOfUses
- Type: System Int32
The number of uses.
Return Value
Type: CouponCodeInfoSee Also