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