public class ProductSet extends APINode
| Modifier and Type | Class and Description |
|---|---|
static class |
ProductSet.APIRequestDelete |
static class |
ProductSet.APIRequestGet |
static class |
ProductSet.APIRequestGetProducts |
static class |
ProductSet.APIRequestUpdate |
| Modifier and Type | Field and Description |
|---|---|
protected static com.google.gson.Gson |
gson |
| Constructor and Description |
|---|
ProductSet(Long id,
APIContext context) |
ProductSet(String id,
APIContext context) |
getException, getRawResponse, getRawResponseAsJsonObject, getRawValue, head, parseResponsepublic ProductSet(Long id, APIContext context)
public ProductSet(String id, APIContext context)
public ProductSet fetch() throws APIException
APIExceptionpublic static ProductSet fetchById(Long id, APIContext context) throws APIException
APIExceptionpublic static ProductSet fetchById(String id, APIContext context) throws APIException
APIExceptionpublic static APINodeList<ProductSet> fetchByIds(List<String> ids, List<String> fields, APIContext context) throws APIException
APIExceptionpublic static ProductSet loadJSON(String json, APIContext context)
public static APINodeList<ProductSet> 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 ProductSet.APIRequestGetProducts getProducts()
public ProductSet.APIRequestDelete delete()
public ProductSet.APIRequestGet get()
public ProductSet.APIRequestUpdate update()
public String getFieldAutoCreationUrl()
public String getFieldFilter()
public String getFieldId()
public String getFieldName()
public ProductCatalog getFieldProductCatalog()
public Long getFieldProductCount()
public ProductSet copyFrom(ProductSet instance)
public static APIRequest.ResponseParser<ProductSet> getParser()
Copyright © 2017. All rights reserved.