public class RateCard extends APINode
| Modifier and Type | Field and Description |
|---|---|
protected static com.google.gson.Gson |
gson |
| Constructor and Description |
|---|
RateCard() |
| Modifier and Type | Method and Description |
|---|---|
RateCard |
copyFrom(RateCard instance) |
APIContext |
getContext() |
String |
getFieldCountry() |
String |
getFieldCurrency() |
Double |
getFieldRate() |
String |
getId() |
static APIRequest.ResponseParser<RateCard> |
getParser() |
static RateCard |
loadJSON(String json,
APIContext context) |
static APINodeList<RateCard> |
parseResponse(String json,
APIContext context,
APIRequest request) |
void |
setContext(APIContext context) |
RateCard |
setFieldCountry(String value) |
RateCard |
setFieldCurrency(String value) |
RateCard |
setFieldRate(Double value) |
String |
toString() |
getException, getRawResponse, getRawResponseAsJsonObject, getRawValue, head, parseResponsepublic static RateCard loadJSON(String json, APIContext context)
public static APINodeList<RateCard> 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 getFieldCountry()
public String getFieldCurrency()
public Double getFieldRate()
public static APIRequest.ResponseParser<RateCard> getParser()
Copyright © 2017. All rights reserved.