Class BusinessObjectMetadata

com.yandex.mapkit.search

java.lang.Object ⇽ BusinessObjectMetadata

public class BusinessObjectMetadata

Extended information about company.

Constructors

BusinessObjectMetadata()

Use constructor with parameters in your code.

BusinessObjectMetadata(_NonNull String oid, _NonNull String name, _NonNull Address address, _NonNull List< Category > categories, _Nullable ObsoleteAdvert obsoleteAdvert, _Nullable Advertisement advertisement, _NonNull List< Phone > phones, _Nullable WorkingHours workingHours, _Nullable Precision precision, _NonNull List< Feature > features, _NonNull List< Integer > snippet, _NonNull List< SearchLink > links, _Nullable LocalizedValue distance, _NonNull List< Chain > chains, _Nullable Closed closed, _Nullable Boolean unreliable, _Nullable String seoname, _Nullable String shortName, _Nullable Properties properties, _Nullable String indoorLevel)

Methods

synchronized Address getAddress()

Company address.

synchronized Advertisement getAdvertisement()

Optional field, can be null.

synchronized List< Category > getCategories()

List of categories associated with the company.

synchronized List< Chain > getChains()

List of chains associated with the company.

synchronized Closed getClosed()

Company status, present if it is closed.

synchronized LocalizedValue getDistance()

Optional distance to the company from geometry provided in request.

synchronized List< Feature > getFeatures()

List of features for the company.

synchronized String getIndoorLevel()

Indoor level id.

synchronized List< SearchLink > getLinks()

List of links for the company.

synchronized String getName()

Company name.

String getNativeName()
synchronized ObsoleteAdvert getObsoleteAdvert()

Optional advertisement info for the company.

synchronized String getOid()

Permanent company id.

synchronized List< Phone > getPhones()

List of phone numbers for the company.

synchronized Precision getPrecision()

Address precision for the company.

synchronized Properties getProperties()

Additional company properties.

synchronized String getSeoname()

Technical field for SEO (transliterated and simplified company name).

synchronized String getShortName()

Short company name.

synchronized List< Integer > getSnippet()

Main features of company.

synchronized Boolean getUnreliable()

If true, company information is not reliable.

synchronized WorkingHours getWorkingHours()

Open hours for the company.

void serialize(Archive archive)

Constructor Detail

BusinessObjectMetadata

public BusinessObjectMetadata ()

Use constructor with parameters in your code.

This one is for serialization only!

Method Detail

getAddress

public synchronized Address getAddress ()

Company address.

getAdvertisement

public synchronized Advertisement getAdvertisement ()

Optional field, can be null.

getCategories

public synchronized List< Category > getCategories ()

List of categories associated with the company.

getChains

public synchronized List< Chain > getChains ()

List of chains associated with the company.

getClosed

public synchronized Closed getClosed ()

Company status, present if it is closed.

Optional field, can be null.

getDistance

public synchronized LocalizedValue getDistance ()

Optional distance to the company from geometry provided in request.

Optional field, can be null.

getFeatures

public synchronized List< Feature > getFeatures ()

List of features for the company.

getIndoorLevel

public synchronized String getIndoorLevel ()

Indoor level id.

Optional field, can be null.

getName

public synchronized String getName ()

Company name.

getNativeName

public static String getNativeName ()

getObsoleteAdvert

public synchronized ObsoleteAdvert getObsoleteAdvert ()

Optional advertisement info for the company.

Optional field, can be null.

getOid

public synchronized String getOid ()

Permanent company id.

getPhones

public synchronized List< Phone > getPhones ()

List of phone numbers for the company.

getPrecision

public synchronized Precision getPrecision ()

Address precision for the company.

Optional field, can be null.

getProperties

public synchronized Properties getProperties ()

Additional company properties.

Optional field, can be null.

getSeoname

public synchronized String getSeoname ()

Technical field for SEO (transliterated and simplified company name).

Optional field, can be null.

getShortName

public synchronized String getShortName ()

Short company name.

Optional field, can be null.

getSnippet

public synchronized List< Integer > getSnippet ()

Main features of company.

Indices for 'features' list.

getUnreliable

public synchronized Boolean getUnreliable ()

If true, company information is not reliable.

Optional field, can be null.

getWorkingHours

public synchronized WorkingHours getWorkingHours ()

Open hours for the company.

Optional field, can be null.

serialize

public void serialize (Archive archive)