public class Storefront.CollectionQuery.ProductsArguments extends Arguments
| Modifier and Type | Method and Description |
|---|---|
Storefront.CollectionQuery.ProductsArguments |
after(java.lang.String value)
Returns the elements that come after the specified cursor.
|
Storefront.CollectionQuery.ProductsArguments |
before(java.lang.String value)
Returns the elements that come before the specified cursor.
|
Storefront.CollectionQuery.ProductsArguments |
filters(java.util.List<Storefront.ProductFilter> value)
Returns a subset of products matching all product filters.
|
Storefront.CollectionQuery.ProductsArguments |
first(java.lang.Integer value)
Returns up to the first `n` elements from the list.
|
Storefront.CollectionQuery.ProductsArguments |
last(java.lang.Integer value)
Returns up to the last `n` elements from the list.
|
Storefront.CollectionQuery.ProductsArguments |
reverse(java.lang.Boolean value)
Reverse the order of the underlying list.
|
Storefront.CollectionQuery.ProductsArguments |
sortKey(Storefront.ProductCollectionSortKeys value)
Sort the underlying list by the given key.
|
end, startArgumentpublic Storefront.CollectionQuery.ProductsArguments first(java.lang.Integer value)
public Storefront.CollectionQuery.ProductsArguments after(java.lang.String value)
public Storefront.CollectionQuery.ProductsArguments last(java.lang.Integer value)
public Storefront.CollectionQuery.ProductsArguments before(java.lang.String value)
public Storefront.CollectionQuery.ProductsArguments reverse(java.lang.Boolean value)
public Storefront.CollectionQuery.ProductsArguments sortKey(Storefront.ProductCollectionSortKeys value)
public Storefront.CollectionQuery.ProductsArguments filters(java.util.List<Storefront.ProductFilter> value)