Class BusinessResultMetadata
Warning
This feature is available in the Full MapKit SDK version
Package world.mappable.mapkit.search
java.lang.Object
↳ world.mappable.mapkit.search.BusinessResultMetadata
class BusinessResultMetadata implements Serializable
Common info for business search response.
Summary
Constructors
Signature and Description |
BusinessResultMetadata() |
BusinessResultMetadata(@NonNull java.util.List<Category> categories, |
Methods
Type and modifiers |
Method and Description |
|
getCategories() |
|
getChains() |
|
getBusinessFilters() |
|
getImportantFilters() |
|
getPricesCurrencies() |
void |
serialize(world.mappable.runtime.bindings.Archive archive) |
|
Constuctors
BusinessResultMetadata
BusinessResultMetadata() |
Use constructor with parameters in your code.
This one is for serialization only!
BusinessResultMetadata
BusinessResultMetadata(@NonNull java.util.List<Category> categories, |
Methods
getCategories
@NonNull |
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 (for example requests like "where to eat", "cinema", and other).
getChains
@NonNull |
List of chains present in response.
Non-empty list means that the request was treaded as 'chain request' (for example "mcdonalds", "starbucks", and other).
getBusinessFilters
@NonNull |
List of applicable filters.
getImportantFilters
@Nullable |
Collection of filters that probably are of utmost interest to the user.
Optional field, can be null.
getPricesCurrencies
@NonNull |
Relevant currency for the prices
serialize
@Override |
getNativeName
java.lang.String getNativeName() |