|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.hoiio.sdk.objects.HoiioResponse
com.hoiio.sdk.objects.voice.Call
public class Call
Constructor Summary | |
---|---|
Call(net.sf.json.JSONObject output)
Constructs a new Call object by decoding the JSONObject as a response from the HTTP Request |
Method Summary | |
---|---|
CallStatus |
getCallStatusDest1()
Gets the status of the call to dest1 |
CallStatus |
getCallStatusDest2()
Gets the status of the call to dest2 |
Currency |
getCurrency()
Gets the currency used for this transaction |
Date |
getDate()
Gets the Date/time of this transaction |
double |
getDebit()
Gets the total amount billed for this transaction |
String |
getDest1()
Gets the first number dialed in this transaction |
String |
getDest2()
Gets the second number dialed in this transaction |
int |
getDuration()
Gets the duration of the call in minutes |
double |
getRate()
Gets the per-minute charges for this transaction |
String |
getTag()
Gets your own reference ID submitted in the initial Call request |
String |
getTxnRef()
Gets the unique reference ID for this transaction |
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 |
---|
public Call(net.sf.json.JSONObject output) throws HoiioException
Call
object by decoding the JSONObject
as a response from the HTTP Request
output
- The response of the HTTP Request
HoiioException
Method Detail |
---|
public CallStatus getCallStatusDest1()
public CallStatus getCallStatusDest2()
public Currency getCurrency()
public Date getDate()
public double getDebit()
public String getDest1()
public String getDest2()
public int getDuration()
public double getRate()
public String getTag()
public String getTxnRef()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |