|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.google.api.ads.dfp.axis.v201208.Company
public class Company
A Company represents an agency, a single advertiser or
an entire
advertising network.
| Constructor Summary | |
|---|---|
Company()
|
|
Company(Long id,
String name,
CompanyType type,
String address,
String email,
String faxPhone,
String primaryPhone,
String externalId,
String comment,
CompanyCreditStatus creditStatus,
AppliedLabel[] appliedLabels,
Boolean enableSameAdvertiserCompetitiveExclusion,
long[] appliedTeamIds,
Integer thirdPartyCompanyId,
DateTime lastModifiedDateTime)
|
|
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
|
String |
getAddress()
Gets the address value for this Company. |
AppliedLabel[] |
getAppliedLabels()
Gets the appliedLabels value for this Company. |
AppliedLabel |
getAppliedLabels(int i)
|
long[] |
getAppliedTeamIds()
Gets the appliedTeamIds value for this Company. |
long |
getAppliedTeamIds(int i)
|
String |
getComment()
Gets the comment value for this Company. |
CompanyCreditStatus |
getCreditStatus()
Gets the creditStatus value for this Company. |
static org.apache.axis.encoding.Deserializer |
getDeserializer(String mechType,
Class _javaType,
QName _xmlType)
Get Custom Deserializer |
String |
getEmail()
Gets the email value for this Company. |
Boolean |
getEnableSameAdvertiserCompetitiveExclusion()
Gets the enableSameAdvertiserCompetitiveExclusion value for this Company. |
String |
getExternalId()
Gets the externalId value for this Company. |
String |
getFaxPhone()
Gets the faxPhone value for this Company. |
Long |
getId()
Gets the id value for this Company. |
DateTime |
getLastModifiedDateTime()
Gets the lastModifiedDateTime value for this Company. |
String |
getName()
Gets the name value for this Company. |
String |
getPrimaryPhone()
Gets the primaryPhone value for this Company. |
static org.apache.axis.encoding.Serializer |
getSerializer(String mechType,
Class _javaType,
QName _xmlType)
Get Custom Serializer |
Integer |
getThirdPartyCompanyId()
Gets the thirdPartyCompanyId value for this Company. |
CompanyType |
getType()
Gets the type value for this Company. |
static org.apache.axis.description.TypeDesc |
getTypeDesc()
Return type metadata object |
int |
hashCode()
|
void |
setAddress(String address)
Sets the address value for this Company. |
void |
setAppliedLabels(AppliedLabel[] appliedLabels)
Sets the appliedLabels value for this Company. |
void |
setAppliedLabels(int i,
AppliedLabel _value)
|
void |
setAppliedTeamIds(int i,
long _value)
|
void |
setAppliedTeamIds(long[] appliedTeamIds)
Sets the appliedTeamIds value for this Company. |
void |
setComment(String comment)
Sets the comment value for this Company. |
void |
setCreditStatus(CompanyCreditStatus creditStatus)
Sets the creditStatus value for this Company. |
void |
setEmail(String email)
Sets the email value for this Company. |
void |
setEnableSameAdvertiserCompetitiveExclusion(Boolean enableSameAdvertiserCompetitiveExclusion)
Sets the enableSameAdvertiserCompetitiveExclusion value for this Company. |
void |
setExternalId(String externalId)
Sets the externalId value for this Company. |
void |
setFaxPhone(String faxPhone)
Sets the faxPhone value for this Company. |
void |
setId(Long id)
Sets the id value for this Company. |
void |
setLastModifiedDateTime(DateTime lastModifiedDateTime)
Sets the lastModifiedDateTime value for this Company. |
void |
setName(String name)
Sets the name value for this Company. |
void |
setPrimaryPhone(String primaryPhone)
Sets the primaryPhone value for this Company. |
void |
setThirdPartyCompanyId(Integer thirdPartyCompanyId)
Sets the thirdPartyCompanyId value for this Company. |
void |
setType(CompanyType type)
Sets the type value for this Company. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Company()
public Company(Long id,
String name,
CompanyType type,
String address,
String email,
String faxPhone,
String primaryPhone,
String externalId,
String comment,
CompanyCreditStatus creditStatus,
AppliedLabel[] appliedLabels,
Boolean enableSameAdvertiserCompetitiveExclusion,
long[] appliedTeamIds,
Integer thirdPartyCompanyId,
DateTime lastModifiedDateTime)
| Method Detail |
|---|
public Long getId()
Company. This value is read-only
and is
assigned by Google when the company is created. This
attribute is required
for updates.public void setId(Long id)
id - * Uniquely identifies the Company. This value is read-only
and is
assigned by Google when the company is created. This
attribute is required
for updates.public String getName()
public void setName(String name)
name - * The full name of the company. This attribute is required and
has a maximum
length of 127 characters.public CompanyType getType()
public void setType(CompanyType type)
type - * Specifies what kind of company this is. This attribute is required.public String getAddress()
public void setAddress(String address)
address - * Specifies the address of the company. This attribute is optional
and has a
maximum length of 65,535 characters.public String getEmail()
public void setEmail(String email)
email - * Specifies the email of the company. This attribute is optional
and has a
maximum length of 128 characters.public String getFaxPhone()
public void setFaxPhone(String faxPhone)
faxPhone - * Specifies the fax phone number of the company. This attribute
is optional
and has a maximum length of 63 characters.public String getPrimaryPhone()
public void setPrimaryPhone(String primaryPhone)
primaryPhone - * Specifies the primary phone number of the company. This attribute
is
optional and has a maximum length of 63 characters.public String getExternalId()
public void setExternalId(String externalId)
externalId - * Specifies the external ID of the company. This attribute is
optional and
has a maximum length of 255 characters.public String getComment()
public void setComment(String comment)
comment - * Specifies the comment of the company. This attribute is optional
and has a
maximum length of 1024 characters.public CompanyCreditStatus getCreditStatus()
CreditStatus#ACTIVE.public void setCreditStatus(CompanyCreditStatus creditStatus)
creditStatus - * Specifies the company's credit status. This attribute is optional
and
defaults to CreditStatus#ACTIVE.public AppliedLabel[] getAppliedLabels()
public void setAppliedLabels(AppliedLabel[] appliedLabels)
appliedLabels - * The set of labels applied to this company.public AppliedLabel getAppliedLabels(int i)
public void setAppliedLabels(int i,
AppliedLabel _value)
public Boolean getEnableSameAdvertiserCompetitiveExclusion()
public void setEnableSameAdvertiserCompetitiveExclusion(Boolean enableSameAdvertiserCompetitiveExclusion)
enableSameAdvertiserCompetitiveExclusion - * Setting this to true will prevent ads from the same advertiser
from being
served together.public long[] getAppliedTeamIds()
public void setAppliedTeamIds(long[] appliedTeamIds)
appliedTeamIds - * The IDs of all teams that this company is on directly.public long getAppliedTeamIds(int i)
public void setAppliedTeamIds(int i,
long _value)
public Integer getThirdPartyCompanyId()
public void setThirdPartyCompanyId(Integer thirdPartyCompanyId)
thirdPartyCompanyId - * Specifies the ID of the Google-recognized canonicalized form
of this
company. This attribute is optional.public DateTime getLastModifiedDateTime()
public void setLastModifiedDateTime(DateTime lastModifiedDateTime)
lastModifiedDateTime - * The date and time this company was last modified.public boolean equals(Object obj)
equals in class Objectpublic int hashCode()
hashCode in class Objectpublic static org.apache.axis.description.TypeDesc getTypeDesc()
public static org.apache.axis.encoding.Serializer getSerializer(String mechType,
Class _javaType,
QName _xmlType)
public static org.apache.axis.encoding.Deserializer getDeserializer(String mechType,
Class _javaType,
QName _xmlType)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||