public interface ProductInterface extends CustomFieldInterface
| Modifier and Type | Method and Description |
|---|---|
Integer |
getAttributeSetId()
Deprecated.
The field should not be used on the storefront.
|
String |
getCanonicalUrl()
Relative canonical URL.
|
List<CategoryInterface> |
getCategories()
The categories assigned to a product.
|
Integer |
getColor() |
String |
getCountryOfManufacture()
The product's country of origin.
|
String |
getCreatedAt()
Deprecated.
The field should not be used on the storefront.
|
List<ProductInterface> |
getCrosssellProducts()
Crosssell Products
|
ComplexTextValue |
getDescription()
Detailed information about the product.
|
String |
getGiftMessageAvailable()
Indicates whether a gift message is available.
|
String |
getGraphQlTypeName() |
Integer |
getId()
Deprecated.
Use the `uid` field instead.
|
ProductImage |
getImage()
The relative path to the main image on the product page.
|
String |
getIsReturnable()
Indicates whether the product can be returned
|
Integer |
getManufacturer()
A number representing the product's manufacturer.
|
List<MediaGalleryInterface> |
getMediaGallery()
An array of Media Gallery objects.
|
List<MediaGalleryEntry> |
getMediaGalleryEntries()
Deprecated.
Use product's `media_gallery` instead
|
String |
getMetaDescription()
A brief overview of the product for search results listings, maximum 255 characters.
|
String |
getMetaKeyword()
A comma-separated list of keywords that are visible only to search engines.
|
String |
getMetaTitle()
A string that is displayed in the title bar and tab of the browser and in search results lists.
|
String |
getName()
The product name.
|
String |
getNewFromDate()
Deprecated.
The field should not be used on the storefront.
|
String |
getNewToDate()
Deprecated.
The field should not be used on the storefront.
|
Double |
getOnlyXLeftInStock()
Product stock only x left count
|
String |
getOptionsContainer()
If the product has multiple options, determines where they appear on the product page.
|
ProductPrices |
getPrice()
Deprecated.
Use price_range for product price information.
|
PriceRange |
getPriceRange()
A PriceRange object, indicating the range of prices for the product
|
List<TierPrice> |
getPriceTiers()
An array of TierPrice objects.
|
List<ProductLinksInterface> |
getProductLinks()
An array of ProductLinks objects.
|
Double |
getRatingSummary()
The average of all the ratings given to the product.
|
List<ProductInterface> |
getRelatedProducts()
Related Products
|
Integer |
getReviewCount()
The total count of all the reviews given to the product.
|
ProductReviews |
getReviews()
The list of products reviews.
|
ComplexTextValue |
getShortDescription()
A short description of the product.
|
String |
getSku()
A number or code assigned to a product to identify the product, options, price, and manufacturer.
|
ProductImage |
getSmallImage()
The relative path to the small image, which is used on catalog pages.
|
String |
getSpecialFromDate()
Deprecated.
The field should not be used on the storefront.
|
Double |
getSpecialPrice()
The discounted price of the product.
|
String |
getSpecialToDate()
The end date that a product has a special price.
|
Boolean |
getStaged() |
ProductStockStatus |
getStockStatus()
Stock status of the product
|
String |
getSwatchImage()
The file name of a swatch image
|
ProductImage |
getThumbnail()
The relative path to the product's thumbnail image.
|
Double |
getTierPrice()
Deprecated.
Use price_tiers for product tier price information.
|
List<ProductTierPrices> |
getTierPrices()
Deprecated.
Use price_tiers for product tier price information.
|
String |
getTypeId()
Deprecated.
Use __typename instead.
|
ID |
getUid()
The unique ID for a `ProductInterface` object.
|
String |
getUpdatedAt()
Deprecated.
The field should not be used on the storefront.
|
List<ProductInterface> |
getUpsellProducts()
Upsell Products
|
String |
getUrlKey()
The part of the URL that identifies the product
|
String |
getUrlPath()
Deprecated.
Use product's `canonical_url` or url rewrites instead
|
List<UrlRewrite> |
getUrlRewrites()
URL rewrites list
|
String |
getUrlSuffix()
The part of the product URL that is appended after the url key
|
List<Website> |
getWebsites()
Deprecated.
The field should not be used on the storefront.
|
get, getAsArray, getAsBoolean, getAsDouble, getAsInteger, getAsStringString getGraphQlTypeName()
@Deprecated Integer getAttributeSetId()
String getCanonicalUrl()
List<CategoryInterface> getCategories()
Integer getColor()
String getCountryOfManufacture()
@Deprecated String getCreatedAt()
List<ProductInterface> getCrosssellProducts()
ComplexTextValue getDescription()
String getGiftMessageAvailable()
@Deprecated Integer getId()
ProductImage getImage()
String getIsReturnable()
Integer getManufacturer()
List<MediaGalleryInterface> getMediaGallery()
@Deprecated List<MediaGalleryEntry> getMediaGalleryEntries()
String getMetaDescription()
String getMetaKeyword()
String getMetaTitle()
String getName()
@Deprecated String getNewFromDate()
@Deprecated String getNewToDate()
Double getOnlyXLeftInStock()
String getOptionsContainer()
@Deprecated ProductPrices getPrice()
PriceRange getPriceRange()
List<ProductLinksInterface> getProductLinks()
Double getRatingSummary()
List<ProductInterface> getRelatedProducts()
Integer getReviewCount()
ProductReviews getReviews()
ComplexTextValue getShortDescription()
String getSku()
ProductImage getSmallImage()
@Deprecated String getSpecialFromDate()
Double getSpecialPrice()
String getSpecialToDate()
Boolean getStaged()
ProductStockStatus getStockStatus()
String getSwatchImage()
ProductImage getThumbnail()
@Deprecated Double getTierPrice()
@Deprecated List<ProductTierPrices> getTierPrices()
@Deprecated String getTypeId()
ID getUid()
@Deprecated String getUpdatedAt()
List<ProductInterface> getUpsellProducts()
String getUrlKey()
@Deprecated String getUrlPath()
List<UrlRewrite> getUrlRewrites()
String getUrlSuffix()
@Deprecated List<Website> getWebsites()
Copyright © 2022 Adobe. All rights reserved.