public class ProductItem extends APINode
| Modifier and Type | Class and Description |
|---|---|
static class |
ProductItem.APIRequestDelete |
static class |
ProductItem.APIRequestGet |
static class |
ProductItem.APIRequestGetProductSets |
static class |
ProductItem.APIRequestUpdate |
static class |
ProductItem.EnumAgeGroup |
static class |
ProductItem.EnumAvailability |
static class |
ProductItem.EnumCondition |
static class |
ProductItem.EnumGender |
static class |
ProductItem.EnumReviewStatus |
static class |
ProductItem.EnumShippingWeightUnit |
static class |
ProductItem.EnumVisibility |
| Modifier and Type | Field and Description |
|---|---|
protected static com.google.gson.Gson |
gson |
| Constructor and Description |
|---|
ProductItem(Long id,
APIContext context) |
ProductItem(String id,
APIContext context) |
getException, getRawResponse, getRawResponseAsJsonObject, getRawValue, head, parseResponsepublic ProductItem(Long id, APIContext context)
public ProductItem(String id, APIContext context)
public ProductItem fetch() throws APIException
APIExceptionpublic static ProductItem fetchById(Long id, APIContext context) throws APIException
APIExceptionpublic static ProductItem fetchById(String id, APIContext context) throws APIException
APIExceptionpublic static APINodeList<ProductItem> fetchByIds(List<String> ids, List<String> fields, APIContext context) throws APIException
APIExceptionpublic static ProductItem loadJSON(String json, APIContext context)
public static APINodeList<ProductItem> parseResponse(String json, APIContext context, APIRequest request) throws APIException.MalformedResponseException
public APIContext getContext()
getContext in class APINodepublic void setContext(APIContext context)
setContext in class APINodepublic ProductItem.APIRequestGetProductSets getProductSets()
public ProductItem.APIRequestDelete delete()
public ProductItem.APIRequestGet get()
public ProductItem.APIRequestUpdate update()
public ProductItem.EnumAgeGroup getFieldAgeGroup()
public AppLinks getFieldApplinks()
public ProductItem.EnumAvailability getFieldAvailability()
public String getFieldBrand()
public String getFieldCategory()
public String getFieldColor()
public ProductItemCommerceInsights getFieldCommerceInsights()
public ProductItem.EnumCondition getFieldCondition()
public String getFieldCurrency()
public String getFieldCustomLabel0()
public String getFieldCustomLabel1()
public String getFieldCustomLabel2()
public String getFieldCustomLabel3()
public String getFieldCustomLabel4()
public String getFieldDescription()
public String getFieldExpirationDate()
public ProductItem.EnumGender getFieldGender()
public String getFieldGtin()
public String getFieldId()
public String getFieldImageUrl()
public String getFieldManufacturerPartNumber()
public String getFieldMaterial()
public String getFieldName()
public Long getFieldOrderingIndex()
public String getFieldPattern()
public String getFieldPrice()
public ProductCatalog getFieldProductCatalog()
public ProductFeed getFieldProductFeed()
public ProductGroup getFieldProductGroup()
public String getFieldProductType()
public String getFieldRetailerId()
public String getFieldRetailerProductGroupId()
public ProductItem.EnumReviewStatus getFieldReviewStatus()
public String getFieldSalePrice()
public String getFieldSalePriceEndDate()
public String getFieldSalePriceStartDate()
public ProductItem.EnumShippingWeightUnit getFieldShippingWeightUnit()
public Double getFieldShippingWeightValue()
public String getFieldShortDescription()
public String getFieldSize()
public String getFieldStartDate()
public String getFieldUrl()
public ProductItem.EnumVisibility getFieldVisibility()
public ProductItem copyFrom(ProductItem instance)
public static APIRequest.ResponseParser<ProductItem> getParser()
Copyright © 2017. All rights reserved.