public class Company extends Object implements Serializable
Company represents an agency, a single advertiser or
an entire
advertising network.| Constructor and Description |
|---|
Company() |
Company(Long id,
String name,
CompanyType type,
String address,
String email,
String faxPhone,
String primaryPhone,
String externalId,
String comment,
CompanyCreditStatus creditStatus,
CompanySettings settings,
AppliedLabel[] appliedLabels,
Long primaryContactId,
long[] appliedTeamIds,
Integer thirdPartyCompanyId,
DateTime lastModifiedDateTime,
ViewabilityProvider viewabilityProvider) |
| Modifier and Type | Method and Description |
|---|---|
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.
|
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.
|
Long |
getPrimaryContactId()
Gets the primaryContactId 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
|
CompanySettings |
getSettings()
Gets the settings value for this Company.
|
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
|
ViewabilityProvider |
getViewabilityProvider()
Gets the viewabilityProvider value for this Company.
|
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 |
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 |
setPrimaryContactId(Long primaryContactId)
Sets the primaryContactId value for this Company.
|
void |
setPrimaryPhone(String primaryPhone)
Sets the primaryPhone value for this Company.
|
void |
setSettings(CompanySettings settings)
Sets the settings 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.
|
void |
setViewabilityProvider(ViewabilityProvider viewabilityProvider)
Sets the viewabilityProvider value for this Company.
|
String |
toString() |
public Company()
public Company(Long id, String name, CompanyType type, String address, String email, String faxPhone, String primaryPhone, String externalId, String comment, CompanyCreditStatus creditStatus, CompanySettings settings, AppliedLabel[] appliedLabels, Long primaryContactId, long[] appliedTeamIds, Integer thirdPartyCompanyId, DateTime lastModifiedDateTime, ViewabilityProvider viewabilityProvider)
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 when basic
credit status settings
are enabled, and CreditStatus#ON_HOLD when
advanced credit status
settings are enabled.public void setCreditStatus(CompanyCreditStatus creditStatus)
creditStatus - * Specifies the company's credit status. This attribute is optional
and
defaults to CreditStatus#ACTIVE when basic
credit status settings
are enabled, and CreditStatus#ON_HOLD when
advanced credit status
settings are enabled.public CompanySettings getSettings()
Company.
This attribute is optional.public void setSettings(CompanySettings settings)
settings - * Specifies the default billing settings of this Company.
This attribute is optional.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 Long getPrimaryContactId()
Contact who is acting as the primary
contact for this
company. This attribute is optional.public void setPrimaryContactId(Long primaryContactId)
primaryContactId - * The ID of the Contact who is acting as the primary
contact for this
company. This attribute is optional.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 ViewabilityProvider getViewabilityProvider()
public void setViewabilityProvider(ViewabilityProvider viewabilityProvider)
viewabilityProvider - * Info required for when Company Type is VIEWABILITY_PROVIDER.public static org.apache.axis.description.TypeDesc getTypeDesc()
public static org.apache.axis.encoding.Serializer getSerializer(String mechType, Class _javaType, QName _xmlType)
Copyright © 2018. All Rights Reserved.