public class ProductInterfaceQuery extends AbstractQuery<ProductInterfaceQuery>
| Modifier and Type | Class and Description |
|---|---|
class |
ProductInterfaceQuery.ReviewsArguments |
static interface |
ProductInterfaceQuery.ReviewsArgumentsDefinition |
_queryBuilder, ALIAS_SUFFIX_SEPARATOR, CUSTOM_FIELD_LABEL| Modifier and Type | Method and Description |
|---|---|
ProductInterfaceQuery |
addFragmentReference(Fragment<ProductInterfaceQuery> fragment)
Adds a
ProductInterfaceQuery fragment reference at the current position of the query. |
ProductInterfaceQuery |
attributeSetId()
Deprecated.
The field should not be used on the storefront.
|
ProductInterfaceQuery |
canonicalUrl()
Relative canonical URL.
|
ProductInterfaceQuery |
categories(CategoryInterfaceQueryDefinition queryDef)
The categories assigned to a product.
|
ProductInterfaceQuery |
color() |
ProductInterfaceQuery |
countryOfManufacture()
The product's country of origin.
|
ProductInterfaceQuery |
createdAt()
Deprecated.
The field should not be used on the storefront.
|
static Fragment<ProductInterfaceQuery> |
createFragment(String name,
ProductInterfaceQueryDefinition queryDef)
Creates a GraphQL "named" fragment with the specified query type definition.
|
ProductInterfaceQuery |
crosssellProducts(ProductInterfaceQueryDefinition queryDef)
Crosssell Products
|
ProductInterfaceQuery |
description(ComplexTextValueQueryDefinition queryDef)
Detailed information about the product.
|
ProductInterfaceQuery |
giftMessageAvailable()
Indicates whether a gift message is available.
|
ProductInterfaceQuery |
id()
Deprecated.
Use the `uid` field instead.
|
ProductInterfaceQuery |
image(ProductImageQueryDefinition queryDef)
The relative path to the main image on the product page.
|
ProductInterfaceQuery |
isReturnable()
Indicates whether the product can be returned
|
ProductInterfaceQuery |
manufacturer()
A number representing the product's manufacturer.
|
ProductInterfaceQuery |
mediaGallery(MediaGalleryInterfaceQueryDefinition queryDef)
An array of Media Gallery objects.
|
ProductInterfaceQuery |
mediaGalleryEntries(MediaGalleryEntryQueryDefinition queryDef)
Deprecated.
Use product's `media_gallery` instead
|
ProductInterfaceQuery |
metaDescription()
A brief overview of the product for search results listings, maximum 255 characters.
|
ProductInterfaceQuery |
metaKeyword()
A comma-separated list of keywords that are visible only to search engines.
|
ProductInterfaceQuery |
metaTitle()
A string that is displayed in the title bar and tab of the browser and in search results lists.
|
ProductInterfaceQuery |
name()
The product name.
|
ProductInterfaceQuery |
newFromDate()
Deprecated.
The field should not be used on the storefront.
|
ProductInterfaceQuery |
newToDate()
Deprecated.
The field should not be used on the storefront.
|
ProductInterfaceQuery |
onBundleProduct(BundleProductQueryDefinition queryDef) |
ProductInterfaceQuery |
onConfigurableProduct(ConfigurableProductQueryDefinition queryDef) |
ProductInterfaceQuery |
onCustomizableProductInterface(CustomizableProductInterfaceQueryDefinition queryDef) |
ProductInterfaceQuery |
onDownloadableProduct(DownloadableProductQueryDefinition queryDef) |
ProductInterfaceQuery |
onGiftCardProduct(GiftCardProductQueryDefinition queryDef) |
ProductInterfaceQuery |
onGroupedProduct(GroupedProductQueryDefinition queryDef) |
ProductInterfaceQuery |
onlyXLeftInStock()
Product stock only x left count
|
ProductInterfaceQuery |
onPhysicalProductInterface(PhysicalProductInterfaceQueryDefinition queryDef) |
ProductInterfaceQuery |
onSimpleProduct(SimpleProductQueryDefinition queryDef) |
ProductInterfaceQuery |
onVirtualProduct(VirtualProductQueryDefinition queryDef) |
ProductInterfaceQuery |
optionsContainer()
If the product has multiple options, determines where they appear on the product page.
|
ProductInterfaceQuery |
price(ProductPricesQueryDefinition queryDef)
Deprecated.
Use price_range for product price information.
|
ProductInterfaceQuery |
priceRange(PriceRangeQueryDefinition queryDef)
A PriceRange object, indicating the range of prices for the product
|
ProductInterfaceQuery |
priceTiers(TierPriceQueryDefinition queryDef)
An array of TierPrice objects.
|
ProductInterfaceQuery |
productLinks(ProductLinksInterfaceQueryDefinition queryDef)
An array of ProductLinks objects.
|
ProductInterfaceQuery |
ratingSummary()
The average of all the ratings given to the product.
|
ProductInterfaceQuery |
relatedProducts(ProductInterfaceQueryDefinition queryDef)
Related Products
|
ProductInterfaceQuery |
reviewCount()
The total count of all the reviews given to the product.
|
ProductInterfaceQuery |
reviews(ProductInterfaceQuery.ReviewsArgumentsDefinition argsDef,
ProductReviewsQueryDefinition queryDef)
The list of products reviews.
|
ProductInterfaceQuery |
reviews(ProductReviewsQueryDefinition queryDef)
The list of products reviews.
|
ProductInterfaceQuery |
shortDescription(ComplexTextValueQueryDefinition queryDef)
A short description of the product.
|
ProductInterfaceQuery |
sku()
A number or code assigned to a product to identify the product, options, price, and manufacturer.
|
ProductInterfaceQuery |
smallImage(ProductImageQueryDefinition queryDef)
The relative path to the small image, which is used on catalog pages.
|
ProductInterfaceQuery |
specialFromDate()
Deprecated.
The field should not be used on the storefront.
|
ProductInterfaceQuery |
specialPrice()
The discounted price of the product.
|
ProductInterfaceQuery |
specialToDate()
The end date that a product has a special price.
|
ProductInterfaceQuery |
staged() |
ProductInterfaceQuery |
stockStatus()
Stock status of the product
|
ProductInterfaceQuery |
swatchImage()
The file name of a swatch image
|
ProductInterfaceQuery |
thumbnail(ProductImageQueryDefinition queryDef)
The relative path to the product's thumbnail image.
|
ProductInterfaceQuery |
tierPrice()
Deprecated.
Use price_tiers for product tier price information.
|
ProductInterfaceQuery |
tierPrices(ProductTierPricesQueryDefinition queryDef)
Deprecated.
Use price_tiers for product tier price information.
|
ProductInterfaceQuery |
typeId()
Deprecated.
Use __typename instead.
|
ProductInterfaceQuery |
uid()
The unique ID for a `ProductInterface` object.
|
ProductInterfaceQuery |
updatedAt()
Deprecated.
The field should not be used on the storefront.
|
ProductInterfaceQuery |
upsellProducts(ProductInterfaceQueryDefinition queryDef)
Upsell Products
|
ProductInterfaceQuery |
urlKey()
The part of the URL that identifies the product
|
ProductInterfaceQuery |
urlPath()
Deprecated.
Use product's `canonical_url` or url rewrites instead
|
ProductInterfaceQuery |
urlRewrites(UrlRewriteQueryDefinition queryDef)
URL rewrites list
|
ProductInterfaceQuery |
urlSuffix()
The part of the product URL that is appended after the url key
|
ProductInterfaceQuery |
websites(WebsiteQueryDefinition queryDef)
Deprecated.
The field should not be used on the storefront.
|
addCustomObjectField, addCustomSimpleField, appendQuotedString, startField, startInlineFragment, withAlias@Deprecated public ProductInterfaceQuery attributeSetId()
public ProductInterfaceQuery canonicalUrl()
public ProductInterfaceQuery categories(CategoryInterfaceQueryDefinition queryDef)
public ProductInterfaceQuery color()
public ProductInterfaceQuery countryOfManufacture()
@Deprecated public ProductInterfaceQuery createdAt()
public ProductInterfaceQuery crosssellProducts(ProductInterfaceQueryDefinition queryDef)
public ProductInterfaceQuery description(ComplexTextValueQueryDefinition queryDef)
public ProductInterfaceQuery giftMessageAvailable()
@Deprecated public ProductInterfaceQuery id()
public ProductInterfaceQuery image(ProductImageQueryDefinition queryDef)
public ProductInterfaceQuery isReturnable()
public ProductInterfaceQuery manufacturer()
public ProductInterfaceQuery mediaGallery(MediaGalleryInterfaceQueryDefinition queryDef)
@Deprecated public ProductInterfaceQuery mediaGalleryEntries(MediaGalleryEntryQueryDefinition queryDef)
public ProductInterfaceQuery metaDescription()
public ProductInterfaceQuery metaKeyword()
public ProductInterfaceQuery metaTitle()
public ProductInterfaceQuery name()
@Deprecated public ProductInterfaceQuery newFromDate()
@Deprecated public ProductInterfaceQuery newToDate()
public ProductInterfaceQuery onlyXLeftInStock()
public ProductInterfaceQuery optionsContainer()
@Deprecated public ProductInterfaceQuery price(ProductPricesQueryDefinition queryDef)
public ProductInterfaceQuery priceRange(PriceRangeQueryDefinition queryDef)
public ProductInterfaceQuery priceTiers(TierPriceQueryDefinition queryDef)
public ProductInterfaceQuery productLinks(ProductLinksInterfaceQueryDefinition queryDef)
public ProductInterfaceQuery ratingSummary()
public ProductInterfaceQuery relatedProducts(ProductInterfaceQueryDefinition queryDef)
public ProductInterfaceQuery reviewCount()
public ProductInterfaceQuery reviews(ProductReviewsQueryDefinition queryDef)
public ProductInterfaceQuery reviews(ProductInterfaceQuery.ReviewsArgumentsDefinition argsDef, ProductReviewsQueryDefinition queryDef)
public ProductInterfaceQuery shortDescription(ComplexTextValueQueryDefinition queryDef)
public ProductInterfaceQuery sku()
public ProductInterfaceQuery smallImage(ProductImageQueryDefinition queryDef)
@Deprecated public ProductInterfaceQuery specialFromDate()
public ProductInterfaceQuery specialPrice()
public ProductInterfaceQuery specialToDate()
public ProductInterfaceQuery staged()
public ProductInterfaceQuery stockStatus()
public ProductInterfaceQuery swatchImage()
public ProductInterfaceQuery thumbnail(ProductImageQueryDefinition queryDef)
@Deprecated public ProductInterfaceQuery tierPrice()
@Deprecated public ProductInterfaceQuery tierPrices(ProductTierPricesQueryDefinition queryDef)
@Deprecated public ProductInterfaceQuery typeId()
public ProductInterfaceQuery uid()
@Deprecated public ProductInterfaceQuery updatedAt()
public ProductInterfaceQuery upsellProducts(ProductInterfaceQueryDefinition queryDef)
public ProductInterfaceQuery urlKey()
@Deprecated public ProductInterfaceQuery urlPath()
public ProductInterfaceQuery urlRewrites(UrlRewriteQueryDefinition queryDef)
public ProductInterfaceQuery urlSuffix()
@Deprecated public ProductInterfaceQuery websites(WebsiteQueryDefinition queryDef)
public ProductInterfaceQuery onBundleProduct(BundleProductQueryDefinition queryDef)
public ProductInterfaceQuery onConfigurableProduct(ConfigurableProductQueryDefinition queryDef)
public ProductInterfaceQuery onDownloadableProduct(DownloadableProductQueryDefinition queryDef)
public ProductInterfaceQuery onGiftCardProduct(GiftCardProductQueryDefinition queryDef)
public ProductInterfaceQuery onGroupedProduct(GroupedProductQueryDefinition queryDef)
public ProductInterfaceQuery onSimpleProduct(SimpleProductQueryDefinition queryDef)
public ProductInterfaceQuery onVirtualProduct(VirtualProductQueryDefinition queryDef)
public ProductInterfaceQuery onCustomizableProductInterface(CustomizableProductInterfaceQueryDefinition queryDef)
public ProductInterfaceQuery onPhysicalProductInterface(PhysicalProductInterfaceQueryDefinition queryDef)
public static Fragment<ProductInterfaceQuery> createFragment(String name, ProductInterfaceQueryDefinition queryDef)
name - The name of the fragment, must be unique for a given GraphQL request.queryDef - The fragment definition.public ProductInterfaceQuery addFragmentReference(Fragment<ProductInterfaceQuery> fragment)
ProductInterfaceQuery fragment reference at the current position of the query.
For example for a fragment named test, calling this method will add the
reference ...test in the query. For GraphQL types implementing an interface, there
will be some similar methods using the Query type of each implemented interface.fragment - The fragment to reference.Copyright © 2022 Adobe. All rights reserved.