Package esendex.sdk.java.service
Interface SentService
- All Known Implementing Classes:
SentServiceImpl
public interface SentService
A SentService is a service for querying Sent messages.
All methods throw an EsendexException to indicate either a problem during
the underlying connection or there was a none okay response.
-
Method Summary
Modifier and TypeMethodDescriptiongetMessage
(String id) Gets the message.getMessages
(int pageNumber, int pageSize) Gets the messages.getMessages
(String account, int pageNumber, int pageSize) Gets the messages.
-
Method Details
-
getMessage
Gets the message.- Parameters:
id
- the id- Returns:
- the message
- Throws:
EsendexException
- the esendex exception
-
getMessages
Gets the messages.- Parameters:
pageNumber
- the page numberpageSize
- the page size- Returns:
- the messages
- Throws:
EsendexException
- the esendex exception
-
getMessages
SentMessageCollectionResponse getMessages(String account, int pageNumber, int pageSize) throws EsendexException Gets the messages.- Parameters:
account
- the accountpageNumber
- the page numberpageSize
- the page size- Returns:
- the messages
- Throws:
EsendexException
- the esendex exception
-