ZenMagick 0.9.10


zenmagick.store.shared.model.order\ZMOrderTotalLine
model\order\ZMOrderTotalLine.php at line 33

Class ZMOrderTotalLine

ZMObject
└─ZMOrderTotalLine

public class ZMOrderTotalLine
extends ZMObject

A order total line.

Author:
DerManoMann

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

__construct(string name, string value, float amount, string type)

Create new total line.

float

getAmount()

Get the order total amount.

int

getId()

Get the order total id.

string

getName()

Get the order total name.

string

getType()

Get the order total type.

string

getValue()

Get the order total value.

void

setAmount(float amount)

Set the order total amount.

void

setId(int id)

Set the order total id.

void

setName(mixed name)

Set the order total name.

void

setType(string type)

Set the order total type.

void

setValue(string value)

Set the order total value.

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

Method Detail

model\order\ZMOrderTotalLine.php at line 48

__construct

public void __construct(string name, string value, float amount, string type)

Create new total line.

Parameters:
name - The total name.
value - The total value.
amount - The total amount.
type - The total type.

model\order\ZMOrderTotalLine.php at line 91

getAmount

public float getAmount()

Get the order total amount.

Returns:
The order total amount.

model\order\ZMOrderTotalLine.php at line 70

getId

public int getId()

Get the order total id.

Returns:
The order total id.

model\order\ZMOrderTotalLine.php at line 77

getName

public string getName()

Get the order total name.

Returns:
The order total name.

model\order\ZMOrderTotalLine.php at line 98

getType

public string getType()

Get the order total type.

Returns:
The order total type.

model\order\ZMOrderTotalLine.php at line 84

getValue

public string getValue()

Get the order total value.

Returns:
The formatted order total value.

model\order\ZMOrderTotalLine.php at line 126

setAmount

public void setAmount(float amount)

Set the order total amount.

Parameters:
amount - The order total amount.

model\order\ZMOrderTotalLine.php at line 105

setId

public void setId(int id)

Set the order total id.

Parameters:
id - The order total id.

model\order\ZMOrderTotalLine.php at line 112

setName

public void setName(mixed name)

Set the order total name.

Oparam:
string name The order total name.

model\order\ZMOrderTotalLine.php at line 133

setType

public void setType(string type)

Set the order total type.

Parameters:
type - The order total type.

model\order\ZMOrderTotalLine.php at line 119

setValue

public void setValue(string value)

Set the order total value.

Parameters:
value - The formatted order total value.

ZenMagick 0.9.10