Returns the next unissued code of this coupon.
For single-code coupons, the single fixed coupon code is returned.
For all multi-code coupons, the next available, unissued coupon code is returned.
If all codes of the coupon have been issued, then there is no next code, and null is returned.
A transaction is required when calling this method. This needs to be ensured by the calling script.
Returns the defined limit on redemption per coupon code. Null is
returned if no limit is defined, which means that each code can be
redeemed an unlimited number of times.
Returns the defined limit on redemption of this coupon per customer.
Null is returned if no limit is defined, which means that customers can
redeem this coupon an unlimited number of times.
Returns the defined limit on redemption per customer per time-frame (see
getRedemptionLimitTimeFrame(). Null is returned if no limit is
defined, which means that there is no time-specific redemption limit for
customers.
Returns the time-frame (in days) of the defined limit on redemption per
customer per time-frame. Null is returned if no limit is defined, which
means that there is no time-specific redemption limit for customers.
Returns the next unissued code of this coupon.
For single-code coupons, the single fixed coupon code is returned.
For all multi-code coupons, the next available, unissued coupon code is returned.
If all codes of the coupon have been issued, then there is no next code, and null is returned.
A transaction is required when calling this method. This needs to be ensured by the calling script.
Returns:
Next available code of this coupon, or null if there are no available codes.
Returns the defined limit on redemption per coupon code. Null is
returned if no limit is defined, which means that each code can be
redeemed an unlimited number of times.
Returns the defined limit on redemption of this coupon per customer.
Null is returned if no limit is defined, which means that customers can
redeem this coupon an unlimited number of times.
Returns the defined limit on redemption per customer per time-frame (see
getRedemptionLimitTimeFrame(). Null is returned if no limit is
defined, which means that there is no time-specific redemption limit for
customers.
Returns:
The maximum number of redemption per customer within time-frame
Returns the time-frame (in days) of the defined limit on redemption per
customer per time-frame. Null is returned if no limit is defined, which
means that there is no time-specific redemption limit for customers.