CustomerAdditionalAddressInfo

Implements \CustomerAdditionalAddressInfoInterface

Value Object

Class CustomerAdditionalAddressInfo

Represents additional address information

category

System

package

Customer

subpackage

ValueObjects

implements

CustomerAdditionalAddressInfoInterface

Methods

Constructor of the class CustomerAdditionalAddressInfo.

__construct(string $additionalInfo) 

Validates the length and the data type of additional address info.

Throws
\InvalidArgumentException

If $additionalInfo is not a string.

\LengthException

If $additionalInfo contains more than 255 characters.

Arguments

$additionalInfo

string

Customer's additional address info.

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 additional address information.

additionalInfo : string
var

Type(s)

string