Warning

This feature is available in the Full MapKit SDK version

MMKSearchBusinessObjectMetadata

@interface MMKSearchBusinessObjectMetadata : NSObject <MMKBaseMetadata>

Extended information about company.

Summary

Class methods

+ (nonnull MMKSearchBusinessObjectMetadata *)businessObjectMetadataWithOid:(nonnull NSString *)oid
                                                                      name:(nonnull NSString *)name
                                                                   address:(nonnull MMKSearchAddress *)address
                                                                categories:(nonnull NSArray<MMKSearchCategory *> *)categories
                                                                    phones:(nonnull NSArray<MMKSearchPhone *> *)phones
                                                              workingHours:(nullable MMKSearchWorkingHours *)workingHours
                                                                 precision:(nullable NSNumber *)precision
                                                                  features:(nonnull NSArray<MMKSearchFeature *> *)features
                                                         importantFeatures:(nullable MMKSearchFeatureSet *)importantFeatures
                                                                     links:(nonnull NSArray<MMKSearchLink *> *)links
                                                                  distance:(nullable MMKLocalizedValue *)distance
                                                                    chains:(nonnull NSArray<MMKSearchChain *> *)chains
                                                                    closed:(nullable NSNumber *)closed
                                                                unreliable:(nullable NSNumber *)unreliable
                                                                   seoname:(nullable NSString *)seoname
                                                                 shortName:(nullable NSString *)shortName
                                                                properties:(nullable MMKSearchProperties *)properties
                                                             featureGroups:(nonnull NSArray<MMKSearchFeatureGroup *> *)featureGroups
                                                               indoorLevel:(nullable NSString *)indoorLevel;

Properties

@property (nonatomic, readonly, nonnull) NSString *oid;
Permanent company id

@property (nonatomic, readonly, nonnull) NSString *name;
Company name

@property (nonatomic, readonly, nonnull) MMKSearchAddress *address;
Company address

@property (nonatomic, readonly, nonnull)
    NSArray<MMKSearchCategory *> *categories;

List of categories associated with the company

@property (nonatomic, readonly, nonnull) NSArray<MMKSearchPhone *> *phones;
List of phone numbers for the company

@property (nonatomic, readonly, nullable) MMKSearchWorkingHours *workingHours;
Open hours for the company

@property (nonatomic, readonly, nullable) NSNumber *precision;
Address precision for the company

@property (nonatomic, readonly, nonnull) NSArray<MMKSearchFeature *> *features;
List of features for the company

@property (nonatomic, readonly, nullable) MMKSearchFeatureSet *importantFeatures;
Collection of features that probably are of utmost interest to the user

@property (nonatomic, readonly, nonnull) NSArray<MMKSearchLink *> *links;
List of links for the company

@property (nonatomic, readonly, nullable) MMKLocalizedValue *distance;
Optional distance to the company from geometry provided in request

@property (nonatomic, readonly, nonnull) NSArray<MMKSearchChain *> *chains;
List of chains associated with the company

@property (nonatomic, readonly, nullable) NSNumber *closed;
Company status, present if it is closed

@property (nonatomic, readonly, nullable) NSNumber *unreliable;
If true, company information is not reliable

@property (nonatomic, readonly, nullable) NSString *seoname;
Technical field for SEO (transliterated and simplified company name)

@property (nonatomic, readonly, nullable) NSString *shortName;
Short company name

@property (nonatomic, readonly, nullable) MMKSearchProperties *properties;
Additional company properties

@property (nonatomic, readonly, nonnull)
    NSArray<MMKSearchFeatureGroup *> *featureGroups;

List of feature groups for the company

@property (nonatomic, readonly, nullable) NSString *indoorLevel;
Indoor level id (obsolete)

Class methods

businessObjectMetadataWithOid:name:address:categories:phones:workingHours:precision:features:importantFeatures:links:distance:chains:closed:unreliable:seoname:shortName:properties:featureGroups:indoorLevel:

+ (nonnull MMKSearchBusinessObjectMetadata *)businessObjectMetadataWithOid:(nonnull NSString *)oid
                                                                      name:(nonnull NSString *)name
                                                                   address:(nonnull MMKSearchAddress *)address
                                                                categories:(nonnull NSArray<MMKSearchCategory *> *)categories
                                                                    phones:(nonnull NSArray<MMKSearchPhone *> *)phones
                                                              workingHours:(nullable MMKSearchWorkingHours *)workingHours
                                                                 precision:(nullable NSNumber *)precision
                                                                  features:(nonnull NSArray<MMKSearchFeature *> *)features
                                                         importantFeatures:(nullable MMKSearchFeatureSet *)importantFeatures
                                                                     links:(nonnull NSArray<MMKSearchLink *> *)links
                                                                  distance:(nullable MMKLocalizedValue *)distance
                                                                    chains:(nonnull NSArray<MMKSearchChain *> *)chains
                                                                    closed:(nullable NSNumber *)closed
                                                                unreliable:(nullable NSNumber *)unreliable
                                                                   seoname:(nullable NSString *)seoname
                                                                 shortName:(nullable NSString *)shortName
                                                                properties:(nullable MMKSearchProperties *)properties
                                                             featureGroups:(nonnull NSArray<MMKSearchFeatureGroup *> *)featureGroups
                                                               indoorLevel:(nullable NSString *)indoorLevel;


Properties

oid

@property (nonatomic, readonly, nonnull) NSString *oid;

Permanent company id.


name

@property (nonatomic, readonly, nonnull) NSString *name;

Company name.


address

@property (nonatomic, readonly, nonnull) MMKSearchAddress *address;

Company address.


categories

@property (nonatomic, readonly, nonnull)
    NSArray<MMKSearchCategory *> *categories;

List of categories associated with the company.


phones

@property (nonatomic, readonly, nonnull) NSArray<MMKSearchPhone *> *phones;

List of phone numbers for the company.


workingHours

@property (nonatomic, readonly, nullable) MMKSearchWorkingHours *workingHours;

Open hours for the company.

Optional field, can be nil.


precision

@property (nonatomic, readonly, nullable) NSNumber *precision;

Address precision for the company.

Optional field, can be nil.


features

@property (nonatomic, readonly, nonnull) NSArray<MMKSearchFeature *> *features;

List of features for the company.


importantFeatures

@property (nonatomic, readonly, nullable) MMKSearchFeatureSet *importantFeatures;

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

Optional field, can be nil.


@property (nonatomic, readonly, nonnull) NSArray<MMKSearchLink *> *links;

List of links for the company.


distance

@property (nonatomic, readonly, nullable) MMKLocalizedValue *distance;

Optional distance to the company from geometry provided in request.

Optional field, can be nil.


chains

@property (nonatomic, readonly, nonnull) NSArray<MMKSearchChain *> *chains;

List of chains associated with the company.


closed

@property (nonatomic, readonly, nullable) NSNumber *closed;

Company status, present if it is closed.

Optional field, can be nil.


unreliable

@property (nonatomic, readonly, nullable) NSNumber *unreliable;

If true, company information is not reliable.

Optional field, can be nil.


seoname

@property (nonatomic, readonly, nullable) NSString *seoname;

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

Optional field, can be nil.


shortName

@property (nonatomic, readonly, nullable) NSString *shortName;

Short company name.

Optional field, can be nil.


properties

@property (nonatomic, readonly, nullable) MMKSearchProperties *properties;

Additional company properties.

Optional field, can be nil.


featureGroups

@property (nonatomic, readonly, nonnull)
    NSArray<MMKSearchFeatureGroup *> *featureGroups;

List of feature groups for the company.


indoorLevel

@property (nonatomic, readonly, nullable) NSString *indoorLevel;

Indoor level id (obsolete).

Optional field, can be nil.