# Google Shopping Merchant Accounts V1 Client - Class Address (1.4.1)

1.4.1 (latest) 1.4.0 1.3.1 1.2.2 1.1.0 1.0.0 0.10.0 0.9.1 0.8.0 0.7.0 0.6.0 0.5.0 0.4.0 0.3.3 0.2.0 0.1.0 Reference documentation and code samples for the Google Shopping Merchant Accounts V1 Client class Address.

Shipping address of the warehouse.

Generated from protobuf message `google.shopping.merchant.accounts.v1.Address`

## Namespace

Google \\ Shopping \\ Merchant \\ Accounts \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ street_address` | `string` Street-level part of the address. For example: `111w 31st Street`. |
| `↳ city` | `string` Required. City, town or commune. May also include dependent localities or sublocalities (For example neighborhoods or suburbs). |
| `↳ administrative_area` | `string` Required. Top-level administrative subdivision of the country. For example, a state like California ("CA") or a province like Quebec ("QC"). |
| `↳ postal_code` | `string` Required. Postal code or ZIP (For example "94043"). |
| `↳ region_code` | `string` Required. [CLDR country code](http://www.unicode.org/repos/cldr/tags/latest/common/main/en.xml) (For example "US"). |

### getStreetAddress

Street-level part of the address. For example: `111w 31st Street`.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### hasStreetAddress

### clearStreetAddress

### setStreetAddress

Street-level part of the address. For example: `111w 31st Street`.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getCity

Required. City, town or commune. May also include dependent localities or
sublocalities (For example neighborhoods or suburbs).

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### hasCity

### clearCity

### setCity

Required. City, town or commune. May also include dependent localities or
sublocalities (For example neighborhoods or suburbs).

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getAdministrativeArea

Required. Top-level administrative subdivision of the country. For example,
a state like California ("CA") or a province like Quebec ("QC").

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### hasAdministrativeArea

### clearAdministrativeArea

### setAdministrativeArea

Required. Top-level administrative subdivision of the country. For example,
a state like California ("CA") or a province like Quebec ("QC").

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getPostalCode

Required. Postal code or ZIP (For example "94043").

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### hasPostalCode

### clearPostalCode

### setPostalCode

Required. Postal code or ZIP (For example "94043").

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getRegionCode

Required. [CLDR country
code](http://www.unicode.org/repos/cldr/tags/latest/common/main/en.xml)
(For example "US").

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### hasRegionCode

### clearRegionCode

### setRegionCode

Required. [CLDR country
code](http://www.unicode.org/repos/cldr/tags/latest/common/main/en.xml)
(For example "US").

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |