Warning

This feature is available in the Full MapKit SDK version

MMKSearchBusinessObjectMetadata

class MMKSearchBusinessObjectMetadata : NSObject, MMKBaseMetadata

Extended information about company.

Summary

Class methods

 init(oid: String,
     name: String,
  address: MMKSearchAddress,
 categories: [MMKSearchCategory],
   phones: [MMKSearchPhone],
 workingHours: MMKSearchWorkingHours?,
 precision: NSNumber?,
 features: [MMKSearchFeature],
 importantFeatures: MMKSearchFeatureSet?,
    links: [MMKSearchLink],
 distance: MMKLocalizedValue?,
   chains: [MMKSearchChain],
   closed: NSNumber?,
 unreliable: NSNumber?,
  seoname: String?,
 shortName: String?,
 properties: MMKSearchProperties?,
 featureGroups: [MMKSearchFeatureGroup],
 indoorLevel: String?)

Properties

var oid: String { get }
Permanent company id

var name: String { get }
Company name

var addressMMKSearchAddress { get }
Company address

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

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

var workingHoursMMKSearchWorkingHours? { get }
Open hours for the company

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

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

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

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

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

var chains: [MMKSearchChain] { 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 propertiesMMKSearchProperties? { get }
Additional company properties

var featureGroups: [MMKSearchFeatureGroup] { 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: MMKSearchAddress,
 categories: [MMKSearchCategory],
   phones: [MMKSearchPhone],
 workingHours: MMKSearchWorkingHours?,
 precision: NSNumber?,
 features: [MMKSearchFeature],
 importantFeatures: MMKSearchFeatureSet?,
    links: [MMKSearchLink],
 distance: MMKLocalizedValue?,
   chains: [MMKSearchChain],
   closed: NSNumber?,
 unreliable: NSNumber?,
  seoname: String?,
 shortName: String?,
 properties: MMKSearchProperties?,
 featureGroups: [MMKSearchFeatureGroup],
 indoorLevel: String?)


Properties

oid

var oid: String { get }

Permanent company id.


name

var name: String { get }

Company name.


address

var address: MMKSearchAddress { get }

Company address.


categories

var categories: [MMKSearchCategory] { get }

List of categories associated with the company.


phones

var phones: [MMKSearchPhone] { get }

List of phone numbers for the company.


workingHours

var workingHours: MMKSearchWorkingHours? { 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: [MMKSearchFeature] { get }

List of features for the company.


importantFeatures

var importantFeatures: MMKSearchFeatureSet? { get }

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

Optional field, can be nil.


var links: [MMKSearchLink] { get }

List of links for the company.


distance

var distance: MMKLocalizedValue? { get }

Optional distance to the company from geometry provided in request.

Optional field, can be nil.


chains

var chains: [MMKSearchChain] { 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: MMKSearchProperties? { get }

Additional company properties.

Optional field, can be nil.


featureGroups

var featureGroups: [MMKSearchFeatureGroup] { get }

List of feature groups for the company.


indoorLevel

var indoorLevel: String? { get }

Indoor level id (obsolete).

Optional field, can be nil.