public class Contact extends BaseContact
Contact represents a person who is affiliated with a single
Company. A contact can have a variety of contact information
associated to it, and can be invited to view their company's orders, line
items, creatives, and reports.
Java class for Contact complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="Contact">
<complexContent>
<extension base="{https://www.google.com/apis/ads/publisher/v201802}BaseContact">
<sequence>
<element name="id" type="{http://www.w3.org/2001/XMLSchema}long" minOccurs="0"/>
<element name="name" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="companyId" type="{http://www.w3.org/2001/XMLSchema}long" minOccurs="0"/>
<element name="status" type="{https://www.google.com/apis/ads/publisher/v201802}Contact.Status" minOccurs="0"/>
<element name="address" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="cellPhone" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="comment" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="email" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="faxPhone" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="title" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="workPhone" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
</sequence>
</extension>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected String |
address |
protected String |
cellPhone |
protected String |
comment |
protected Long |
companyId |
protected String |
email |
protected String |
faxPhone |
protected Long |
id |
protected String |
name |
protected ContactStatus |
status |
protected String |
title |
protected String |
workPhone |
| Constructor and Description |
|---|
Contact() |
| Modifier and Type | Method and Description |
|---|---|
String |
getAddress()
Gets the value of the address property.
|
String |
getCellPhone()
Gets the value of the cellPhone property.
|
String |
getComment()
Gets the value of the comment property.
|
Long |
getCompanyId()
Gets the value of the companyId property.
|
String |
getEmail()
Gets the value of the email property.
|
String |
getFaxPhone()
Gets the value of the faxPhone property.
|
Long |
getId()
Gets the value of the id property.
|
String |
getName()
Gets the value of the name property.
|
ContactStatus |
getStatus()
Gets the value of the status property.
|
String |
getTitle()
Gets the value of the title property.
|
String |
getWorkPhone()
Gets the value of the workPhone property.
|
void |
setAddress(String value)
Sets the value of the address property.
|
void |
setCellPhone(String value)
Sets the value of the cellPhone property.
|
void |
setComment(String value)
Sets the value of the comment property.
|
void |
setCompanyId(Long value)
Sets the value of the companyId property.
|
void |
setEmail(String value)
Sets the value of the email property.
|
void |
setFaxPhone(String value)
Sets the value of the faxPhone property.
|
void |
setId(Long value)
Sets the value of the id property.
|
void |
setName(String value)
Sets the value of the name property.
|
void |
setStatus(ContactStatus value)
Sets the value of the status property.
|
void |
setTitle(String value)
Sets the value of the title property.
|
void |
setWorkPhone(String value)
Sets the value of the workPhone property.
|
protected Long id
protected String name
protected Long companyId
protected ContactStatus status
protected String address
protected String cellPhone
protected String comment
protected String email
protected String faxPhone
protected String title
protected String workPhone
public void setId(Long value)
value - allowed object is
Longpublic String getName()
Stringpublic void setName(String value)
value - allowed object is
Stringpublic Long getCompanyId()
Longpublic void setCompanyId(Long value)
value - allowed object is
Longpublic ContactStatus getStatus()
ContactStatuspublic void setStatus(ContactStatus value)
value - allowed object is
ContactStatuspublic String getAddress()
Stringpublic void setAddress(String value)
value - allowed object is
Stringpublic String getCellPhone()
Stringpublic void setCellPhone(String value)
value - allowed object is
Stringpublic String getComment()
Stringpublic void setComment(String value)
value - allowed object is
Stringpublic String getEmail()
Stringpublic void setEmail(String value)
value - allowed object is
Stringpublic String getFaxPhone()
Stringpublic void setFaxPhone(String value)
value - allowed object is
Stringpublic String getTitle()
Stringpublic void setTitle(String value)
value - allowed object is
Stringpublic String getWorkPhone()
StringCopyright © 2018. All Rights Reserved.