# Address

# Address

*** ** * ** ***

[Kotlin](https://developer.android.com/reference/kotlin/com/google/android/engage/common/datamodel/Address "View this page in Kotlin")\|Java  

<br />

```
public final class Address
```

<br />

*** ** * ** ***

An object representing an address.

## Summary

|                                                                                                                          ### Nested types                                                                                                                          |
|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `public final class `[Address.Builder](https://developer.android.com/reference/com/google/android/engage/common/datamodel/Address.Builder) Builder class for[Address](https://developer.android.com/reference/com/google/android/engage/common/datamodel/Address). |

|                                ### Public fields                                |
|---------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------|
| `final `[String](https://developer.android.com/reference/java/lang/String.html) | [city](https://developer.android.com/reference/com/google/android/engage/common/datamodel/Address#city())                     |
| `final `[String](https://developer.android.com/reference/java/lang/String.html) | [country](https://developer.android.com/reference/com/google/android/engage/common/datamodel/Address#country())               |
| `final `[String](https://developer.android.com/reference/java/lang/String.html) | [displayAddress](https://developer.android.com/reference/com/google/android/engage/common/datamodel/Address#displayAddress()) |
| `final `[String](https://developer.android.com/reference/java/lang/String.html) | [neighborhood](https://developer.android.com/reference/com/google/android/engage/common/datamodel/Address#neighborhood())     |
| `final `[String](https://developer.android.com/reference/java/lang/String.html) | [state](https://developer.android.com/reference/com/google/android/engage/common/datamodel/Address#state())                   |
| `final `[String](https://developer.android.com/reference/java/lang/String.html) | [streetAddress](https://developer.android.com/reference/com/google/android/engage/common/datamodel/Address#streetAddress())   |
| `final `[String](https://developer.android.com/reference/java/lang/String.html) | [zipCode](https://developer.android.com/reference/com/google/android/engage/common/datamodel/Address#zipCode())               |

|                           ### Public methods                            |
|-------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [String](https://developer.android.com/reference/java/lang/String.html) | [getCity](https://developer.android.com/reference/com/google/android/engage/common/datamodel/Address#getCity())`()` Returns the city.                                |
| [String](https://developer.android.com/reference/java/lang/String.html) | [getCountry](https://developer.android.com/reference/com/google/android/engage/common/datamodel/Address#getCountry())`()` Returns the country.                       |
| [String](https://developer.android.com/reference/java/lang/String.html) | [getDisplayAddress](https://developer.android.com/reference/com/google/android/engage/common/datamodel/Address#getDisplayAddress())`()` Returns the display address. |
| [String](https://developer.android.com/reference/java/lang/String.html) | [getNeighborhood](https://developer.android.com/reference/com/google/android/engage/common/datamodel/Address#getNeighborhood())`()` Returns the neighborhood.        |
| [String](https://developer.android.com/reference/java/lang/String.html) | [getState](https://developer.android.com/reference/com/google/android/engage/common/datamodel/Address#getState())`()` Returns the state.                             |
| [String](https://developer.android.com/reference/java/lang/String.html) | [getStreetAddress](https://developer.android.com/reference/com/google/android/engage/common/datamodel/Address#getStreetAddress())`()` Returns the street address.    |
| [String](https://developer.android.com/reference/java/lang/String.html) | [getZipCode](https://developer.android.com/reference/com/google/android/engage/common/datamodel/Address#getZipCode())`()` Returns the zip code.                      |

## Public fields

### city

```
public final String city
```  

### country

```
public final String country
```  

### displayAddress

```
public final String displayAddress
```  

### neighborhood

```
public final String neighborhood
```  

### state

```
public final String state
```  

### streetAddress

```
public final String streetAddress
```  

### zipCode

```
public final String zipCode
```  

## Public methods

### getCity

```
public String getCity()
```

Returns the city.  

### getCountry

```
public String getCountry()
```

Returns the country.  

### getDisplayAddress

```
public String getDisplayAddress()
```

Returns the display address.  

### getNeighborhood

```
public String getNeighborhood()
```

Returns the neighborhood.  

### getState

```
public String getState()
```

Returns the state.  

### getStreetAddress

```
public String getStreetAddress()
```

Returns the street address.  

### getZipCode

```
public String getZipCode()
```

Returns the zip code.