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)

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 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.

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)