public class SimpleProduct extends AbstractResponse<SimpleProduct> implements CustomizableProductInterface, PhysicalProductInterface, ProductInterface
optimisticData, responseData| Constructor and Description |
|---|
SimpleProduct() |
SimpleProduct(com.google.gson.JsonObject fields) |
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 SimpleProduct()
public SimpleProduct(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 SimpleProduct setAttributeSetId(Integer arg)
public String getCanonicalUrl()
getCanonicalUrl in interface ProductInterfacepublic SimpleProduct setCanonicalUrl(String arg)
public List<CategoryInterface> getCategories()
getCategories in interface ProductInterfacepublic SimpleProduct setCategories(List<CategoryInterface> arg)
public Integer getColor()
getColor in interface ProductInterfacepublic SimpleProduct setColor(Integer arg)
public String getCountryOfManufacture()
getCountryOfManufacture in interface ProductInterfacepublic SimpleProduct setCountryOfManufacture(String arg)
@Deprecated public String getCreatedAt()
getCreatedAt in interface ProductInterfacepublic SimpleProduct setCreatedAt(String arg)
public List<ProductInterface> getCrosssellProducts()
getCrosssellProducts in interface ProductInterfacepublic SimpleProduct setCrosssellProducts(List<ProductInterface> arg)
public ComplexTextValue getDescription()
getDescription in interface ProductInterfacepublic SimpleProduct setDescription(ComplexTextValue arg)
public String getGiftMessageAvailable()
getGiftMessageAvailable in interface ProductInterfacepublic SimpleProduct setGiftMessageAvailable(String arg)
@Deprecated public Integer getId()
getId in interface ProductInterfacepublic SimpleProduct setId(Integer arg)
public ProductImage getImage()
getImage in interface ProductInterfacepublic SimpleProduct setImage(ProductImage arg)
public String getIsReturnable()
getIsReturnable in interface ProductInterfacepublic SimpleProduct setIsReturnable(String arg)
public Integer getManufacturer()
getManufacturer in interface ProductInterfacepublic SimpleProduct setManufacturer(Integer arg)
public List<MediaGalleryInterface> getMediaGallery()
getMediaGallery in interface ProductInterfacepublic SimpleProduct setMediaGallery(List<MediaGalleryInterface> arg)
@Deprecated public List<MediaGalleryEntry> getMediaGalleryEntries()
getMediaGalleryEntries in interface ProductInterfacepublic SimpleProduct setMediaGalleryEntries(List<MediaGalleryEntry> arg)
public String getMetaDescription()
getMetaDescription in interface ProductInterfacepublic SimpleProduct setMetaDescription(String arg)
public String getMetaKeyword()
getMetaKeyword in interface ProductInterfacepublic SimpleProduct setMetaKeyword(String arg)
public String getMetaTitle()
getMetaTitle in interface ProductInterfacepublic SimpleProduct setMetaTitle(String arg)
public String getName()
getName in interface ProductInterfacepublic SimpleProduct setName(String arg)
@Deprecated public String getNewFromDate()
getNewFromDate in interface ProductInterfacepublic SimpleProduct setNewFromDate(String arg)
@Deprecated public String getNewToDate()
getNewToDate in interface ProductInterfacepublic SimpleProduct setNewToDate(String arg)
public Double getOnlyXLeftInStock()
getOnlyXLeftInStock in interface ProductInterfacepublic SimpleProduct setOnlyXLeftInStock(Double arg)
public List<CustomizableOptionInterface> getOptions()
getOptions in interface CustomizableProductInterfacepublic SimpleProduct setOptions(List<CustomizableOptionInterface> arg)
public String getOptionsContainer()
getOptionsContainer in interface ProductInterfacepublic SimpleProduct setOptionsContainer(String arg)
@Deprecated public ProductPrices getPrice()
getPrice in interface ProductInterfacepublic SimpleProduct setPrice(ProductPrices arg)
public PriceRange getPriceRange()
getPriceRange in interface ProductInterfacepublic SimpleProduct setPriceRange(PriceRange arg)
public List<TierPrice> getPriceTiers()
getPriceTiers in interface ProductInterfacepublic SimpleProduct setPriceTiers(List<TierPrice> arg)
public List<ProductLinksInterface> getProductLinks()
getProductLinks in interface ProductInterfacepublic SimpleProduct setProductLinks(List<ProductLinksInterface> arg)
public Double getRatingSummary()
getRatingSummary in interface ProductInterfacepublic SimpleProduct setRatingSummary(Double arg)
public List<ProductInterface> getRelatedProducts()
getRelatedProducts in interface ProductInterfacepublic SimpleProduct setRelatedProducts(List<ProductInterface> arg)
public Integer getReviewCount()
getReviewCount in interface ProductInterfacepublic SimpleProduct setReviewCount(Integer arg)
public ProductReviews getReviews()
getReviews in interface ProductInterfacepublic SimpleProduct setReviews(ProductReviews arg)
public ComplexTextValue getShortDescription()
getShortDescription in interface ProductInterfacepublic SimpleProduct setShortDescription(ComplexTextValue arg)
public String getSku()
getSku in interface ProductInterfacepublic SimpleProduct setSku(String arg)
public ProductImage getSmallImage()
getSmallImage in interface ProductInterfacepublic SimpleProduct setSmallImage(ProductImage arg)
@Deprecated public String getSpecialFromDate()
getSpecialFromDate in interface ProductInterfacepublic SimpleProduct setSpecialFromDate(String arg)
public Double getSpecialPrice()
getSpecialPrice in interface ProductInterfacepublic SimpleProduct setSpecialPrice(Double arg)
public String getSpecialToDate()
getSpecialToDate in interface ProductInterfacepublic SimpleProduct setSpecialToDate(String arg)
public Boolean getStaged()
getStaged in interface ProductInterfacepublic SimpleProduct setStaged(Boolean arg)
public ProductStockStatus getStockStatus()
getStockStatus in interface ProductInterfacepublic SimpleProduct setStockStatus(ProductStockStatus arg)
public String getSwatchImage()
getSwatchImage in interface ProductInterfacepublic SimpleProduct setSwatchImage(String arg)
public ProductImage getThumbnail()
getThumbnail in interface ProductInterfacepublic SimpleProduct setThumbnail(ProductImage arg)
@Deprecated public Double getTierPrice()
getTierPrice in interface ProductInterfacepublic SimpleProduct setTierPrice(Double arg)
@Deprecated public List<ProductTierPrices> getTierPrices()
getTierPrices in interface ProductInterfacepublic SimpleProduct setTierPrices(List<ProductTierPrices> arg)
@Deprecated public String getTypeId()
getTypeId in interface ProductInterfacepublic SimpleProduct setTypeId(String arg)
public ID getUid()
getUid in interface ProductInterfacepublic SimpleProduct setUid(ID arg)
@Deprecated public String getUpdatedAt()
getUpdatedAt in interface ProductInterfacepublic SimpleProduct setUpdatedAt(String arg)
public List<ProductInterface> getUpsellProducts()
getUpsellProducts in interface ProductInterfacepublic SimpleProduct setUpsellProducts(List<ProductInterface> arg)
public String getUrlKey()
getUrlKey in interface ProductInterfacepublic SimpleProduct setUrlKey(String arg)
@Deprecated public String getUrlPath()
getUrlPath in interface ProductInterfacepublic SimpleProduct setUrlPath(String arg)
public List<UrlRewrite> getUrlRewrites()
getUrlRewrites in interface ProductInterfacepublic SimpleProduct setUrlRewrites(List<UrlRewrite> arg)
public String getUrlSuffix()
getUrlSuffix in interface ProductInterfacepublic SimpleProduct setUrlSuffix(String arg)
@Deprecated public List<Website> getWebsites()
getWebsites in interface ProductInterfacepublic SimpleProduct setWebsites(List<Website> arg)
public Double getWeight()
getWeight in interface PhysicalProductInterfacepublic SimpleProduct setWeight(Double arg)
public boolean unwrapsToObject(String key)
unwrapsToObject in class AbstractResponse<SimpleProduct>Copyright © 2022 Adobe. All rights reserved.