ZenMagick 0.9.8


org.zenmagick.store.model.ZMCountry
\store\model\account\ZMCountry.php at line 34

Class ZMCountry

ZMObject
└─ZMCountry

public class ZMCountry
extends ZMObject

A single country.

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

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

ZMCountry()

Create new instance.

Method Summary
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
attachMethod, get, getAttachedMethods, getPropertyNames, set, singleton

Constructor Detail

\store\model\account\ZMCountry.php at line 44

ZMCountry

public ZMCountry()

Create new instance.


Method Detail

\store\model\account\ZMCountry.php at line 95

getAddressFormatId

public int getAddressFormatId()

Get the address format id.

Returns:
The address format id.

\store\model\account\ZMCountry.php at line 67

getId

public int getId()

Get the country id.

Returns:
The country id.

\store\model\account\ZMCountry.php at line 81

getIsoCode2

public string getIsoCode2()

Get the country ISO code 2.

Returns:
The country ISO code 2.

\store\model\account\ZMCountry.php at line 88

getIsoCode3

public string getIsoCode3()

Get the country ISO code 3.

Returns:
The country ISO code 3.

\store\model\account\ZMCountry.php at line 74

getName

public string getName()

Get the country name.

Returns:
The country name.

\store\model\account\ZMCountry.php at line 130

setAddressFormatId

public void setAddressFormatId(int addressFormatId)

Set the address format id.

Parameters:
addressFormatId - The address format id.

\store\model\account\ZMCountry.php at line 102

setId

public void setId(int id)

Set the country id.

Parameters:
id - The country id.

\store\model\account\ZMCountry.php at line 116

setIsoCode2

public void setIsoCode2(string code)

Set the country ISO code 2.

Parameters:
code - The country ISO code 2.

\store\model\account\ZMCountry.php at line 123

setIsoCode3

public void setIsoCode3(string code)

Set the country ISO code 3.

Parameters:
code - The country ISO code 3.

\store\model\account\ZMCountry.php at line 109

setName

public void setName(string name)

Set the country name.

Parameters:
name - The country name.

ZenMagick 0.9.8