Click or drag to resize
Discount Methods

The Discount type exposes the following members.

Methods
  NameDescription
Public methodAcceptsCoupon
Indicates if given coupon code is suitable for this discount. Returns false if this discount has no codes assigned.
Public methodCreateCoupon
Creates and saves new coupon for this discount. NOTE: The uniqueness is not checked.
Top
See Also