ZMObject
└─ZMCategoryCouponRestriction
public class ZMCategoryCouponRestriction
extends ZMObject
| Fields inherited from org.zenmagick.core.ZMObject | |
|---|---|
| properties_ | |
| Constructor Summary | |
|---|---|
ZMCategoryCouponRestriction(mixed allowed, mixed categoryId) Create new instance. |
|
| Method Summary | |
|---|---|
| A | Returns the category. |
| boolean | Check if allowed. |
| Methods inherited from org.zenmagick.core.ZMObject | |
|---|---|
| attachMethod, get, getAttachedMethods, getPropertyNames, set, singleton | |
public ZMCategoryCouponRestriction(mixed allowed, mixed categoryId)
Create new instance.
public A getCategory()
Returns the category.
ZMCategory instance.public boolean isAllowed()
Check if allowed.
true if allowed, false if not.
Single coupon restriction.