com.hoiio.sdk.objects.number
Class SupportedCountry

java.lang.Object
  extended by com.hoiio.sdk.objects.HoiioResponse
      extended by com.hoiio.sdk.objects.number.SupportedCountry

public class SupportedCountry
extends HoiioResponse


Constructor Summary
SupportedCountry(net.sf.json.JSONObject output)
          Constructs a new SupportedCountry object by decoding the JSONObject as a response from the HTTP Request
 
Method Summary
 int getCount()
          Gets the number supported countries returned in this response
 List<Country> getCountryList()
          Gets the list of supported countries
 
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

SupportedCountry

public SupportedCountry(net.sf.json.JSONObject output)
Constructs a new SupportedCountry 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 supported countries returned in this response

Returns:
The number of supported countries returned in this response.

getCountryList

public List<Country> getCountryList()
Gets the list of supported countries

Returns:
List of supported countries