|
||||||||||
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.sms.Sms
public class Sms
Constructor Summary | |
---|---|
Sms(net.sf.json.JSONObject output)
Constructs a new Sms object by decoding the JSONObject as a response from the HTTP Request |
Method Summary | |
---|---|
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 |
getDest()
Gets the recipient number of this transaction |
double |
getRate()
Gets the charge per sms for this transaction |
SmsStatus |
getSmsStatus()
Gets the status of the SMS delivery |
int |
getSplitCount()
Gets the number of nultipart SMS that this message has been split into |
String |
getTag()
Gets your reference ID submmited in the initial sms/send 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 Sms(net.sf.json.JSONObject output) throws HoiioException
Sms
object by decoding the JSONObject
as a response from the HTTP Request
output
- The response of the HTTP Request
HoiioException
Method Detail |
---|
public Currency getCurrency()
public double getDebit()
public Date getDate()
public String getDest()
public double getRate()
public SmsStatus getSmsStatus()
public int getSplitCount()
public String getTag()
public String getTxnRef()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |