AddressClass
in package
implements
AddressClassInterface
Value Object
Class AddressClass
Represents a customer address
Tags
Interfaces, Classes and Traits
- AddressClassInterface
- Value Object
Table of Contents
- $addressClass : string
- Address class.
- __construct() : mixed
- Constructor of the class AddressClass.
- __toString() : string
- Returns the equivalent string value.
Properties
$addressClass
Address class.
protected
string
$addressClass
Methods
__construct()
Constructor of the class AddressClass.
public
__construct(string $addressClass) : mixed
Validates the data type of the address class.
Parameters
- $addressClass : string
-
Address class.
Tags
Return values
mixed —__toString()
Returns the equivalent string value.
public
__toString() : string
Return values
string —Equivalent string value.