Важно

This feature is available in the Full MapKit SDK version

Package com.yandex.mapkit.search

Class BusinessObjectMetadata

java.lang.Object
    ↳ com.yandex.mapkit.search.BusinessObjectMetadata

All Superinterfaces:

BaseMetadata

class BusinessObjectMetadata implements BaseMetadata, Serializable

Extended information about company.

Summary

Constructors

Signature and Description

BusinessObjectMetadata()
Use constructor with parameters in your code.

BusinessObjectMetadata(@NonNull java.lang.String oid,
                       @NonNull java.lang.String name,
                       @NonNull Address address,
                       @NonNull java.util.List<Category> categories,
                       @NonNull java.util.List<Phone> phones,
                       @Nullable WorkingHours workingHours,
                       @Nullable Precision precision,
                       @NonNull java.util.List<Feature> features,
                       @Nullable FeatureSet importantFeatures,
                       @NonNull java.util.List<SearchLink> links,
                       @Nullable LocalizedValue distance,
                       @NonNull java.util.List<Chain> chains,
                       @Nullable Closed closed,
                       @Nullable java.lang.Boolean unreliable,
                       @Nullable java.lang.String seoname,
                       @Nullable java.lang.String shortName,
                       @Nullable Properties properties,
                       @NonNull java.util.List<FeatureGroup> featureGroups,
                       @Nullable java.lang.String indoorLevel)

Methods

Type and modifiers

Method and Description

synchronized java.lang.String

getOid()
Permanent company id.

synchronized java.lang.String

getName()
Company name.

synchronized Address

getAddress()
Company address.

synchronized java.util.List<Category>

getCategories()
List of categories associated with the company.

synchronized java.util.List<Phone>

getPhones()
List of phone numbers for the company.

synchronized WorkingHours

getWorkingHours()
Open hours for the company.

synchronized Precision

getPrecision()
Address precision for the company.

synchronized java.util.List<Feature>

getFeatures()
List of features for the company.

synchronized FeatureSet

getImportantFeatures()
Collection of features that probably are of utmost interest to the user.

synchronized java.util.List<SearchLink>

getLinks()
List of links for the company.

synchronized LocalizedValue

getDistance()
Optional distance to the company from geometry provided in request.

synchronized java.util.List<Chain>

getChains()
List of chains associated with the company.

synchronized Closed

getClosed()
Company status, present if it is closed.

synchronized java.lang.Boolean

getUnreliable()
If true, company information is not reliable.

synchronized java.lang.String

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

synchronized java.lang.String

getShortName()
Short company name.

synchronized Properties

getProperties()
Additional company properties.

synchronized java.util.List<FeatureGroup>

getFeatureGroups()
List of feature groups for the company.

synchronized java.lang.String

getIndoorLevel()
Indoor level id (obsolete).

void

serialize(com.yandex.runtime.bindings.Archive archive)

static java.lang.String

getNativeName()

Constuctors

BusinessObjectMetadata

BusinessObjectMetadata()

Use constructor with parameters in your code.

This one is for serialization only!


BusinessObjectMetadata(@NonNull java.lang.String oid,
                       @NonNull java.lang.String name,
                       @NonNull Address address,
                       @NonNull java.util.List<Category> categories,
                       @NonNull java.util.List<Phone> phones,
                       @Nullable WorkingHours workingHours,
                       @Nullable Precision precision,
                       @NonNull java.util.List<Feature> features,
                       @Nullable FeatureSet importantFeatures,
                       @NonNull java.util.List<SearchLink> links,
                       @Nullable LocalizedValue distance,
                       @NonNull java.util.List<Chain> chains,
                       @Nullable Closed closed,
                       @Nullable java.lang.Boolean unreliable,
                       @Nullable java.lang.String seoname,
                       @Nullable java.lang.String shortName,
                       @Nullable Properties properties,
                       @NonNull java.util.List<FeatureGroup> featureGroups,
                       @Nullable java.lang.String indoorLevel)


Methods

getOid

@NonNull
java.lang.String getOid()

Permanent company id.


getName

@NonNull
java.lang.String getName()

Company name.


getAddress

@NonNull
Address getAddress()

Company address.


getCategories

@NonNull
java.util.List<Category> getCategories()

List of categories associated with the company.


getPhones

@NonNull
java.util.List<Phone> getPhones()

List of phone numbers for the company.


getWorkingHours

@Nullable
WorkingHours getWorkingHours()

Open hours for the company.

Optional field, can be null.


getPrecision

@Nullable
Precision getPrecision()

Address precision for the company.

Optional field, can be null.


getFeatures

@NonNull
java.util.List<Feature> getFeatures()

List of features for the company.


getImportantFeatures

@Nullable
FeatureSet getImportantFeatures()

Collection of features that probably are of utmost interest to the user.

Optional field, can be null.


@NonNull
java.util.List<SearchLink> getLinks()

List of links for the company.


getDistance

@Nullable
LocalizedValue getDistance()

Optional distance to the company from geometry provided in request.

Optional field, can be null.


getChains

@NonNull
java.util.List<Chain> getChains()

List of chains associated with the company.


getClosed

@Nullable
Closed getClosed()

Company status, present if it is closed.

Optional field, can be null.


getUnreliable

@Nullable
java.lang.Boolean getUnreliable()

If true, company information is not reliable.

Optional field, can be null.


getSeoname

@Nullable
java.lang.String getSeoname()

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

Optional field, can be null.


getShortName

@Nullable
java.lang.String getShortName()

Short company name.

Optional field, can be null.


getProperties

@Nullable
Properties getProperties()

Additional company properties.

Optional field, can be null.


getFeatureGroups

@NonNull
java.util.List<FeatureGroup> getFeatureGroups()

List of feature groups for the company.


getIndoorLevel

@Nullable
java.lang.String getIndoorLevel()

Indoor level id (obsolete).

Optional field, can be null.


serialize

@Override
void serialize(com.yandex.runtime.bindings.Archive archive)


getNativeName

java.lang.String getNativeName()


Предыдущая
Следующая