Class BaseMessageRequest
java.lang.Object
esendex.sdk.java.model.domain.impl.BaseMessageRequest
- Direct Known Subclasses:
MessageCollectionRequest
,MessageRequest
A BaseMessageRequest is the base class for all Message requests whether
that is a collection or a single message.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetFrom()
void
setCharacterSet
(CharacterSet characterSet) void
Sets the alphanumeric originator for the message to appear to originate from.void
setMessageType
(MessageType messageType) void
setValidity
(Integer validity) Sets the validity period for a message in hours (defaults to 0 which indicates the MAX allowed).toString()
-
Constructor Details
-
BaseMessageRequest
-
-
Method Details
-
getMessageType
-
getFrom
-
getValidity
-
getCharacterSet
-
setCharacterSet
-
setFrom
Sets the alphanumeric originator for the message to appear to originate from.- Parameters:
from
- the originator
-
setValidity
Sets the validity period for a message in hours (defaults to 0 which indicates the MAX allowed).- Parameters:
validity
- the period in hours
-
setMessageType
-
toString
-