ZMObject
└─ZMCategoryCouponRestriction
public class ZMCategoryCouponRestriction
extends ZMObject
| Fields inherited from org.zenmagick.core\ZMObject | |
|---|---|
| properties_ | |
| Method Summary | |
|---|---|
| void | __construct(mixed allowed, mixed categoryId) Create new instance. |
| A | Returns the category. |
| boolean | Check if allowed. |
| Methods inherited from org.zenmagick.core\ZMObject | |
|---|---|
| __construct, attachMethod, get, getAttachedMethods, getProperties, getPropertyNames, set, singleton | |
public void __construct(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.