public class ProductVariant extends APINode
| Modifier and Type | Field and Description |
|---|---|
protected static com.google.gson.Gson |
gson |
| Constructor and Description |
|---|
ProductVariant() |
| Modifier and Type | Method and Description |
|---|---|
ProductVariant |
copyFrom(ProductVariant instance) |
APIContext |
getContext() |
String |
getFieldLabel() |
List<String> |
getFieldOptions() |
String |
getFieldProductField() |
String |
getId() |
static APIRequest.ResponseParser<ProductVariant> |
getParser() |
static ProductVariant |
loadJSON(String json,
APIContext context) |
static APINodeList<ProductVariant> |
parseResponse(String json,
APIContext context,
APIRequest request) |
void |
setContext(APIContext context) |
ProductVariant |
setFieldLabel(String value) |
ProductVariant |
setFieldOptions(List<String> value) |
ProductVariant |
setFieldProductField(String value) |
String |
toString() |
getException, getRawResponse, getRawResponseAsJsonObject, getRawValue, head, parseResponsepublic static ProductVariant loadJSON(String json, APIContext context)
public static APINodeList<ProductVariant> 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 String getFieldLabel()
public ProductVariant setFieldLabel(String value)
public ProductVariant setFieldOptions(List<String> value)
public String getFieldProductField()
public ProductVariant setFieldProductField(String value)
public ProductVariant copyFrom(ProductVariant instance)
public static APIRequest.ResponseParser<ProductVariant> getParser()
Copyright © 2018. All rights reserved.