public class Products extends AbstractResponse<Products>
optimisticData, responseData| Constructor and Description |
|---|
Products() |
Products(com.google.gson.JsonObject fields) |
| Modifier and Type | Method and Description |
|---|---|
List<Aggregation> |
getAggregations()
Layered navigation aggregations.
|
List<LayerFilter> |
getFilters()
Deprecated.
Use aggregations instead
|
String |
getGraphQlTypeName() |
List<ProductInterface> |
getItems()
An array of products that match the specified search criteria.
|
SearchResultPageInfo |
getPageInfo()
An object that includes the page_info and currentPage values specified in the query.
|
SortFields |
getSortFields()
An object that includes the default sort field and all available sort fields.
|
Integer |
getTotalCount()
The number of products that are marked as visible.
|
Products |
setAggregations(List<Aggregation> arg) |
Products |
setFilters(List<LayerFilter> arg) |
Products |
setItems(List<ProductInterface> arg) |
Products |
setPageInfo(SearchResultPageInfo arg) |
Products |
setSortFields(SortFields arg) |
Products |
setTotalCount(Integer arg) |
boolean |
unwrapsToObject(String key) |
collectNodes, get, getAsArray, getAsBoolean, getAsDouble, getAsInteger, getAsString, getFieldName, getKey, jsonAsArray, jsonAsBoolean, jsonAsDouble, jsonAsInteger, jsonAsObject, jsonAsString, readCustomField, withAliaspublic Products()
public Products(com.google.gson.JsonObject fields)
throws SchemaViolationError
SchemaViolationErrorpublic String getGraphQlTypeName()
public List<Aggregation> getAggregations()
public Products setAggregations(List<Aggregation> arg)
@Deprecated public List<LayerFilter> getFilters()
public Products setFilters(List<LayerFilter> arg)
public List<ProductInterface> getItems()
public Products setItems(List<ProductInterface> arg)
public SearchResultPageInfo getPageInfo()
public Products setPageInfo(SearchResultPageInfo arg)
public SortFields getSortFields()
public Products setSortFields(SortFields arg)
public Integer getTotalCount()
public boolean unwrapsToObject(String key)
unwrapsToObject in class AbstractResponse<Products>Copyright © 2022 Adobe. All rights reserved.