Class YMKSearchBusinessResultMetadata

Common info for business search response.

Class Methods

Properties

businessFilters

List of applicable filters.

categories

List of categories (also known as rubrics) present in response.

chains

List of chains present in response.

importantFilters

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

Method Detail

+businessResultMetadataWithCategories:chains:businessFilters:importantFilters:

+ (nonnull YMKSearchBusinessResultMetadata *)businessResultMetadataWithCategories:(nonnull NSArray< YMKSearchCategory * > *)categories
                                                                           chains:(nonnull NSArray< YMKSearchChain * > *)chains
                                                                  businessFilters:(nonnull NSArray< YMKSearchBusinessFilter * > *)businessFilters
                                                                 importantFilters:(nullable YMKSearchFilterSet *)importantFilters 

Property Detail

businessFilters

(assign, readonly) NSArray< YMKSearchBusinessFilter * > * businessFilters

List of applicable filters.

categories

(assign, readonly) NSArray< YMKSearchCategory * > * categories

List of categories (also known as rubrics) present in response.

Non-empty list means that the request was treated as a 'category request' by the server (e.g. requests like "where to eat", "cinema", etc.).

chains

(assign, readonly) NSArray< YMKSearchChain * > * chains

List of chains present in response.

Non-empty list means that the request was treaded as 'chain request' (e.g. "mcdonalds", "starbucks", etc.).

importantFilters

(assign, readonly) YMKSearchFilterSet * importantFilters

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

Optional property, can be null.