Address

March 27, 2019 ยท View on GitHub

squareconnect.models.address

Description

Represents a physical address.

Properties

NameTypeDescriptionNotes
address_line_1strThe 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_2strThe second line of the address, if any.[optional]
address_line_3strThe third line of the address, if any.[optional]
localitystrThe city or town of the address.[optional]
sublocalitystrA civil region within the address's `locality`, if any.[optional]
sublocality_2strA civil region within the address's `sublocality`, if any.[optional]
sublocality_3strA civil region within the address's `sublocality_2`, if any.[optional]
administrative_district_level_1strA civil entity within the address's country. In the US, this is the state.[optional]
administrative_district_level_2strA civil entity within the address's `administrative_district_level_1`. In the US, this is the county.[optional]
administrative_district_level_3strA civil entity within the address's `administrative_district_level_2`, if any.[optional]
postal_codestrThe address's postal code.[optional]
countrystrThe address's country, in ISO 3166-1-alpha-2 format. See Country for possible values[optional]
first_namestrOptional first name when it's representing recipient.[optional]
last_namestrOptional last name when it's representing recipient.[optional]
organizationstrOptional organization name when it's representing recipient.[optional]

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