Discount Methods |
The Discount type exposes the following members.
Name | Description | |
---|---|---|
![]() | AcceptsCoupon |
Indicates if given coupon code is suitable for this discount. Returns false if this discount has no codes assigned.
|
![]() | CreateCoupon |
Creates and saves new coupon for this discount.
NOTE: The uniqueness is not checked.
|