All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.trustev.domain.entities.Email Maven / Gradle / Ivy

There is a newer version: 2.0.14
Show newest version
package com.trustev.domain.entities;
import org.codehaus.jackson.annotate.JsonProperty;
import org.codehaus.jackson.map.annotate.JsonSerialize;

/**
 * The Email object
 */
@JsonSerialize(include=JsonSerialize.Inclusion.NON_NULL)
public class Email extends BaseObject {
	private String emailAddress;
	private boolean isDefault;
	
		
	/**
	 * @return Email Address of the Customer
	 */
	public String getEmailAddress() {
		return emailAddress;
	}
	
	/**
	 * @param emailAddress Email Address of the Customer
	 */
	@JsonProperty("EmailAddress")
	public void setEmailAddress(String emailAddress) {
		this.emailAddress = emailAddress;
	}
	
	/**
	 * @return Is this is the default Email for the Customer?
	 */
	public boolean isDefault() {
		return isDefault;
	}
	
	/**
	 * 
	 * @param isDefault Is this is the default Email for the Customer?
	 */
	@JsonProperty("IsDefault")
	public void setDefault(boolean isDefault) {
		this.isDefault = isDefault;
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy