Namespace opensocial.Address.Field
All of the fields that an address has. These are the supported keys for the
Address.getField() method.
Defined in: opensocial.js.
| Constructor Attributes | Constructor Name and Description |
|---|---|
| Field Attributes | Field Name and Description |
|---|---|
| <static> |
opensocial.Address.Field.COUNTRY
The country.
|
| <static> |
opensocial.Address.Field.EXTENDED_ADDRESS
The extended street address.
|
| <static> |
opensocial.Address.Field.LATITUDE
The latitude.
|
| <static> |
opensocial.Address.Field.LOCALITY
The locality.
|
| <static> |
opensocial.Address.Field.LONGITUDE
The longitude.
|
| <static> |
opensocial.Address.Field.PO_BOX
The po box of the address if there is one.
|
| <static> |
opensocial.Address.Field.POSTAL_CODE
The postal code.
|
| <static> |
opensocial.Address.Field.REGION
The region.
|
| <static> |
opensocial.Address.Field.STREET_ADDRESS
The street address.
|
| <static> |
opensocial.Address.Field.TYPE
The address type or label.
|
| <static> |
opensocial.Address.Field.UNSTRUCTURED_ADDRESS
If the container does not have structured addresses in its data store,
this field will return the unstructured address that the user entered.
|
Field Detail
<static>
opensocial.Address.Field.COUNTRY
The country. Specified as a String.
<static>
opensocial.Address.Field.EXTENDED_ADDRESS
The extended street address. Specified as a String.
<static>
opensocial.Address.Field.LATITUDE
The latitude. Specified as a Number.
<static>
opensocial.Address.Field.LOCALITY
The locality. Specified as a String.
<static>
opensocial.Address.Field.LONGITUDE
The longitude. Specified as a Number.
<static>
opensocial.Address.Field.PO_BOX
The po box of the address if there is one. Specified as a String.
<static>
opensocial.Address.Field.POSTAL_CODE
The postal code. Specified as a String.
<static>
opensocial.Address.Field.REGION
The region. Specified as a String.
<static>
opensocial.Address.Field.STREET_ADDRESS
The street address. Specified as a String.
<static>
opensocial.Address.Field.TYPE
The address type or label. Examples: work, my favorite store, my house, etc
Specified as a String.
<static>
opensocial.Address.Field.UNSTRUCTURED_ADDRESS
If the container does not have structured addresses in its data store,
this field will return the unstructured address that the user entered. Use
opensocial.getEnvironment().supportsField to see which fields are
supported. Specified as a String.