Class YMKSearchBusinessFilter
A filter that could be applied to search results.
Filters can be either boolean (i.e. Wi-Fi availability in a cafe) or enumerated (i.e. cuisine type in a restaurant). Enumerated filters support multiple selected values (OR-combined), to search, for example, for restaurants with Armenian or Georgian cuisine at once.
This class is used in two separate ways: a) server response contains all filters applicable to current search request and b) client can use some of these filters to get more specific results in the following search requests
Class Methods
Properties
Method Detail
+businessFilterWithId:name:disabled:values:
+ (nonnull YMKSearchBusinessFilter *)businessFilterWithId:(nonnull NSString *)id
name:(nullable NSString *)name
disabled:(nullable NSNumber *)disabled
values:(nonnull YMKSearchBusinessFilterValues *)values
Property Detail
disabled
(assign, readonly) NSNumber * disabled
The filter should not be used by the client, because filter is either used already (selected:true, disabled:true) or nothing would be found (selected:false, disabled:true).
Optional property, can be null.
id
(assign, readonly) NSString * id
Filter id.
name
(assign, readonly) NSString * name
Human-readable filter name.
Optional property, can be null.
values
(assign, readonly) YMKSearchBusinessFilterValues * values
Filter values.