ZMObject
|
+--ZMProductCouponRestriction
public class ZMProductCouponRestriction
extends ZMObject
| Fields inherited from org.zenmagick.ZMObject | |
|---|---|
| properties_ | |
| Constructor Summary | |
|---|---|
ZMProductCouponRestriction(boolean allowed, int productId) Create new coupon restriction. |
|
| Method Summary | |
|---|---|
| A | Returns the product. |
| boolean | Checks if this coupon restriction is allowed. |
| Methods inherited from org.zenmagick.ZMObject | |
|---|---|
| attachMethod, get, getAttachedMethods, getPropertyNames, set, singleton | |
public ZMProductCouponRestriction(boolean allowed, int productId)
Create new coupon restriction.
public A getProduct()
Returns the product.
ZMProduct instance.public boolean isAllowed()
Checks if this coupon restriction is allowed.
true if this coupon restriction is allowed, false if not.
Single coupon restriction.