public class InboundSMSMessage extends Object implements Serializable
| Constructor and Description |
|---|
InboundSMSMessage() |
| Modifier and Type | Method and Description |
|---|---|
String |
getCallbackData() |
Date |
getDateTime()
return the date/time that the SMS message was sent.
|
Date |
getDateTimeAsDate()
alternate method to get the message date/time in java.util.Date format
|
String |
getDestinationAddress()
return the recipient MSISDN or other identifying number
|
String |
getMessage()
return the SMS message body
|
String |
getMessageId()
return the unique messageId for the message
|
String |
getMoResponseKey() |
int |
getMoSessionId() |
double |
getPrice() |
String |
getResourceURL()
return resourceURL containing a URL uniquely identifying this SMS message
|
String |
getSenderAddress()
return the sender MSISDN or other identifying number
|
void |
setCallbackData(String callbackData) |
void |
setDateTime(Date dateTime)
set the date/time that the SMS message was sent.
|
void |
setDestinationAddress(String destinationAddress)
set the recipient MSISDN or other identifying number.
|
void |
setMessage(String message)
set the SMS message body.
|
void |
setMessageId(String messageId)
set the unique messageId for the SMS message.
|
void |
setMoResponseKey(String moResponseKey) |
void |
setMoSessionId(int moSessionId) |
void |
setPrice(double price) |
void |
setResourceURL(String resourceURL)
set resourceURL containing a URL uniquely identifying this SMS message.
|
void |
setSenderAddress(String senderAddress)
set the sender MSISDN or other identifying number.
|
String |
toString()
generate a textual representation of the InboundMessage including all
nested elements and classes
|
public Date getDateTime()
public String getDestinationAddress()
public String getMessageId()
public String getMessage()
public String getResourceURL()
public String getSenderAddress()
public Date getDateTimeAsDate()
public void setDateTime(Date dateTime)
public void setDestinationAddress(String destinationAddress)
public void setMessageId(String messageId)
public void setMessage(String message)
public void setResourceURL(String resourceURL)
public void setSenderAddress(String senderAddress)
public int getMoSessionId()
public void setMoSessionId(int moSessionId)
public String getMoResponseKey()
public void setMoResponseKey(String moResponseKey)
public String getCallbackData()
public void setCallbackData(String callbackData)
public double getPrice()
public void setPrice(double price)
Copyright © 2014. All rights reserved.