public class Storefront.ProductQuery.VariantsArguments extends Arguments
| Modifier and Type | Method and Description |
|---|---|
Storefront.ProductQuery.VariantsArguments |
after(java.lang.String value)
Returns the elements that come after the specified cursor.
|
Storefront.ProductQuery.VariantsArguments |
before(java.lang.String value)
Returns the elements that come before the specified cursor.
|
Storefront.ProductQuery.VariantsArguments |
first(java.lang.Integer value)
Returns up to the first `n` elements from the list.
|
Storefront.ProductQuery.VariantsArguments |
last(java.lang.Integer value)
Returns up to the last `n` elements from the list.
|
Storefront.ProductQuery.VariantsArguments |
reverse(java.lang.Boolean value)
Reverse the order of the underlying list.
|
Storefront.ProductQuery.VariantsArguments |
sortKey(Storefront.ProductVariantSortKeys value)
Sort the underlying list by the given key.
|
end, startArgumentpublic Storefront.ProductQuery.VariantsArguments first(java.lang.Integer value)
public Storefront.ProductQuery.VariantsArguments after(java.lang.String value)
public Storefront.ProductQuery.VariantsArguments last(java.lang.Integer value)
public Storefront.ProductQuery.VariantsArguments before(java.lang.String value)
public Storefront.ProductQuery.VariantsArguments reverse(java.lang.Boolean value)
public Storefront.ProductQuery.VariantsArguments sortKey(Storefront.ProductVariantSortKeys value)