com.hoiio.sdk.objects.fax
Class FaxRate
java.lang.Object
com.hoiio.sdk.objects.HoiioResponse
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 |
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
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.