LocationInformation
in package
Class LocationInformation
Table of Contents
- $additionalInformation : string
- $city : string
- $country : CustomerAddressCountry
- $houseNumber : string
- $postcode : string
- $state : CustomerAddressState
- $streetName : string
- $suburb : string
- additionalInformation() : string
- city() : string
- country() : CustomerAddressCountry
- countryIsoCode2() : string
- create() : LocationInformation
- houseNumber() : string
- postcode() : string
- state() : CustomerAddressState
- stateId() : int
- stateName() : string
- streetName() : string
- suburb() : string
- toArray() : array<string|int, mixed>
- __construct() : mixed
Properties
$additionalInformation
private
string
$additionalInformation
$city
private
string
$city
$country
private
CustomerAddressCountry
$country
$houseNumber
private
string
$houseNumber
$postcode
private
string
$postcode
$state
private
CustomerAddressState
$state
$streetName
private
string
$streetName
$suburb
private
string
$suburb
Methods
additionalInformation()
public
additionalInformation() : string
Return values
string —city()
public
city() : string
Return values
string —country()
public
country() : CustomerAddressCountry
Return values
CustomerAddressCountry —countryIsoCode2()
public
countryIsoCode2() : string
Return values
string —create()
public
static create(string $streetName, string $houseNumber, string $postcode, string $city, CustomerAddressCountry $country, CustomerAddressState $state[, string $additionalInformation = '' ][, string $suburb = '' ]) : LocationInformation
Parameters
- $streetName : string
- $houseNumber : string
- $postcode : string
- $city : string
- $country : CustomerAddressCountry
- $state : CustomerAddressState
- $additionalInformation : string = ''
- $suburb : string = ''
Return values
LocationInformation —houseNumber()
public
houseNumber() : string
Return values
string —postcode()
public
postcode() : string
Return values
string —state()
public
state() : CustomerAddressState
Return values
CustomerAddressState —stateId()
public
stateId() : int
Return values
int —stateName()
public
stateName() : string
Return values
string —streetName()
public
streetName() : string
Return values
string —suburb()
public
suburb() : string
Return values
string —toArray()
public
toArray() : array<string|int, mixed>
Return values
array<string|int, mixed> —__construct()
private
__construct(string $streetName, string $houseNumber, string $postcode, string $city, CustomerAddressCountry $country, CustomerAddressState $state[, string $additionalInformation = '' ][, string $suburb = '' ]) : mixed
Parameters
- $streetName : string
- $houseNumber : string
- $postcode : string
- $city : string
- $country : CustomerAddressCountry
- $state : CustomerAddressState
- $additionalInformation : string = ''
- $suburb : string = ''