package com.microsoft.bingads.customermanagement;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
/**
* <p>Java class for ContactInfo complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* <complexType name="ContactInfo">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="Address" type="{https://bingads.microsoft.com/Customer/v9/Entities}Address" minOccurs="0"/>
* <element name="ContactByPhone" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
* <element name="ContactByPostalMail" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
* <element name="Email" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="EmailFormat" type="{https://bingads.microsoft.com/Customer/v9/Entities}EmailFormat" minOccurs="0"/>
* <element name="Fax" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="HomePhone" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="Id" type="{http://www.w3.org/2001/XMLSchema}long" minOccurs="0"/>
* <element name="Mobile" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="Phone1" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="Phone2" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "ContactInfo", namespace = "https://bingads.microsoft.com/Customer/v9/Entities", propOrder = {
"address",
"contactByPhone",
"contactByPostalMail",
"email",
"emailFormat",
"fax",
"homePhone",
"id",
"mobile",
"phone1",
"phone2"
})
public class ContactInfo {
@XmlElement(name = "Address", nillable = true)
protected Address address;
@XmlElement(name = "ContactByPhone", nillable = true)
protected Boolean contactByPhone;
@XmlElement(name = "ContactByPostalMail", nillable = true)
protected Boolean contactByPostalMail;
@XmlElement(name = "Email", nillable = true)
protected String email;
@XmlElement(name = "EmailFormat", nillable = true)
@XmlSchemaType(name = "string")
protected EmailFormat emailFormat;
@XmlElement(name = "Fax", nillable = true)
protected String fax;
@XmlElement(name = "HomePhone", nillable = true)
protected String homePhone;
@XmlElement(name = "Id", nillable = true)
protected Long id;
@XmlElement(name = "Mobile", nillable = true)
protected String mobile;
@XmlElement(name = "Phone1", nillable = true)
protected String phone1;
@XmlElement(name = "Phone2", nillable = true)
protected String phone2;
/**
* Gets the value of the address property.
*
* @return
* possible object is
* {@link Address }
*
*/
public Address getAddress() {
return address;
}
/**
* Sets the value of the address property.
*
* @param value
* allowed object is
* {@link Address }
*
*/
public void setAddress(Address value) {
this.address = value;
}
/**
* Gets the value of the contactByPhone property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean getContactByPhone() {
return contactByPhone;
}
/**
* Sets the value of the contactByPhone property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setContactByPhone(Boolean value) {
this.contactByPhone = value;
}
/**
* Gets the value of the contactByPostalMail property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean getContactByPostalMail() {
return contactByPostalMail;
}
/**
* Sets the value of the contactByPostalMail property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setContactByPostalMail(Boolean value) {
this.contactByPostalMail = value;
}
/**
* Gets the value of the email property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getEmail() {
return email;
}
/**
* Sets the value of the email property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setEmail(String value) {
this.email = value;
}
/**
* Gets the value of the emailFormat property.
*
* @return
* possible object is
* {@link EmailFormat }
*
*/
public EmailFormat getEmailFormat() {
return emailFormat;
}
/**
* Sets the value of the emailFormat property.
*
* @param value
* allowed object is
* {@link EmailFormat }
*
*/
public void setEmailFormat(EmailFormat value) {
this.emailFormat = value;
}
/**
* Gets the value of the fax property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getFax() {
return fax;
}
/**
* Sets the value of the fax property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setFax(String value) {
this.fax = value;
}
/**
* Gets the value of the homePhone property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getHomePhone() {
return homePhone;
}
/**
* Sets the value of the homePhone property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setHomePhone(String value) {
this.homePhone = value;
}
/**
* Gets the value of the id property.
*
* @return
* possible object is
* {@link Long }
*
*/
public Long getId() {
return id;
}
/**
* Sets the value of the id property.
*
* @param value
* allowed object is
* {@link Long }
*
*/
public void setId(Long value) {
this.id = value;
}
/**
* Gets the value of the mobile property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getMobile() {
return mobile;
}
/**
* Sets the value of the mobile property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setMobile(String value) {
this.mobile = value;
}
/**
* Gets the value of the phone1 property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getPhone1() {
return phone1;
}
/**
* Sets the value of the phone1 property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setPhone1(String value) {
this.phone1 = value;
}
/**
* Gets the value of the phone2 property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getPhone2() {
return phone2;
}
/**
* Sets the value of the phone2 property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setPhone2(String value) {
this.phone2 = value;
}
}