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