CustomerCountryZoneIsoCode

Implements \CustomerCountryZoneIsoCodeInterface

Value Object

Class CustomerCountryZoneIsoCode

Represents a customer country zone ISO code

category

System

package

Customer

subpackage

ValueObjects

implements

CustomerCountryZoneIsoCodeInterface

Methods

Constructor of the class CustomerCountryZoneIsoCode.

__construct(string $p_isoCode) 

Validates the length and data type of the customer country zone ISO code..

Throws
\InvalidArgumentException

If $p_isoCode is not a string.

\LengthException

If $p_isoCode contains more characters than 32.

Arguments

$p_isoCode

string

Customer's country zone ISO code.

Returns the equivalent string value.

__toString() : string

Response

string

Equivalent string value.

strlenWrapper

strlenWrapper( $string,  $encoding = 'utf-8') 
inherited

Arguments

$string

$encoding

Properties

Customer's country zone ISO code.

isoCode : string
var

Type(s)

string