public class ETTriggeredEmail extends ETSoapObject
ETTriggeredEmail
represents a Triggered Email
in the Salesforce Marketing Cloud. Triggered Emails are created
in the Marketing Cloud Email app under the Interactions menu:
Modifier and Type | Class and Description |
---|---|
static class |
ETTriggeredEmail.Status
Various Status that can be used
|
ETSoapObject.DataExtensionRowConverter, ETSoapObject.EnumConverter, ETSoapObject.ExternalObjectConverter, ETSoapObject.InternalObjectConverter
PAGE_SIZE
Constructor and Description |
---|
ETTriggeredEmail()
Class constructor, Initializes a new instance of the class.
|
create, delete, delete, fromInternal, getInternalProperties, getInternalProperty, retrieve, retrieve, retrieve, retrieve, toFilterPart, toInternal, update
getAllModified, getModified, setModified
getAllFields, getAllFields, getClient, getField, getField, setClient, toString
public ETTriggeredEmail()
public String getId()
getId
in class ETApiObject
public void setId(String id)
setId
in class ETApiObject
id
- The Identifier of the ETTriggeredEmail object.public String getKey()
public void setKey(String key)
key
- The Customer Key of the ETTriggeredEmail object.public String getName()
public void setName(String name)
name
- The name of the ETTriggeredEmail object.public String getDescription()
public void setDescription(String description)
description
- The description of the ETTriggeredEmail object.public Date getCreatedDate()
public void setCreatedDate(Date createdDate)
createdDate
- The created date of the ETTriggeredEmail object.public Date getModifiedDate()
public void setModifiedDate(Date modifiedDate)
modifiedDate
- The modified date of the ETTriggeredEmail object.public Integer getFolderId()
public void setFolderId(Integer folderId)
folderId
- The folder Id(category Id) of the ETTriggeredEmail object.public ETEmail getEmail()
public void setEmail(ETEmail email)
email
- The subject of the ETTriggeredEmail object.public ETList getList()
public void setList(ETList list)
list
- The ETList of the ETTriggeredEmail object.public ETDataExtension getDataExtension()
public void setDataExtension(ETDataExtension dataExtension)
dataExtension
- The ETDataExtension of the ETTriggeredEmail object.public String getSubject()
public void setSubject(String subject)
subject
- The subject of the ETTriggeredEmail object.public String getPriority()
public void setPriority(String priority)
priority
- The priority of the ETTriggeredEmail object.public ETTriggeredEmail.Status getStatus()
public void setStatus(ETTriggeredEmail.Status status)
status
- The Status of the ETTriggeredEmail object.public Boolean getAutoAddSubscribers()
public void setAutoAddSubscribers(Boolean autoAddSubscribers)
autoAddSubscribers
- true if auto add subscribers, false otherwise.public Boolean getAutoUpdateSubscribers()
public void setAutoUpdateSubscribers(Boolean autoUpdateSubscribers)
autoUpdateSubscribers
- true if auto update subscribers, false otherwise.public Boolean getIsMultipart()
public void setIsMultipart(Boolean isMultipart)
isMultipart
- true if ETTriggeredEmail is multi part, false otherwise.public Boolean getIsWrapped()
public void setIsWrapped(Boolean isWrapped)
isWrapped
- true if wrapped, false otherwise.public Boolean getSuppressTracking()
public void setSuppressTracking(Boolean suppressTracking)
suppressTracking
- true if suppress tracking, false otherwise.public SendClassification getSendClassification()
public void setSendClassification(SendClassification sendClassification)
sendClassification
- The send classification of the ETTriggeredEmail object.public ETResponse<ETTriggeredEmail> send(String... addresses) throws ETSdkException
addresses
- The addresses to where the triggered email will be send.ETSdkException
public ETResponse<ETTriggeredEmail> send(ETSubscriber... subscribers) throws ETSdkException
subscribers
- The subscribers to whom the triggered email will be send.ETSdkException
public ETResponse<ETTriggeredEmail> send(List<ETSubscriber> subscribers) throws ETSdkException
subscribers
- The List of subscribers to whom the triggered email will be send.ETSdkException
@Deprecated public String getCustomerKey()
getKey()
.@Deprecated public void setCustomerKey(String customerKey)
setKey()
.@Deprecated public Integer getCategoryId()
getFolderId()
.@Deprecated public void setCategoryId(Integer categoryId)
setFolderId()
.Copyright © 2017. All rights reserved.