Address

March 27, 2019 ยท View on GitHub

Description

Represents a physical address.

Properties

NameGetterSetterTypeDescriptionNotes
address_line_1getAddressLine1()setAddressLine1($value)stringThe first line of the address. Fields that start with `address_line` provide the address's most specific details, like street number, street name, and building name. They do not provide less specific details like city, state/province, or country (these details are provided in other fields).[optional]
address_line_2getAddressLine2()setAddressLine2($value)stringThe second line of the address, if any.[optional]
address_line_3getAddressLine3()setAddressLine3($value)stringThe third line of the address, if any.[optional]
localitygetLocality()setLocality($value)stringThe city or town of the address.[optional]
sublocalitygetSublocality()setSublocality($value)stringA civil region within the address's `locality`, if any.[optional]
sublocality_2getSublocality2()setSublocality2($value)stringA civil region within the address's `sublocality`, if any.[optional]
sublocality_3getSublocality3()setSublocality3($value)stringA civil region within the address's `sublocality_2`, if any.[optional]
administrative_district_level_1getAdministrativeDistrictLevel1()setAdministrativeDistrictLevel1($value)stringA civil entity within the address's country. In the US, this is the state.[optional]
administrative_district_level_2getAdministrativeDistrictLevel2()setAdministrativeDistrictLevel2($value)stringA civil entity within the address's `administrative_district_level_1`. In the US, this is the county.[optional]
administrative_district_level_3getAdministrativeDistrictLevel3()setAdministrativeDistrictLevel3($value)stringA civil entity within the address's `administrative_district_level_2`, if any.[optional]
postal_codegetPostalCode()setPostalCode($value)stringThe address's postal code.[optional]
countrygetCountry()setCountry($value)stringThe address's country, in ISO 3166-1-alpha-2 format. See Country for possible values[optional]
first_namegetFirstName()setFirstName($value)stringOptional first name when it's representing recipient.[optional]
last_namegetLastName()setLastName($value)stringOptional last name when it's representing recipient.[optional]
organizationgetOrganization()setOrganization($value)stringOptional organization name when it's representing recipient.[optional]

Note: All properties are protected and only accessed via getters and setters.

[Back to Model list] [Back to API list] [Back to README]