ZenMagick 0.9.10


zenmagick.store.shared.model.account\ZMPriceGroup
model\account\ZMPriceGroup.php at line 33

Class ZMPriceGroup

ZMObject
└─ZMPriceGroup

public class ZMPriceGroup
extends ZMObject

A price group.

Author:
DerManoMann

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

__construct()

Create new instance.

string

getDateAdded()

Get the date the group was added.

float

getDiscount()

Get the discount.

int

getId()

Get the group id.

string

getLastModified()

Get the last modified date.

string

getName()

Get the name.

void

setDateAdded(string dateAdded)

Set the date the group was added.

void

setDiscount(float discount)

Set the discount.

void

setId(int id)

Set the group id.

void

setLastModified(string lastModified)

Set the last modified date.

void

setName(string name)

Set the name.

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

Method Detail

model\account\ZMPriceGroup.php at line 44

__construct

public void __construct()

Create new instance.


model\account\ZMPriceGroup.php at line 88

getDateAdded

public string getDateAdded()

Get the date the group was added.

Returns:
The added date.

model\account\ZMPriceGroup.php at line 81

getDiscount

public float getDiscount()

Get the discount.

Returns:
The discount.

model\account\ZMPriceGroup.php at line 67

getId

public int getId()

Get the group id.

Returns:
The group id.

model\account\ZMPriceGroup.php at line 95

getLastModified

public string getLastModified()

Get the last modified date.

Returns:
The last modified date.

model\account\ZMPriceGroup.php at line 74

getName

public string getName()

Get the name.

Returns:
The group name.

model\account\ZMPriceGroup.php at line 123

setDateAdded

public void setDateAdded(string dateAdded)

Set the date the group was added.

Parameters:
dateAdded - The added date.

model\account\ZMPriceGroup.php at line 116

setDiscount

public void setDiscount(float discount)

Set the discount.

Parameters:
discount - The discount.

model\account\ZMPriceGroup.php at line 102

setId

public void setId(int id)

Set the group id.

Parameters:
id - The group id.

model\account\ZMPriceGroup.php at line 130

setLastModified

public void setLastModified(string lastModified)

Set the last modified date.

Parameters:
lastModified - The last modified date.

model\account\ZMPriceGroup.php at line 109

setName

public void setName(string name)

Set the name.

Parameters:
name - The group name.

ZenMagick 0.9.10