Methods |
public
|
isInitialized($property): bool
|
#
|
public
|
getLine1(): ?string
Address line 1, no PO Box.
Address line 1, no PO Box.
|
#
|
public
|
setLine1(?string $line1): self
Address line 1, no PO Box.
Address line 1, no PO Box.
|
#
|
public
|
getLine2(): ?string
Address line 2 (e.g., apartment, suite, unit, or building).
Address line 2 (e.g., apartment, suite, unit, or building).
|
#
|
public
|
setLine2(?string $line2): self
Address line 2 (e.g., apartment, suite, unit, or building).
Address line 2 (e.g., apartment, suite, unit, or building).
|
#
|
public
|
getCity(): ?string
City, district, suburb, town, or village.
City, district, suburb, town, or village.
|
#
|
public
|
setCity(?string $city): self
City, district, suburb, town, or village.
City, district, suburb, town, or village.
|
#
|
public
|
getState(): ?string
For US-addressed the 2-letter State abbreviation. For international-addresses the county, providence, or region.
For US-addressed the 2-letter State abbreviation. For international-addresses the county, providence, or region.
|
#
|
public
|
setState(?string $state): self
For US-addressed the 2-letter State abbreviation. For international-addresses the county, providence, or region.
For US-addressed the 2-letter State abbreviation. For international-addresses the county, providence, or region.
|
#
|
public
|
getCountry(): ?string
Two-letter country code (ISO 3166-1 alpha-2).
Two-letter country code (ISO 3166-1 alpha-2).
|
#
|
public
|
setCountry(?string $country): self
Two-letter country code (ISO 3166-1 alpha-2).
Two-letter country code (ISO 3166-1 alpha-2).
|
#
|
public
|
getPostalCode(): ?string
ZIP or postal code.
|
#
|
public
|
setPostalCode(?string $postalCode): self
ZIP or postal code.
|
#
|
public
|
getPhoneNumber(): ?string
Phone number.
|
#
|
public
|
setPhoneNumber(?string $phoneNumber): self
Phone number.
|
#
|