CustomerCountryIso3
in package
implements
CustomerCountryIso3Interface
Uses
StringUtilityTrait
Value Object
Class CustomerCountryIso3
Represents a customer country ISO3 code
Tags
Interfaces, Classes and Traits
- CustomerCountryIso3Interface
- Value Object.
Table of Contents
- $iso3 : string
- Customer's ISO-3 country code.
- __construct() : mixed
- Constructor of the class CustomerCountryIso3.
- __toString() : string
- Returns the equivalent string value.
- strlenWrapper() : mixed
Properties
$iso3
Customer's ISO-3 country code.
protected
string
$iso3
Methods
__construct()
Constructor of the class CustomerCountryIso3.
public
__construct(string $p_iso3) : mixed
Validates the length and data type of the customer country ISO-3 code.
Parameters
- $p_iso3 : string
-
Customer's ISO-3 country code.
Tags
Return values
mixed —__toString()
Returns the equivalent string value.
public
__toString() : string
Return values
string —Equivalent string value.
strlenWrapper()
protected
strlenWrapper(mixed $string[, mixed $encoding = 'utf-8' ]) : mixed
Parameters
- $string : mixed
- $encoding : mixed = 'utf-8'