phpDocumentor

CustomerAddress

Class CustomerAddress

Table of Contents

$city  : string
$country  : string
$postcode  : string
$street  : string
city()  : string
country()  : string
create()  : CustomerAddress
postcode()  : string
street()  : string
toArray()  : array<string|int, mixed>
Array serialization.
__construct()  : mixed
CustomerAddress constructor.

Properties

Methods

create()

public static create(string $street, string $postcode, string $city, string $country) : CustomerAddress
Parameters
$street : string
$postcode : string
$city : string
$country : string
Return values
CustomerAddress

toArray()

Array serialization.

public toArray() : array<string|int, mixed>
Return values
array<string|int, mixed>

__construct()

CustomerAddress constructor.

private __construct(string $street, string $postcode, string $city, string $country) : mixed
Parameters
$street : string
$postcode : string
$city : string
$country : string
Return values
mixed

Search results