public class Contact extends BaseContact implements Serializable
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.| Constructor and Description |
|---|
Contact() |
Contact(Long id,
String name,
Long companyId,
ContactStatus status,
String address,
String cellPhone,
String comment,
String email,
String faxPhone,
String title,
String workPhone) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getAddress()
Gets the address value for this Contact.
|
String |
getCellPhone()
Gets the cellPhone value for this Contact.
|
String |
getComment()
Gets the comment value for this Contact.
|
Long |
getCompanyId()
Gets the companyId value for this Contact.
|
static org.apache.axis.encoding.Deserializer |
getDeserializer(String mechType,
Class _javaType,
QName _xmlType)
Get Custom Deserializer
|
String |
getEmail()
Gets the email value for this Contact.
|
String |
getFaxPhone()
Gets the faxPhone value for this Contact.
|
Long |
getId()
Gets the id value for this Contact.
|
String |
getName()
Gets the name value for this Contact.
|
static org.apache.axis.encoding.Serializer |
getSerializer(String mechType,
Class _javaType,
QName _xmlType)
Get Custom Serializer
|
ContactStatus |
getStatus()
Gets the status value for this Contact.
|
String |
getTitle()
Gets the title value for this Contact.
|
static org.apache.axis.description.TypeDesc |
getTypeDesc()
Return type metadata object
|
String |
getWorkPhone()
Gets the workPhone value for this Contact.
|
int |
hashCode() |
void |
setAddress(String address)
Sets the address value for this Contact.
|
void |
setCellPhone(String cellPhone)
Sets the cellPhone value for this Contact.
|
void |
setComment(String comment)
Sets the comment value for this Contact.
|
void |
setCompanyId(Long companyId)
Sets the companyId value for this Contact.
|
void |
setEmail(String email)
Sets the email value for this Contact.
|
void |
setFaxPhone(String faxPhone)
Sets the faxPhone value for this Contact.
|
void |
setId(Long id)
Sets the id value for this Contact.
|
void |
setName(String name)
Sets the name value for this Contact.
|
void |
setStatus(ContactStatus status)
Sets the status value for this Contact.
|
void |
setTitle(String title)
Sets the title value for this Contact.
|
void |
setWorkPhone(String workPhone)
Sets the workPhone value for this Contact.
|
String |
toString() |
public String toString()
toString in class BaseContactpublic Long getId()
Contact. This value is readonly
and is assigned
by Google.public void setId(Long id)
id - * The unique ID of the Contact. This value is readonly
and is assigned
by Google.public String getName()
public void setName(String name)
name - * The name of the contact. This attribute is required and has
a maximum
length of 127 characters.public Long getCompanyId()
Company that this contact is associated
with. This
attribute is required and immutable.public void setCompanyId(Long companyId)
companyId - * The ID of the Company that this contact is associated
with. This
attribute is required and immutable.public ContactStatus getStatus()
public void setStatus(ContactStatus status)
status - * The status of the contact. This attribute is readonly and is
assigned by Google.public String getAddress()
public void setAddress(String address)
address - * The address of the contact. This attribute is optional and
has a maximum length of 1024
characters.public String getCellPhone()
public void setCellPhone(String cellPhone)
cellPhone - * The cell phone number where the contact can be reached. This
attribute is
optional.public String getComment()
public void setComment(String comment)
comment - * A free-form text comment for the contact. This attribute is
optional and has a maximum
length of 1024 characters.public String getEmail()
public void setEmail(String email)
email - * The e-mail address where the contact can be reached. This attribute
is optional.public String getFaxPhone()
public void setFaxPhone(String faxPhone)
faxPhone - * The fax number where the contact can be reached. This attribute
is optional.public String getTitle()
public void setTitle(String title)
title - * The job title of the contact. This attribute is optional and
has a maximum length of 1024
characters.public String getWorkPhone()
public void setWorkPhone(String workPhone)
workPhone - * The work phone number where the contact can be reached. This
attribute is optional.public boolean equals(Object obj)
equals in class BaseContactpublic int hashCode()
hashCode in class BaseContactpublic static org.apache.axis.description.TypeDesc getTypeDesc()
public static org.apache.axis.encoding.Serializer getSerializer(String mechType, Class _javaType, QName _xmlType)
Copyright © 2020. All rights reserved.