All Methods Instance Methods Concrete Methods
| Modifier and Type |
Method and Description |
Storefront.ProductQuery |
availableForSale()
Indicates if at least one product variant is available for sale.
|
Storefront.ProductQuery |
collections(Storefront.CollectionConnectionQueryDefinition queryDef)
List of collections a product belongs to.
|
Storefront.ProductQuery |
collections(Storefront.ProductQuery.CollectionsArgumentsDefinition argsDef,
Storefront.CollectionConnectionQueryDefinition queryDef)
List of collections a product belongs to.
|
Storefront.ProductQuery |
compareAtPriceRange(Storefront.ProductPriceRangeQueryDefinition queryDef)
The compare at price of the product across all variants.
|
Storefront.ProductQuery |
createdAt()
The date and time when the product was created.
|
Storefront.ProductQuery |
description()
Stripped description of the product, single line with HTML tags removed.
|
Storefront.ProductQuery |
description(Storefront.ProductQuery.DescriptionArgumentsDefinition argsDef)
Stripped description of the product, single line with HTML tags removed.
|
Storefront.ProductQuery |
descriptionHtml()
The description of the product, complete with HTML formatting.
|
Storefront.ProductQuery |
featuredImage(Storefront.ImageQueryDefinition queryDef)
The featured image for the product.
|
Storefront.ProductQuery |
handle()
A human-friendly unique string for the Product automatically generated from its title.
|
Storefront.ProductQuery |
images(Storefront.ImageConnectionQueryDefinition queryDef)
List of images associated with the product.
|
Storefront.ProductQuery |
images(Storefront.ProductQuery.ImagesArgumentsDefinition argsDef,
Storefront.ImageConnectionQueryDefinition queryDef)
List of images associated with the product.
|
Storefront.ProductQuery |
isGiftCard()
Whether the product is a gift card.
|
Storefront.ProductQuery |
media(Storefront.MediaConnectionQueryDefinition queryDef)
The media associated with the product.
|
Storefront.ProductQuery |
media(Storefront.ProductQuery.MediaArgumentsDefinition argsDef,
Storefront.MediaConnectionQueryDefinition queryDef)
The media associated with the product.
|
Storefront.ProductQuery |
metafield(java.lang.String key,
Storefront.MetafieldQueryDefinition queryDef)
Returns a metafield found by namespace and key.
|
Storefront.ProductQuery |
metafield(java.lang.String key,
Storefront.ProductQuery.MetafieldArgumentsDefinition argsDef,
Storefront.MetafieldQueryDefinition queryDef)
Returns a metafield found by namespace and key.
|
Storefront.ProductQuery |
metafields(java.util.List<Storefront.HasMetafieldsIdentifier> identifiers,
Storefront.MetafieldQueryDefinition queryDef)
The metafields associated with the resource matching the supplied list of namespaces and keys.
|
Storefront.ProductQuery |
onlineStoreUrl()
The URL used for viewing the resource on the shop's Online Store.
|
Storefront.ProductQuery |
options(Storefront.ProductOptionQueryDefinition queryDef)
List of product options.
|
Storefront.ProductQuery |
options(Storefront.ProductQuery.OptionsArgumentsDefinition argsDef,
Storefront.ProductOptionQueryDefinition queryDef)
List of product options.
|
Storefront.ProductQuery |
priceRange(Storefront.ProductPriceRangeQueryDefinition queryDef)
The price range.
|
Storefront.ProductQuery |
productType()
A categorization that a product can be tagged with, commonly used for filtering and searching.
|
Storefront.ProductQuery |
publishedAt()
The date and time when the product was published to the channel.
|
Storefront.ProductQuery |
requiresSellingPlan()
Whether the product can only be purchased with a selling plan.
|
Storefront.ProductQuery |
sellingPlanGroups(Storefront.ProductQuery.SellingPlanGroupsArgumentsDefinition argsDef,
Storefront.SellingPlanGroupConnectionQueryDefinition queryDef)
A list of a product's available selling plan groups.
|
Storefront.ProductQuery |
sellingPlanGroups(Storefront.SellingPlanGroupConnectionQueryDefinition queryDef)
A list of a product's available selling plan groups.
|
Storefront.ProductQuery |
seo(Storefront.SEOQueryDefinition queryDef)
The product's SEO information.
|
Storefront.ProductQuery |
tags()
A comma separated list of tags that have been added to the product.
|
Storefront.ProductQuery |
title()
The product’s title.
|
Storefront.ProductQuery |
totalInventory()
The total quantity of inventory in stock for this Product.
|
Storefront.ProductQuery |
trackingParameters()
A URL parameters to be added to a page URL when it is linked from a GraphQL result.
|
Storefront.ProductQuery |
updatedAt()
The date and time when the product was last modified.
|
Storefront.ProductQuery |
variantBySelectedOptions(java.util.List<Storefront.SelectedOptionInput> selectedOptions,
Storefront.ProductQuery.VariantBySelectedOptionsArgumentsDefinition argsDef,
Storefront.ProductVariantQueryDefinition queryDef)
Find a product’s variant based on its selected options.
|
Storefront.ProductQuery |
variantBySelectedOptions(java.util.List<Storefront.SelectedOptionInput> selectedOptions,
Storefront.ProductVariantQueryDefinition queryDef)
Find a product’s variant based on its selected options.
|
Storefront.ProductQuery |
variants(Storefront.ProductQuery.VariantsArgumentsDefinition argsDef,
Storefront.ProductVariantConnectionQueryDefinition queryDef)
List of the product’s variants.
|
Storefront.ProductQuery |
variants(Storefront.ProductVariantConnectionQueryDefinition queryDef)
List of the product’s variants.
|
Storefront.ProductQuery |
vendor()
The product’s vendor name.
|