ZMObject
|
+--ZMGVRedeem
public class ZMGVRedeem
extends ZMObject
| Fields inherited from org.zenmagick.ZMObject | |
|---|---|
| properties_ | |
| Constructor Summary | |
|---|---|
Create new instance. |
|
| Method Summary | |
|---|---|
| float | Get the amount. |
| string | Get the coupon code. |
| boolean | Check if the coupon was redeemed succsessfully. |
| void | setAmount(float amount) Set the amount. |
| void | setCouponCode(string couponCode) Set the coupon code. |
| void | setRedeemed(boolean redeemed) Set the redeem flag. |
| Methods inherited from org.zenmagick.ZMObject | |
|---|---|
| attachMethod, get, getAttachedMethods, getPropertyNames, set, singleton | |
public ZMGVRedeem()
Create new instance. /
public float getAmount()
Get the amount.
public string getCouponCode()
Get the coupon code.
public boolean isRedeemed()
Check if the coupon was redeemed succsessfully.
true if the coupon was redeemed succsessfully, false if not.public void setAmount(float amount)
Set the amount.
public void setCouponCode(string couponCode)
Set the coupon code.
public void setRedeemed(boolean redeemed)
Set the redeem flag.
true if the coupon was redeemed succsessfully, false if not.
Gift voucher redeem info.