ZenMagick 0.9.10


zenmagick.store.shared.model\ZMGVRedeem
model\ZMGVRedeem.php at line 33

Class ZMGVRedeem

ZMObject
└─ZMGVRedeem

public class ZMGVRedeem
extends ZMObject

Gift voucher redeem info.

Author:
DerManoMann

Fields inherited from org.zenmagick.core\ZMObject
properties_
Method Summary
void

__construct()

Create new instance.

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
__construct, attachMethod, get, getAttachedMethods, getProperties, getPropertyNames, set, singleton

Method Detail

model\ZMGVRedeem.php at line 42

__construct

public void __construct()

Create new instance.


model\ZMGVRedeem.php at line 69

getAmount

public float getAmount()

Get the amount.

Returns:
The amount.

model\ZMGVRedeem.php at line 62

getCouponCode

public string getCouponCode()

Get the coupon code.

Returns:
The coupon code.

model\ZMGVRedeem.php at line 76

isRedeemed

public boolean isRedeemed()

Check if the coupon was redeemed succsessfully.

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

model\ZMGVRedeem.php at line 90

setAmount

public void setAmount(float amount)

Set the amount.

Parameters:
amount - The amount.

model\ZMGVRedeem.php at line 83

setCouponCode

public void setCouponCode(string couponCode)

Set the coupon code.

Parameters:
couponCode - The coupon code.

model\ZMGVRedeem.php at line 97

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.10