Address::__construct |
( |
|
$line1 = null , |
|
|
|
$line2 = null , |
|
|
|
$line3 = null , |
|
|
|
$city = null , |
|
|
|
$region = null , |
|
|
|
$postalCode = null , |
|
|
|
$country = 'USA' , |
|
|
|
$taxRegionId = 0 , |
|
|
|
$latitude = null , |
|
|
|
$longitude = null |
|
) |
| |
Construct a new Address.
Constructs a new instance of Address.
$address = new Address();
- Parameters
-
string | $line1 | |
string | $line2 | |
string | $line3 | |
string | $city | |
string | $region | |
string | $postalCode | |
string | $country | |
integer | $taxRegionId | |
String | $latitude | |
String | $longitude | |
Address::equals |
( |
& |
$other | ) |
|
Compares Addresses public
- Parameters
-
- Returns
- boolean
Address::getAddressCode |
( |
| ) |
|
Programmatically determined value used internally by the adapter.
- Returns
- string $value
City name
- Returns
- string $value
Country name
- Returns
- string $value
Latitude Value
- Returns
- string $value
Address line 1
- Returns
- string $value
Address line 2
- Returns
- string $value
Address line 3
- Returns
- string $value
Address::getLongitude |
( |
| ) |
|
Longitude Value
- Returns
- string $value
Address::getPostalCode |
( |
| ) |
|
Postal or ZIP code
- Returns
- string $value
State or province name or abbreviation
- Returns
- string $value
Address::getTaxRegionId |
( |
| ) |
|
TaxRegionId provides the ability to override the tax region assignment for an address.
- Returns
- string $value
Address::setAddressCode |
( |
|
$value | ) |
|
Programmatically determined value used internally by the adapter.
- Parameters
-
Address::setCity |
( |
|
$value | ) |
|
Address::setCountry |
( |
|
$value | ) |
|
Address::setLatitude |
( |
|
$value | ) |
|
Set Latitude Value
- Parameters
-
Address::setLine1 |
( |
|
$value | ) |
|
Address::setLine2 |
( |
|
$value | ) |
|
Address::setLine3 |
( |
|
$value | ) |
|
Address::setLongitude |
( |
|
$value | ) |
|
Set Longitude Value
- Parameters
-
Address::setPostalCode |
( |
|
$value | ) |
|
Postal or ZIP code
- Parameters
-
Address::setRegion |
( |
|
$value | ) |
|
State or province name or abbreviation
- Parameters
-
Address::setTaxRegionId |
( |
|
$value | ) |
|
TaxRegionId provides the ability to override the tax region assignment for an address.
- Parameters
-
Address::$Country = 'USA' |
|
private |
Address::$TaxRegionId = 0 |
|
private |
The documentation for this class was generated from the following file: