phpDocumentor

CustomerAdditionalAddressInfo
in package
implements CustomerAdditionalAddressInfoInterface Uses StringUtilityTrait

Value Object

Class CustomerAdditionalAddressInfo

Represents additional address information

Tags
category

System

subpackage

ValueObjects

implements

CustomerAdditionalAddressInfoInterface

Interfaces, Classes and Traits

CustomerAdditionalAddressInfoInterface
Value Object

Table of Contents

$additionalInfo  : string
Customer's additional address information.
__construct()  : mixed
Constructor of the class CustomerAdditionalAddressInfo.
__toString()  : string
Returns the equivalent string value.
strlenWrapper()  : mixed

Properties

Methods

__construct()

Constructor of the class CustomerAdditionalAddressInfo.

public __construct(string $additionalInfo) : mixed

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

Parameters
$additionalInfo : string

Customer's additional address info.

Tags
throws
InvalidArgumentException

If $additionalInfo is not a string.

throws
LengthException

If $additionalInfo contains more than 255 characters.

Return values
mixed

strlenWrapper()

protected strlenWrapper(mixed $string[, mixed $encoding = 'utf-8' ]) : mixed
Parameters
$string : mixed
$encoding : mixed = 'utf-8'
Return values
mixed

Search results