com.hoiio.sdk.objects.fax
Class FaxRate

java.lang.Object
  extended by com.hoiio.sdk.objects.HoiioResponse
      extended by com.hoiio.sdk.objects.fax.FaxRate

public class FaxRate
extends HoiioResponse


Constructor Summary
FaxRate(net.sf.json.JSONObject output)
          Constructs a new FaxRate object by decoding the JSONObject as a response from the HTTP Request
 
Method Summary
 Currency getCurrency()
          Gets the currency used for the rate amount
 double getRate()
          Gets the per-minute rate for fax
 
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

FaxRate

public FaxRate(net.sf.json.JSONObject output)
Constructs a new FaxRate object by decoding the JSONObject as a response from the HTTP Request

Parameters:
output - The response of the HTTP Request
Method Detail

getCurrency

public Currency getCurrency()
Gets the currency used for the rate amount

Returns:
Currency used for the rate amount.

getRate

public double getRate()
Gets the per-minute rate for fax

Returns:
Billable per-minute rate.