CustomerCountryZoneName

Implements \CustomerCountryZoneNameInterface

Value Object

Class CustomerCountryZoneName

Represents a customer country zone name

category

System

package

Customer

subpackage

ValueObjects

implements

CustomerCountryZoneNameInterface

Methods

Constructor of the class CustomerCountryZoneName.

__construct(string $p_name) 

Validates the length and the data type of the customer country zone name.

Throws
\InvalidArgumentException

If $p_name is not a string.

\LengthException

If $p_name contains more characters than 32.

Arguments

$p_name

string

Customer's country zone name.

Returns the equivalent string value.

__toString() : string

Response

string

Equivalent string value.

Properties