Warning

This feature is available in the Full MapKit SDK version

YMKSearchBusinessObjectMetadata

@interface YMKSearchBusinessObjectMetadata : NSObject <YMKBaseMetadata>

Extended information about company.

Summary

Class methods

+ (nonnull YMKSearchBusinessObjectMetadata *)businessObjectMetadataWithOid:(nonnull NSString *)oid
                                                                      name:(nonnull NSString *)name
                                                                   address:(nonnull YMKSearchAddress *)address
                                                                categories:(nonnull NSArray<YMKSearchCategory *> *)categories
                                                                    phones:(nonnull NSArray<YMKSearchPhone *> *)phones
                                                              workingHours:(nullable YMKSearchWorkingHours *)workingHours
                                                                 precision:(nullable NSNumber *)precision
                                                                  features:(nonnull NSArray<YMKSearchFeature *> *)features
                                                         importantFeatures:(nullable YMKSearchFeatureSet *)importantFeatures
                                                                     links:(nonnull NSArray<YMKSearchLink *> *)links
                                                                  distance:(nullable YMKLocalizedValue *)distance
                                                                    chains:(nonnull NSArray<YMKSearchChain *> *)chains
                                                                    closed:(nullable NSNumber *)closed
                                                                unreliable:(nullable NSNumber *)unreliable
                                                                   seoname:(nullable NSString *)seoname
                                                                 shortName:(nullable NSString *)shortName
                                                                properties:(nullable YMKSearchProperties *)properties
                                                             featureGroups:(nonnull NSArray<YMKSearchFeatureGroup *> *)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) YMKSearchAddress *address;
Company address

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

List of categories associated with the company

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

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

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

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

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

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

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

@property (nonatomic, readonly, nonnull) NSArray<YMKSearchChain *> *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) YMKSearchProperties *properties;
Additional company properties

@property (nonatomic, readonly, nonnull)
    NSArray<YMKSearchFeatureGroup *> *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 YMKSearchBusinessObjectMetadata *)businessObjectMetadataWithOid:(nonnull NSString *)oid
                                                                      name:(nonnull NSString *)name
                                                                   address:(nonnull YMKSearchAddress *)address
                                                                categories:(nonnull NSArray<YMKSearchCategory *> *)categories
                                                                    phones:(nonnull NSArray<YMKSearchPhone *> *)phones
                                                              workingHours:(nullable YMKSearchWorkingHours *)workingHours
                                                                 precision:(nullable NSNumber *)precision
                                                                  features:(nonnull NSArray<YMKSearchFeature *> *)features
                                                         importantFeatures:(nullable YMKSearchFeatureSet *)importantFeatures
                                                                     links:(nonnull NSArray<YMKSearchLink *> *)links
                                                                  distance:(nullable YMKLocalizedValue *)distance
                                                                    chains:(nonnull NSArray<YMKSearchChain *> *)chains
                                                                    closed:(nullable NSNumber *)closed
                                                                unreliable:(nullable NSNumber *)unreliable
                                                                   seoname:(nullable NSString *)seoname
                                                                 shortName:(nullable NSString *)shortName
                                                                properties:(nullable YMKSearchProperties *)properties
                                                             featureGroups:(nonnull NSArray<YMKSearchFeatureGroup *> *)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) YMKSearchAddress *address;

Company address.


categories

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

List of categories associated with the company.


phones

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

List of phone numbers for the company.


workingHours

@property (nonatomic, readonly, nullable) YMKSearchWorkingHours *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<YMKSearchFeature *> *features;

List of features for the company.


importantFeatures

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

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

Optional field, can be nil.


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

List of links for the company.


distance

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

Optional distance to the company from geometry provided in request.

Optional field, can be nil.


chains

@property (nonatomic, readonly, nonnull) NSArray<YMKSearchChain *> *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) YMKSearchProperties *properties;

Additional company properties.

Optional field, can be nil.


featureGroups

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

List of feature groups for the company.


indoorLevel

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

Indoor level id (obsolete).

Optional field, can be nil.