|
||||||||||
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.SmsRate
public class SmsRate
Constructor Summary | |
---|---|
SmsRate(net.sf.json.JSONObject output)
Constructs a new SmsRate object by decoding the JSONObject as a response from the HTTP Request |
Method Summary | |
---|---|
Currency |
getCurrency()
Gets the currency used for this rate amount |
double |
getRate()
Gets the charge per sms |
Integer |
getSplitCount()
Gets the number of multipart SMS that this message will be split into (only returned if msg parameter is included in the request) |
Double |
getTotalCost()
Gets the total amount that will be billed for sending this SMS (only returned if msg parameter is included in the request) |
Boolean |
isUnicode()
Returns whether the message content is unicode or not (only returned if the msg parameter is included in the request) |
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 SmsRate(net.sf.json.JSONObject output)
SmsRate
object by decoding the JSONObject
as a response from the HTTP Request
output
- The response of the HTTP RequestMethod Detail |
---|
public Currency getCurrency()
public Boolean isUnicode()
msg
parameter is included in the request)
public double getRate()
public Integer getSplitCount()
msg
parameter is included in the request)
public Double getTotalCost()
msg
parameter is included in the request)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |