com.microsoft.bingads.v13.customermanagement.ContactInfo Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of microsoft.bingads Show documentation
Show all versions of microsoft.bingads Show documentation
The Bing Ads Java SDK is a library improving developer experience when working with the Bing Ads services by providing high-level access to features such as Bulk API, OAuth Authorization and SOAP API.
package com.microsoft.bingads.v13.customermanagement;
import jakarta.xml.bind.annotation.XmlAccessType;
import jakarta.xml.bind.annotation.XmlAccessorType;
import jakarta.xml.bind.annotation.XmlElement;
import jakarta.xml.bind.annotation.XmlSchemaType;
import jakarta.xml.bind.annotation.XmlType;
/**
* Java class for ContactInfo complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
{@code
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
* }
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "ContactInfo", namespace = "https://bingads.microsoft.com/Customer/v13/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;
}
}