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