ZenMagick 0.9.8


org.zenmagick.store.model.ZMGVRedeem
\store\model\ZMGVRedeem.php at line 34

Class ZMGVRedeem

ZMObject
└─ZMGVRedeem

public class ZMGVRedeem
extends ZMObject

Gift voucher redeem info.

Author:
DerManoMann
Version:
$Id: ZMGVRedeem.php 2694 2009-12-03 22:32:18Z dermanomann $

Fields inherited from org.zenmagick.core.ZMObject
properties_
Constructor Summary

ZMGVRedeem()

Create new instance.

Method Summary
float

getAmount()

Get the amount.

string

getCouponCode()

Get the coupon code.

boolean

isRedeemed()

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.core.ZMObject
attachMethod, get, getAttachedMethods, getPropertyNames, set, singleton

Constructor Detail

\store\model\ZMGVRedeem.php at line 43

ZMGVRedeem

public ZMGVRedeem()

Create new instance.


Method Detail

\store\model\ZMGVRedeem.php at line 70

getAmount

public float getAmount()

Get the amount.

Returns:
The amount.

\store\model\ZMGVRedeem.php at line 63

getCouponCode

public string getCouponCode()

Get the coupon code.

Returns:
The coupon code.

\store\model\ZMGVRedeem.php at line 77

isRedeemed

public boolean isRedeemed()

Check if the coupon was redeemed succsessfully.

Returns:
true if the coupon was redeemed succsessfully, false if not.

\store\model\ZMGVRedeem.php at line 91

setAmount

public void setAmount(float amount)

Set the amount.

Parameters:
amount - The amount.

\store\model\ZMGVRedeem.php at line 84

setCouponCode

public void setCouponCode(string couponCode)

Set the coupon code.

Parameters:
couponCode - The coupon code.

\store\model\ZMGVRedeem.php at line 98

setRedeemed

public void setRedeemed(boolean redeemed)

Set the redeem flag.

Parameters:
redeemed - true if the coupon was redeemed succsessfully, false if not.

ZenMagick 0.9.8