Важно

This feature is available in the Full MapKit SDK version

YMKSearchBusinessObjectMetadata

class YMKSearchBusinessObjectMetadata : NSObject, YMKBaseMetadata

Extended information about company.

Summary

Class methods

 init(oid: String,
     name: String,
  address: YMKSearchAddress,
 categories: [YMKSearchCategory],
   phones: [YMKSearchPhone],
 workingHours: YMKSearchWorkingHours?,
 precision: NSNumber?,
 features: [YMKSearchFeature],
 importantFeatures: YMKSearchFeatureSet?,
    links: [YMKSearchLink],
 distance: YMKLocalizedValue?,
   chains: [YMKSearchChain],
   closed: NSNumber?,
 unreliable: NSNumber?,
  seoname: String?,
 shortName: String?,
 properties: YMKSearchProperties?,
 featureGroups: [YMKSearchFeatureGroup],
 indoorLevel: String?)

Properties

var oid: String { get }
Permanent company id

var name: String { get }
Company name

var addressYMKSearchAddress { get }
Company address

var categories: [YMKSearchCategory] { get }
List of categories associated with the company

var phones: [YMKSearchPhone] { get }
List of phone numbers for the company

var workingHoursYMKSearchWorkingHours? { get }
Open hours for the company

var precision: NSNumber? { get }
Address precision for the company

var features: [YMKSearchFeature] { get }
List of features for the company

var importantFeaturesYMKSearchFeatureSet? { get }
Collection of features that probably are of utmost interest to the user

var links: [YMKSearchLink] { get }
List of links for the company

var distanceYMKLocalizedValue? { get }
Optional distance to the company from geometry provided in request

var chains: [YMKSearchChain] { get }
List of chains associated with the company

var closed: NSNumber? { get }
Company status, present if it is closed

var unreliable: NSNumber? { get }
If true, company information is not reliable

var seoname: String? { get }
Technical field for SEO (transliterated and simplified company name)

var shortName: String? { get }
Short company name

var propertiesYMKSearchProperties? { get }
Additional company properties

var featureGroups: [YMKSearchFeatureGroup] { get }
List of feature groups for the company

var indoorLevel: String? { get }
Indoor level id (obsolete)

Class methods

init(oid:name:address:categories:phones:workingHours:precision:features:importantFeatures:links:distance:chains:closed:unreliable:seoname:shortName:properties:featureGroups:indoorLevel:)

 init(oid: String,
     name: String,
  address: YMKSearchAddress,
 categories: [YMKSearchCategory],
   phones: [YMKSearchPhone],
 workingHours: YMKSearchWorkingHours?,
 precision: NSNumber?,
 features: [YMKSearchFeature],
 importantFeatures: YMKSearchFeatureSet?,
    links: [YMKSearchLink],
 distance: YMKLocalizedValue?,
   chains: [YMKSearchChain],
   closed: NSNumber?,
 unreliable: NSNumber?,
  seoname: String?,
 shortName: String?,
 properties: YMKSearchProperties?,
 featureGroups: [YMKSearchFeatureGroup],
 indoorLevel: String?)


Properties

oid

var oid: String { get }

Permanent company id.


name

var name: String { get }

Company name.


address

var address: YMKSearchAddress { get }

Company address.


categories

var categories: [YMKSearchCategory] { get }

List of categories associated with the company.


phones

var phones: [YMKSearchPhone] { get }

List of phone numbers for the company.


workingHours

var workingHours: YMKSearchWorkingHours? { get }

Open hours for the company.

Optional field, can be nil.


precision

var precision: NSNumber? { get }

Address precision for the company.

Optional field, can be nil.


features

var features: [YMKSearchFeature] { get }

List of features for the company.


importantFeatures

var importantFeatures: YMKSearchFeatureSet? { get }

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

Optional field, can be nil.


var links: [YMKSearchLink] { get }

List of links for the company.


distance

var distance: YMKLocalizedValue? { get }

Optional distance to the company from geometry provided in request.

Optional field, can be nil.


chains

var chains: [YMKSearchChain] { get }

List of chains associated with the company.


closed

var closed: NSNumber? { get }

Company status, present if it is closed.

Optional field, can be nil.


unreliable

var unreliable: NSNumber? { get }

If true, company information is not reliable.

Optional field, can be nil.


seoname

var seoname: String? { get }

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

Optional field, can be nil.


shortName

var shortName: String? { get }

Short company name.

Optional field, can be nil.


properties

var properties: YMKSearchProperties? { get }

Additional company properties.

Optional field, can be nil.


featureGroups

var featureGroups: [YMKSearchFeatureGroup] { get }

List of feature groups for the company.


indoorLevel

var indoorLevel: String? { get }

Indoor level id (obsolete).

Optional field, can be nil.