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,
String header) |
static APINodeList<ProductVariant> |
parseResponse(String json,
APIContext context,
APIRequest request,
String header) |
void |
setContext(APIContext context) |
ProductVariant |
setFieldLabel(String value) |
ProductVariant |
setFieldOptions(List<String> value) |
ProductVariant |
setFieldProductField(String value) |
String |
toString() |
getException, getHeader, getRawResponse, getRawResponseAsJsonObject, getRawValue, head, parseResponse
public static ProductVariant loadJSON(String json, APIContext context, String header)
public static APINodeList<ProductVariant> parseResponse(String json, APIContext context, APIRequest request, String header) throws APIException.MalformedResponseException
public APIContext getContext()
getContext
in class APINode
public void setContext(APIContext context)
setContext
in class APINode
public 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 © 2020. All rights reserved.