com.hoiio.sdk.objects.number
Class NumberRate
java.lang.Object
com.hoiio.sdk.objects.HoiioResponse
com.hoiio.sdk.objects.number.NumberRate
public class NumberRate
- extends HoiioResponse
Constructor Summary |
NumberRate(net.sf.json.JSONObject output)
Constructs a new NumberRate object by decoding the JSONObject as a response from the HTTP Request |
NumberRate
public NumberRate(net.sf.json.JSONObject output)
- Constructs a new
NumberRate
object by decoding the JSONObject
as a response from the HTTP Request
- Parameters:
output
- The response of the HTTP Request
getCount
public int getCount()
- Gets the number of entries returned
- Returns:
- The number of entries returned in this response.
getCurrency
public Currency getCurrency()
- Gets the currency used in this response
- Returns:
- Currency used in this response.
getRateList
public List<Rate> getRateList()
- Gets the list of all the rates available for this country
- Returns:
- List of all the rates available for this country.