public class NewsletterResource extends BaseResource
| Modifier and Type | Method and Description |
|---|---|
NewsletterEntity |
createNewsletter(NewsletterEntity newsletter) |
void |
deleteNewsletter(Long newsletterId) |
NewsletterEntity |
getNewsletter(Long newsletterId) |
NewsletterEntity |
getNewsletterByCode(String code) |
NewslettersEntity |
getNewsletters(Pagination pagination) |
TagsEntity |
getTags() |
void |
sendTestEmail(Long newsletterId,
String email) |
void |
startNewsletter(Long newsletterId) |
void |
stopNewsletter(Long newsletterId) |
void |
updateNewsletter(NewsletterEntity newsletter) |
getConnectorpublic NewslettersEntity getNewsletters(Pagination pagination) throws ApiException, InvalidRequestException
ApiExceptionInvalidRequestExceptionpublic NewsletterEntity createNewsletter(NewsletterEntity newsletter) throws ApiException, InvalidRequestException
ApiExceptionInvalidRequestExceptionpublic TagsEntity getTags() throws InvalidRequestException, ApiException
InvalidRequestExceptionApiExceptionpublic NewsletterEntity getNewsletterByCode(String code) throws ApiException, InvalidRequestException
ApiExceptionInvalidRequestExceptionpublic NewsletterEntity getNewsletter(Long newsletterId) throws ApiException, InvalidRequestException
ApiExceptionInvalidRequestExceptionpublic void updateNewsletter(NewsletterEntity newsletter) throws ApiException, InvalidRequestException
ApiExceptionInvalidRequestExceptionpublic void deleteNewsletter(Long newsletterId) throws ApiException, InvalidRequestException
ApiExceptionInvalidRequestExceptionpublic void startNewsletter(Long newsletterId) throws ApiException, InvalidRequestException
ApiExceptionInvalidRequestExceptionpublic void stopNewsletter(Long newsletterId) throws ApiException, InvalidRequestException
ApiExceptionInvalidRequestExceptionpublic void sendTestEmail(Long newsletterId, String email) throws ApiException, InvalidRequestException
ApiExceptionInvalidRequestExceptionCopyright © 2016. All rights reserved.