public class ETSubscriber extends ETSoapObject
ETSubscriber object represents an email subscriber
in the Salesforce Marketing Cloud.| Modifier and Type | Class and Description |
|---|---|
static class |
ETSubscriber.Status
Subscriber Status that can be used
|
ETSoapObject.DataExtensionRowConverter, ETSoapObject.EnumConverter, ETSoapObject.ExternalObjectConverter, ETSoapObject.InternalObjectConverter| Modifier and Type | Field and Description |
|---|---|
protected List<ETProfileAttribute> |
attributes |
protected List<ETSubscriberList> |
lists |
PAGE_SIZE| Constructor and Description |
|---|
ETSubscriber()
Class constructor, Initializes a new instance of the class.
|
| Modifier and Type | Method and Description |
|---|---|
List<ETProfileAttribute> |
getAttributes() |
Date |
getCreatedDate() |
String |
getEmailAddress() |
String |
getId() |
String |
getKey() |
List<ETSubscriberList> |
getLists() |
Date |
getModifiedDate() |
ETEmail.Type |
getPreferredEmailType() |
ETSubscriber.Status |
getStatus() |
String |
getSubscriberKey()
Deprecated.
Use
getKey(). |
Date |
getUnsubscribedDate() |
void |
setAttributes(List<ETProfileAttribute> attribs) |
void |
setCreatedDate(Date createdDate) |
void |
setEmailAddress(String emailAddress) |
void |
setId(String id) |
void |
setKey(String key) |
void |
setModifiedDate(Date modifiedDate) |
void |
setPreferredEmailType(ETEmail.Type preferredEmailType) |
void |
setStatus(ETSubscriber.Status status) |
void |
setSubscriberKey(String subscriberKey)
Deprecated.
Use
setKey(). |
void |
setUnsubscribedDate(Date unsubscribedDate) |
create, delete, delete, fromInternal, getInternalProperties, getInternalProperty, retrieve, retrieve, retrieve, retrieve, toFilterPart, toInternal, updategetAllModified, getModified, setModifiedgetAllFields, getAllFields, getClient, getField, getField, setClient, toStringprotected List<ETSubscriberList> lists
protected List<ETProfileAttribute> attributes
public ETSubscriber()
public String getId()
getId in class ETApiObjectpublic void setId(String id)
setId in class ETApiObjectid - The Identifier of the ETSubscriber object.public String getKey()
public void setKey(String key)
key - The Customer Key of the ETSubscriber object.public Date getCreatedDate()
public void setCreatedDate(Date createdDate)
createdDate - The created date of the ETSubscriber object.public Date getModifiedDate()
public void setModifiedDate(Date modifiedDate)
modifiedDate - The modified date of the ETSubscriber object.public String getEmailAddress()
public void setEmailAddress(String emailAddress)
emailAddress - The email address of the ETSubscriber object.public ETEmail.Type getPreferredEmailType()
ETEmail.Typepublic void setPreferredEmailType(ETEmail.Type preferredEmailType)
preferredEmailType - The preferred email type of the ETSubscriber object.
ETEmail.Typepublic ETSubscriber.Status getStatus()
ETSubscriber.Statuspublic void setStatus(ETSubscriber.Status status)
status - The status of the ETSubscriber object.
ETSubscriber.Statuspublic Date getUnsubscribedDate()
public void setUnsubscribedDate(Date unsubscribedDate)
unsubscribedDate - The unsubscribed date of the ETSubscriber object.public List<ETSubscriberList> getLists()
ETSubscriberList of this ETSubscriber object.public List<ETProfileAttribute> getAttributes()
public void setAttributes(List<ETProfileAttribute> attribs)
@Deprecated public String getSubscriberKey()
getKey().@Deprecated public void setSubscriberKey(String subscriberKey)
setKey().Copyright © 2017. All rights reserved.