AddressClass

Implements \AddressClassInterface

Value Object

Class AddressClass

Represents a customer address

category

System

package

Customer

subpackage

ValueObjects

implements

AddressClassInterface

Methods

Constructor of the class AddressClass.

__construct(string $addressClass) 

Validates the data type of the address class.

Throws
\InvalidArgumentException

If $p_city is not a string.

Arguments

$addressClass

string

Address class.

Returns the equivalent string value.

__toString() : string

Response

string

Equivalent string value.

Properties

Address class.

addressClass : string
var

Type(s)

string