com.alogient.cameleon.sdk.community.interspire.jaxb.Details Maven / Gradle / Ivy
The newest version!
package com.alogient.cameleon.sdk.community.interspire.jaxb;
import com.alogient.cameleon.sdk.community.interspire.jaxb.type.EmailFormat;
import com.alogient.cameleon.sdk.community.interspire.jaxb.type.Confirmed;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
/**
* Required
*
* User: jmirc
* Date: 27-Jan-2010
* Time: 9:08:11 AM
*/
@XmlRootElement(name = "details")
public class Details {
/**
* The email address of the context being added
*/
@XmlElement(name = "emailaddress")
private String emailAddress;
/**
* The list that the contact is located within
*/
@XmlElement(name = "mailinglist")
private String mailingList;
/**
* Sets the confirmation status of the subscriber to confirmed or not
*/
@XmlElement(name = "confirmed")
private Confirmed confirmed;
/**
* The format of the email compaigns that this contact prefers to receive
*/
@XmlElement(name = "format")
private EmailFormat emailFormat;
/**
* The format of the email compaigns that this contact prefers to receive
*/
@XmlElement(name = "list")
private String listNumber;
/**
* Set a list of custum fields
*/
@XmlElement(name = "customfields")
private CustomFields customFields;
public void setEmailAddress(String emailAddress) {
this.emailAddress = emailAddress;
}
public void setMailingList(String mailingList) {
this.mailingList = mailingList;
}
public void setConfirmed(Confirmed confirmed) {
this.confirmed = confirmed;
}
public void setEmailFormat(EmailFormat emailFormat) {
this.emailFormat = emailFormat;
}
public void setListNumber(String listNumber) {
this.listNumber = listNumber;
}
public void addItem(Item item) {
if (customFields == null) {
customFields = new CustomFields();
}
customFields.addItem(item);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy