public class BundleProduct extends AbstractResponse<BundleProduct> implements CustomizableProductInterface, PhysicalProductInterface, ProductInterface
optimisticData, responseData| Constructor and Description |
|---|
BundleProduct() |
BundleProduct(com.google.gson.JsonObject fields) |
| 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.
|
Boolean |
getDynamicPrice()
Indicates whether the bundle product has a dynamic price.
|
Boolean |
getDynamicSku()
Indicates whether the bundle product has a dynamic SK.
|
Boolean |
getDynamicWeight()
Indicates whether the bundle product has a dynamically calculated weight.
|
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
|
List<BundleItem> |
getItems()
An array containing information about individual bundle items.
|
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
|
List<CustomizableOptionInterface> |
getOptions()
An array of options for a customizable product.
|
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.
|
PriceViewEnum |
getPriceView()
One of PRICE_RANGE or AS_LOW_AS.
|
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.
|
ShipBundleItemsEnum |
getShipBundleItems()
Indicates whether to ship bundle items together or individually.
|
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.
|
Double |
getWeight()
The weight of the item, in units defined by the store.
|
BundleProduct |
setAttributeSetId(Integer arg) |
BundleProduct |
setCanonicalUrl(String arg) |
BundleProduct |
setCategories(List<CategoryInterface> arg) |
BundleProduct |
setColor(Integer arg) |
BundleProduct |
setCountryOfManufacture(String arg) |
BundleProduct |
setCreatedAt(String arg) |
BundleProduct |
setCrosssellProducts(List<ProductInterface> arg) |
BundleProduct |
setDescription(ComplexTextValue arg) |
BundleProduct |
setDynamicPrice(Boolean arg) |
BundleProduct |
setDynamicSku(Boolean arg) |
BundleProduct |
setDynamicWeight(Boolean arg) |
BundleProduct |
setGiftMessageAvailable(String arg) |
BundleProduct |
setId(Integer arg) |
BundleProduct |
setImage(ProductImage arg) |
BundleProduct |
setIsReturnable(String arg) |
BundleProduct |
setItems(List<BundleItem> arg) |
BundleProduct |
setManufacturer(Integer arg) |
BundleProduct |
setMediaGallery(List<MediaGalleryInterface> arg) |
BundleProduct |
setMediaGalleryEntries(List<MediaGalleryEntry> arg) |
BundleProduct |
setMetaDescription(String arg) |
BundleProduct |
setMetaKeyword(String arg) |
BundleProduct |
setMetaTitle(String arg) |
BundleProduct |
setName(String arg) |
BundleProduct |
setNewFromDate(String arg) |
BundleProduct |
setNewToDate(String arg) |
BundleProduct |
setOnlyXLeftInStock(Double arg) |
BundleProduct |
setOptions(List<CustomizableOptionInterface> arg) |
BundleProduct |
setOptionsContainer(String arg) |
BundleProduct |
setPrice(ProductPrices arg) |
BundleProduct |
setPriceRange(PriceRange arg) |
BundleProduct |
setPriceTiers(List<TierPrice> arg) |
BundleProduct |
setPriceView(PriceViewEnum arg) |
BundleProduct |
setProductLinks(List<ProductLinksInterface> arg) |
BundleProduct |
setRatingSummary(Double arg) |
BundleProduct |
setRelatedProducts(List<ProductInterface> arg) |
BundleProduct |
setReviewCount(Integer arg) |
BundleProduct |
setReviews(ProductReviews arg) |
BundleProduct |
setShipBundleItems(ShipBundleItemsEnum arg) |
BundleProduct |
setShortDescription(ComplexTextValue arg) |
BundleProduct |
setSku(String arg) |
BundleProduct |
setSmallImage(ProductImage arg) |
BundleProduct |
setSpecialFromDate(String arg) |
BundleProduct |
setSpecialPrice(Double arg) |
BundleProduct |
setSpecialToDate(String arg) |
BundleProduct |
setStaged(Boolean arg) |
BundleProduct |
setStockStatus(ProductStockStatus arg) |
BundleProduct |
setSwatchImage(String arg) |
BundleProduct |
setThumbnail(ProductImage arg) |
BundleProduct |
setTierPrice(Double arg) |
BundleProduct |
setTierPrices(List<ProductTierPrices> arg) |
BundleProduct |
setTypeId(String arg) |
BundleProduct |
setUid(ID arg) |
BundleProduct |
setUpdatedAt(String arg) |
BundleProduct |
setUpsellProducts(List<ProductInterface> arg) |
BundleProduct |
setUrlKey(String arg) |
BundleProduct |
setUrlPath(String arg) |
BundleProduct |
setUrlRewrites(List<UrlRewrite> arg) |
BundleProduct |
setUrlSuffix(String arg) |
BundleProduct |
setWebsites(List<Website> arg) |
BundleProduct |
setWeight(Double arg) |
boolean |
unwrapsToObject(String key) |
collectNodes, get, getAsArray, getAsBoolean, getAsDouble, getAsInteger, getAsString, getFieldName, getKey, jsonAsArray, jsonAsBoolean, jsonAsDouble, jsonAsInteger, jsonAsObject, jsonAsString, readCustomField, withAliasclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitget, getAsArray, getAsBoolean, getAsDouble, getAsInteger, getAsStringpublic BundleProduct()
public BundleProduct(com.google.gson.JsonObject fields)
throws SchemaViolationError
SchemaViolationErrorpublic String getGraphQlTypeName()
getGraphQlTypeName in interface CustomizableProductInterfacegetGraphQlTypeName in interface PhysicalProductInterfacegetGraphQlTypeName in interface ProductInterface@Deprecated public Integer getAttributeSetId()
getAttributeSetId in interface ProductInterfacepublic BundleProduct setAttributeSetId(Integer arg)
public String getCanonicalUrl()
getCanonicalUrl in interface ProductInterfacepublic BundleProduct setCanonicalUrl(String arg)
public List<CategoryInterface> getCategories()
getCategories in interface ProductInterfacepublic BundleProduct setCategories(List<CategoryInterface> arg)
public Integer getColor()
getColor in interface ProductInterfacepublic BundleProduct setColor(Integer arg)
public String getCountryOfManufacture()
getCountryOfManufacture in interface ProductInterfacepublic BundleProduct setCountryOfManufacture(String arg)
@Deprecated public String getCreatedAt()
getCreatedAt in interface ProductInterfacepublic BundleProduct setCreatedAt(String arg)
public List<ProductInterface> getCrosssellProducts()
getCrosssellProducts in interface ProductInterfacepublic BundleProduct setCrosssellProducts(List<ProductInterface> arg)
public ComplexTextValue getDescription()
getDescription in interface ProductInterfacepublic BundleProduct setDescription(ComplexTextValue arg)
public Boolean getDynamicPrice()
public BundleProduct setDynamicPrice(Boolean arg)
public Boolean getDynamicSku()
public BundleProduct setDynamicSku(Boolean arg)
public Boolean getDynamicWeight()
public BundleProduct setDynamicWeight(Boolean arg)
public String getGiftMessageAvailable()
getGiftMessageAvailable in interface ProductInterfacepublic BundleProduct setGiftMessageAvailable(String arg)
@Deprecated public Integer getId()
getId in interface ProductInterfacepublic BundleProduct setId(Integer arg)
public ProductImage getImage()
getImage in interface ProductInterfacepublic BundleProduct setImage(ProductImage arg)
public String getIsReturnable()
getIsReturnable in interface ProductInterfacepublic BundleProduct setIsReturnable(String arg)
public List<BundleItem> getItems()
public BundleProduct setItems(List<BundleItem> arg)
public Integer getManufacturer()
getManufacturer in interface ProductInterfacepublic BundleProduct setManufacturer(Integer arg)
public List<MediaGalleryInterface> getMediaGallery()
getMediaGallery in interface ProductInterfacepublic BundleProduct setMediaGallery(List<MediaGalleryInterface> arg)
@Deprecated public List<MediaGalleryEntry> getMediaGalleryEntries()
getMediaGalleryEntries in interface ProductInterfacepublic BundleProduct setMediaGalleryEntries(List<MediaGalleryEntry> arg)
public String getMetaDescription()
getMetaDescription in interface ProductInterfacepublic BundleProduct setMetaDescription(String arg)
public String getMetaKeyword()
getMetaKeyword in interface ProductInterfacepublic BundleProduct setMetaKeyword(String arg)
public String getMetaTitle()
getMetaTitle in interface ProductInterfacepublic BundleProduct setMetaTitle(String arg)
public String getName()
getName in interface ProductInterfacepublic BundleProduct setName(String arg)
@Deprecated public String getNewFromDate()
getNewFromDate in interface ProductInterfacepublic BundleProduct setNewFromDate(String arg)
@Deprecated public String getNewToDate()
getNewToDate in interface ProductInterfacepublic BundleProduct setNewToDate(String arg)
public Double getOnlyXLeftInStock()
getOnlyXLeftInStock in interface ProductInterfacepublic BundleProduct setOnlyXLeftInStock(Double arg)
public List<CustomizableOptionInterface> getOptions()
getOptions in interface CustomizableProductInterfacepublic BundleProduct setOptions(List<CustomizableOptionInterface> arg)
public String getOptionsContainer()
getOptionsContainer in interface ProductInterfacepublic BundleProduct setOptionsContainer(String arg)
@Deprecated public ProductPrices getPrice()
getPrice in interface ProductInterfacepublic BundleProduct setPrice(ProductPrices arg)
public PriceRange getPriceRange()
getPriceRange in interface ProductInterfacepublic BundleProduct setPriceRange(PriceRange arg)
public List<TierPrice> getPriceTiers()
getPriceTiers in interface ProductInterfacepublic BundleProduct setPriceTiers(List<TierPrice> arg)
public PriceViewEnum getPriceView()
public BundleProduct setPriceView(PriceViewEnum arg)
public List<ProductLinksInterface> getProductLinks()
getProductLinks in interface ProductInterfacepublic BundleProduct setProductLinks(List<ProductLinksInterface> arg)
public Double getRatingSummary()
getRatingSummary in interface ProductInterfacepublic BundleProduct setRatingSummary(Double arg)
public List<ProductInterface> getRelatedProducts()
getRelatedProducts in interface ProductInterfacepublic BundleProduct setRelatedProducts(List<ProductInterface> arg)
public Integer getReviewCount()
getReviewCount in interface ProductInterfacepublic BundleProduct setReviewCount(Integer arg)
public ProductReviews getReviews()
getReviews in interface ProductInterfacepublic BundleProduct setReviews(ProductReviews arg)
public ShipBundleItemsEnum getShipBundleItems()
public BundleProduct setShipBundleItems(ShipBundleItemsEnum arg)
public ComplexTextValue getShortDescription()
getShortDescription in interface ProductInterfacepublic BundleProduct setShortDescription(ComplexTextValue arg)
public String getSku()
getSku in interface ProductInterfacepublic BundleProduct setSku(String arg)
public ProductImage getSmallImage()
getSmallImage in interface ProductInterfacepublic BundleProduct setSmallImage(ProductImage arg)
@Deprecated public String getSpecialFromDate()
getSpecialFromDate in interface ProductInterfacepublic BundleProduct setSpecialFromDate(String arg)
public Double getSpecialPrice()
getSpecialPrice in interface ProductInterfacepublic BundleProduct setSpecialPrice(Double arg)
public String getSpecialToDate()
getSpecialToDate in interface ProductInterfacepublic BundleProduct setSpecialToDate(String arg)
public Boolean getStaged()
getStaged in interface ProductInterfacepublic BundleProduct setStaged(Boolean arg)
public ProductStockStatus getStockStatus()
getStockStatus in interface ProductInterfacepublic BundleProduct setStockStatus(ProductStockStatus arg)
public String getSwatchImage()
getSwatchImage in interface ProductInterfacepublic BundleProduct setSwatchImage(String arg)
public ProductImage getThumbnail()
getThumbnail in interface ProductInterfacepublic BundleProduct setThumbnail(ProductImage arg)
@Deprecated public Double getTierPrice()
getTierPrice in interface ProductInterfacepublic BundleProduct setTierPrice(Double arg)
@Deprecated public List<ProductTierPrices> getTierPrices()
getTierPrices in interface ProductInterfacepublic BundleProduct setTierPrices(List<ProductTierPrices> arg)
@Deprecated public String getTypeId()
getTypeId in interface ProductInterfacepublic BundleProduct setTypeId(String arg)
public ID getUid()
getUid in interface ProductInterfacepublic BundleProduct setUid(ID arg)
@Deprecated public String getUpdatedAt()
getUpdatedAt in interface ProductInterfacepublic BundleProduct setUpdatedAt(String arg)
public List<ProductInterface> getUpsellProducts()
getUpsellProducts in interface ProductInterfacepublic BundleProduct setUpsellProducts(List<ProductInterface> arg)
public String getUrlKey()
getUrlKey in interface ProductInterfacepublic BundleProduct setUrlKey(String arg)
@Deprecated public String getUrlPath()
getUrlPath in interface ProductInterfacepublic BundleProduct setUrlPath(String arg)
public List<UrlRewrite> getUrlRewrites()
getUrlRewrites in interface ProductInterfacepublic BundleProduct setUrlRewrites(List<UrlRewrite> arg)
public String getUrlSuffix()
getUrlSuffix in interface ProductInterfacepublic BundleProduct setUrlSuffix(String arg)
@Deprecated public List<Website> getWebsites()
getWebsites in interface ProductInterfacepublic BundleProduct setWebsites(List<Website> arg)
public Double getWeight()
getWeight in interface PhysicalProductInterfacepublic BundleProduct setWeight(Double arg)
public boolean unwrapsToObject(String key)
unwrapsToObject in class AbstractResponse<BundleProduct>Copyright © 2022 Adobe. All rights reserved.