Package com.vonage.client.sms
Class SmsSubmissionResponseMessage
java.lang.Object
com.vonage.client.JsonableBaseObject
com.vonage.client.sms.SmsSubmissionResponseMessage
- All Implemented Interfaces:
Jsonable
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.vonage.client.JsonableBaseObject
createJsonObjectMapper, equals, hashCodeMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.vonage.client.Jsonable
toJson, updateFromJson
-
Constructor Details
-
SmsSubmissionResponseMessage
public SmsSubmissionResponseMessage()
-
-
Method Details
-
getTo
- Returns:
- The number the message was sent to. Numbers are specified in E.164 format.
-
getId
- Returns:
- The ID of the message.
-
getStatus
- Returns:
- The status of the message. A non-zero code (i.e. anything that isn't
MessageStatus.OKindicates an error. See Troubleshooting Failed SMS.
-
getErrorText
- Returns:
- The description of the error, if present.
-
getRemainingBalance
- Returns:
- Your estimated remaining balance.
-
getMessagePrice
- Returns:
- The estimated cost of the message.
-
getNetwork
- Returns:
- The estimated ID of the network of the recipient.
-
getClientRef
- Returns:
- If a client-ref was included when sending the SMS, this field will be included and hold the value that was sent.
-
getAccountRef
This is an advanced feature and requires activation via a support request before it can be used.- Returns:
- An optional string used to identify separate accounts using the SMS endpoint for billing purposes.
-
isTemporaryError
-
toString
- Overrides:
toStringin classJsonableBaseObject
-