Oihana PHP System

PostalAddressTrait

Table of Contents

Properties

$addressCountry  : null|string
The country.
$addressLocality  : null|string
The locality in which the street address is, and which is in the region. For example, Mountain View.
$addressRegion  : null|string
The region in which the locality is, and which is in the country.
$postalCode  : null|string
The postal code. For example, 94043.
$postOfficeBoxNumber  : null|string
The post office box number for PO box addresses.
$streetAddress  : null|string
The street address. For example, 1600 Amphitheatre Pkwy.

Properties

$addressCountry

The country.

public null|string $addressCountry

Recommended to be in 2-letter ISO 3166-1 alpha-2 format, for example "US". For backward compatibility, a 3-letter ISO 3166-1 alpha-3 country code such as "SGP" or a full country name such as "Singapore" can also be used.

$addressLocality

The locality in which the street address is, and which is in the region. For example, Mountain View.

public null|string $addressLocality

$addressRegion

The region in which the locality is, and which is in the country.

public null|string $addressRegion

For example, California or another appropriate first-level Administrative division.

$postOfficeBoxNumber

The post office box number for PO box addresses.

public null|string $postOfficeBoxNumber

$streetAddress

The street address. For example, 1600 Amphitheatre Pkwy.

public null|string $streetAddress

        
On this page

Search results