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