ZenMagick 0.9.6


org.zenmagick.model.ZMGVRedeem

Class ZMGVRedeem

ZMObject
|
+--ZMGVRedeem

public class ZMGVRedeem
extends ZMObject

Gift voucher redeem info.

Author:
DerManoMann
Version:
$Id: ZMGVRedeem.php 2074 2009-03-17 04:05:29Z dermanomann $

Fields inherited from org.zenmagick.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.ZMObject
attachMethod, get, getAttachedMethods, getPropertyNames, set, singleton

Constructor Detail

ZMGVRedeem

public ZMGVRedeem()

Create new instance. /


Method Detail

getAmount

public float getAmount()

Get the amount.

Returns:
The amount.

getCouponCode

public string getCouponCode()

Get the coupon code.

Returns:
The coupon code.

isRedeemed

public boolean isRedeemed()

Check if the coupon was redeemed succsessfully.

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

setAmount

public void setAmount(float amount)

Set the amount.

Parameters:
amount - The amount.

setCouponCode

public void setCouponCode(string couponCode)

Set the coupon code.

Parameters:
couponCode - The coupon code.

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