Value Object
Class CustomerCountryIso2
Represents a customer country ISO2 code
| category |
System |
|---|---|
| package |
Customer |
| subpackage |
ValueObjects |
| implements |
CustomerCountryIso2Interface |
__construct(string $p_iso2)
Validates the length and data type of the customer country ISO-2 code.
| throws |
If $p_iso2 is not a string. If $p_iso2 contains more characters than 2. |
|---|---|
stringCustomer's ISO-2 country code.
__toString() : string
stringEquivalent string value.
iso2 : string
| var |
|---|
string