com.hoiio.sdk.objects.ivr
Class Dial

java.lang.Object
  extended by com.hoiio.sdk.objects.HoiioResponse
      extended by com.hoiio.sdk.objects.ivr.Dial

public class Dial
extends HoiioResponse


Constructor Summary
Dial(net.sf.json.JSONObject output)
          Constructs a new Dial object by decoding the JSONObject as a response from the HTTP Request
 
Method Summary
 String getSession()
          Gets a unique session ID for this transaction
 String getTxnRef()
          Gets a 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

Dial

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

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

getSession

public String getSession()
Gets a unique session ID for this transaction

Returns:
A unique session ID for this particular call. Include this session in your subsequent requests to select what action to take next.

getTxnRef

public String getTxnRef()
Gets a unique reference ID for this transaction

Returns:
A unique reference ID for this call transaction. This parameter will not be present if the request was not successful.