# Class: PostalAddress

## (abstract) bemap.PostalAddress(options)

Base class for postal address.

## Constructor

#### (abstract) new PostalAddress(options)

##### Parameters:

Name | Type | Description
--- | --- | ---
`options` | object | see below the available values. ###### Properties
Name | Type | Description
--- | --- | ---
`countryCode` | String |
`country` | String |
`state` | String |
`county` | String |
`city` | String |
`district` | String |
`postalCode` | String |
`roadNumber` | String |
`street` | String |
`streetNumber` | String |

Source:
  - bemap-model/bemap-postalAddress.js, line 23

### Members

#### (protected) city :String

##### Type:

- String

Source:
  - bemap-model/bemap-postalAddress.js, line 54

#### (protected) country :String

##### Type:

- String

Source:
  - bemap-model/bemap-postalAddress.js, line 36

#### (protected) countryCode :String

##### Type:

- String

Source:
  - bemap-model/bemap-postalAddress.js, line 30

#### (protected) county :String

##### Type:

- String

Source:
  - bemap-model/bemap-postalAddress.js, line 48

#### (protected) district :String

##### Type:

- String

Source:
  - bemap-model/bemap-postalAddress.js, line 60

#### (protected) postalCode :String

##### Type:

- String

Source:
  - bemap-model/bemap-postalAddress.js, line 66

#### (protected) roadNumber :String

##### Type:

- String

Source:
  - bemap-model/bemap-postalAddress.js, line 72

#### (protected) state :String

##### Type:

- String

Source:
  - bemap-model/bemap-postalAddress.js, line 42

#### (protected) street :String

##### Type:

- String

Source:
  - bemap-model/bemap-postalAddress.js, line 78

#### (protected) streetNumber :String

##### Type:

- String

Source:
  - bemap-model/bemap-postalAddress.js, line 84

### Methods

#### getCity() → {String}

Get city.

Source:
  - bemap-model/bemap-postalAddress.js, line 123

##### Returns:

city.

Type
  String

#### getCountry() → {String}

Get Country.

Source:
  - bemap-model/bemap-postalAddress.js, line 99

##### Returns:

country.

Type
  String

#### getCountryCode() → {String}

Get country code.

Source:
  - bemap-model/bemap-postalAddress.js, line 91

##### Returns:

countryCode.

Type
  String

#### getCounty() → {String}

Get county.

Source:
  - bemap-model/bemap-postalAddress.js, line 115

##### Returns:

county.

Type
  String

#### getDistrict() → {String}

Get district.

Source:
  - bemap-model/bemap-postalAddress.js, line 131

##### Returns:

district.

Type
  String

#### getPostalCode() → {String}

Get postal code.

Source:
  - bemap-model/bemap-postalAddress.js, line 139

##### Returns:

postalCode.

Type
  String

#### getRoadNumber() → {String}

Get road number

Source:
  - bemap-model/bemap-postalAddress.js, line 147

##### Returns:

roadNumber

Type
  String

#### getState() → {String}

Get State.

Source:
  - bemap-model/bemap-postalAddress.js, line 107

##### Returns:

state.

Type
  String

#### getStreet() → {String}

Get street.

Source:
  - bemap-model/bemap-postalAddress.js, line 155

##### Returns:

street.

Type
  String

#### getStreetNumber() → {String}

Get street number

Source:
  - bemap-model/bemap-postalAddress.js, line 163

##### Returns:

streetNumber

Type
  String