ZenMagick 0.9.8


org.zenmagick.store.model.ZMGVReceiver
\store\model\ZMGVReceiver.php at line 36

Class ZMGVReceiver

ZMObject
└─ZMGVReceiver

public class ZMGVReceiver
extends ZMObject

A gift voucher receiver.

NOTE: The amount is always in the sessions current currency.

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

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

ZMGVReceiver()

Create new instance.

Method Summary
string

getAmount()

Get the amount.

string

getEmail()

Get the receiver email.

string

getMessage()

Get the message.

string

getName()

Get the receiver name.

boolean

hasMessage()

Check if there is a message.

void

setAmount(string amount)

Set the amount.

void

setEmail(string email)

Set the receiver email.

void

setMessage(string message)

Set the message.

void

setName(string name)

Set the receiver name.

Methods inherited from org.zenmagick.core.ZMObject
attachMethod, get, getAttachedMethods, getPropertyNames, set, singleton

Constructor Detail

\store\model\ZMGVReceiver.php at line 46

ZMGVReceiver

public ZMGVReceiver()

Create new instance.


Method Detail

\store\model\ZMGVReceiver.php at line 81

getAmount

public string getAmount()

Get the amount.

Returns:
The (formatted) amount.

\store\model\ZMGVReceiver.php at line 74

getEmail

public string getEmail()

Get the receiver email.

Returns:
The receiver email.

\store\model\ZMGVReceiver.php at line 95

getMessage

public string getMessage()

Get the message.

Returns:
The message.

\store\model\ZMGVReceiver.php at line 67

getName

public string getName()

Get the receiver name.

Returns:
The receiver name.

\store\model\ZMGVReceiver.php at line 88

hasMessage

public boolean hasMessage()

Check if there is a message.

Returns:
true if there is a message, false if not.

\store\model\ZMGVReceiver.php at line 116

setAmount

public void setAmount(string amount)

Set the amount.

Parameters:
amount - The (formatted) amount.

\store\model\ZMGVReceiver.php at line 109

setEmail

public void setEmail(string email)

Set the receiver email.

Parameters:
email - The receiver email.

\store\model\ZMGVReceiver.php at line 123

setMessage

public void setMessage(string message)

Set the message.

Parameters:
message - The message.

\store\model\ZMGVReceiver.php at line 102

setName

public void setName(string name)

Set the receiver name.

Parameters:
name - The receiver name.

ZenMagick 0.9.8