com.hoiio.sdk.objects.number
Class NumberRate

java.lang.Object
  extended by com.hoiio.sdk.objects.HoiioResponse
      extended by 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
 
Method Summary
 int getCount()
          Gets the number of entries returned
 Currency getCurrency()
          Gets the currency used in this response
 List<Rate> getRateList()
          Gets the list of all the rates available for this country
 
Methods inherited from class com.hoiio.sdk.objects.HoiioResponse
getContent
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

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
Method Detail

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.