CustomerCountry

Implements \CustomerCountryInterface

Class CustomerCountry

This class is used for getting customer country data

category

System

package

Customer

subpackage

Country

implements

CustomerCountryInterface

Methods

Constructor of the class CustomerCountry

__construct(\IdType $id, \CustomerCountryNameInterface $name, \CustomerCountryIso2Interface $iso2, \CustomerCountryIso3Interface $iso3, \IdType $addressFormatId, boolean $p_status) 
Throws
\InvalidArgumentException

if argument does not match the expected type

Arguments

$id

\IdType

$addressFormatId

\IdType

$p_status

boolean

Getter method for the address format of the country

getAddressFormatId() : \IdType

Response

\IdType

address format id

Getter method for the country ID

getId() : integer

Response

integer

countryId

Getter Method for the ISO2 code of the country

getIso2() : \CustomerCountryIso2Interface

Response

\CustomerCountryIso2Interface

ISO2 code

Getter Method for the ISO3 code of the country

getIso3() : \CustomerCountryIso3Interface

Response

\CustomerCountryIso3Interface

ISO3 code

Getter method for the country name

getName() : \CustomerCountryNameInterface

Response

\CustomerCountryNameInterface

country name

Getter method for the Status of the country

getStatus() : boolean

Response

boolean

country active status

Properties

id

id : integer
var

Type(s)

integer

name

name : \CustomerCountryNameInterface

iso2

iso2 : \CustomerCountryIso2Interface

iso3

iso3 : \CustomerCountryIso3Interface

addressFormatId

addressFormatId : \IdType
var

Type(s)

\IdType

status

status : boolean
var

Type(s)

boolean