CustomerCountryZone

Implements \CustomerCountryZoneInterface

Class CustomerCountryZone

This class is used for getting customer country zone data

category

System

package

Customer

subpackage

CountryZone

implements

CustomerCountryZoneInterface

Methods

Constructor of the class CustomerCountryZone

__construct(\IdType $id, \CustomerCountryZoneNameInterface $name, \CustomerCountryZoneIsoCodeInterface $isoCode) 
Throws
\InvalidArgumentException

if argument does not match the expected type

\LengthException

if trim($p_name) is longer than 32 characters VARCHAR(32)

\LengthException

if trim($p_isoCode) is longer than 2 characters VARCHAR(32)

Arguments

$id

\IdType

Getter method for the ISO code

getCode() : \CustomerCountryZoneIsoCodeInterface

Getter method for the ID

getId() : integer

Response

integer

countryId

Getter method for the name

getName() : \CustomerCountryZoneNameInterface

Response

\CustomerCountryZoneNameInterface

country name

Properties

id

id : integer
var

Type(s)

integer

name

name : \CustomerCountryZoneNameInterface

isoCode

isoCode : \CustomerCountryZoneIsoCodeInterface