ZenMagick 0.9.10


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

Class ZMCountry

ZMObject
└─ZMCountry

public class ZMCountry
extends ZMObject

A single country.

Author:
DerManoMann

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

__construct()

Create new instance.

int

getAddressFormatId()

Get the address format id.

int

getId()

Get the country id.

string

getIsoCode2()

Get the country ISO code 2.

string

getIsoCode3()

Get the country ISO code 3.

string

getName()

Get the country name.

void

setAddressFormatId(int addressFormatId)

Set the address format id.

void

setId(int id)

Set the country id.

void

setIsoCode2(string code)

Set the country ISO code 2.

void

setIsoCode3(string code)

Set the country ISO code 3.

void

setName(string name)

Set the country name.

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

Method Detail

model\account\ZMCountry.php at line 43

__construct

public void __construct()

Create new instance.


model\account\ZMCountry.php at line 94

getAddressFormatId

public int getAddressFormatId()

Get the address format id.

Returns:
The address format id.

model\account\ZMCountry.php at line 66

getId

public int getId()

Get the country id.

Returns:
The country id.

model\account\ZMCountry.php at line 80

getIsoCode2

public string getIsoCode2()

Get the country ISO code 2.

Returns:
The country ISO code 2.

model\account\ZMCountry.php at line 87

getIsoCode3

public string getIsoCode3()

Get the country ISO code 3.

Returns:
The country ISO code 3.

model\account\ZMCountry.php at line 73

getName

public string getName()

Get the country name.

Returns:
The country name.

model\account\ZMCountry.php at line 129

setAddressFormatId

public void setAddressFormatId(int addressFormatId)

Set the address format id.

Parameters:
addressFormatId - The address format id.

model\account\ZMCountry.php at line 101

setId

public void setId(int id)

Set the country id.

Parameters:
id - The country id.

model\account\ZMCountry.php at line 115

setIsoCode2

public void setIsoCode2(string code)

Set the country ISO code 2.

Parameters:
code - The country ISO code 2.

model\account\ZMCountry.php at line 122

setIsoCode3

public void setIsoCode3(string code)

Set the country ISO code 3.

Parameters:
code - The country ISO code 3.

model\account\ZMCountry.php at line 108

setName

public void setName(string name)

Set the country name.

Parameters:
name - The country name.

ZenMagick 0.9.10