public class Company extends Object
Company represents an agency, a single advertiser or an entire
advertising network.
Java class for Company complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="Company">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<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="type" type="{https://www.google.com/apis/ads/publisher/v201805}Company.Type" minOccurs="0"/>
<element name="address" 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="primaryPhone" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="externalId" 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="creditStatus" type="{https://www.google.com/apis/ads/publisher/v201805}Company.CreditStatus" minOccurs="0"/>
<element name="settings" type="{https://www.google.com/apis/ads/publisher/v201805}CompanySettings" minOccurs="0"/>
<element name="appliedLabels" type="{https://www.google.com/apis/ads/publisher/v201805}AppliedLabel" maxOccurs="unbounded" minOccurs="0"/>
<element name="primaryContactId" type="{http://www.w3.org/2001/XMLSchema}long" minOccurs="0"/>
<element name="appliedTeamIds" type="{http://www.w3.org/2001/XMLSchema}long" maxOccurs="unbounded" minOccurs="0"/>
<element name="thirdPartyCompanyId" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/>
<element name="lastModifiedDateTime" type="{https://www.google.com/apis/ads/publisher/v201805}DateTime" minOccurs="0"/>
<element name="viewabilityProvider" type="{https://www.google.com/apis/ads/publisher/v201805}ViewabilityProvider" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected String |
address |
protected List<AppliedLabel> |
appliedLabels |
protected List<Long> |
appliedTeamIds |
protected String |
comment |
protected CompanyCreditStatus |
creditStatus |
protected String |
email |
protected String |
externalId |
protected String |
faxPhone |
protected Long |
id |
protected DateTime |
lastModifiedDateTime |
protected String |
name |
protected Long |
primaryContactId |
protected String |
primaryPhone |
protected CompanySettings |
settings |
protected Integer |
thirdPartyCompanyId |
protected CompanyType |
type |
protected ViewabilityProvider |
viewabilityProvider |
| Constructor and Description |
|---|
Company() |
| Modifier and Type | Method and Description |
|---|---|
String |
getAddress()
Gets the value of the address property.
|
List<AppliedLabel> |
getAppliedLabels()
Gets the value of the appliedLabels property.
|
List<Long> |
getAppliedTeamIds()
Gets the value of the appliedTeamIds property.
|
String |
getComment()
Gets the value of the comment property.
|
CompanyCreditStatus |
getCreditStatus()
Gets the value of the creditStatus property.
|
String |
getEmail()
Gets the value of the email property.
|
String |
getExternalId()
Gets the value of the externalId property.
|
String |
getFaxPhone()
Gets the value of the faxPhone property.
|
Long |
getId()
Gets the value of the id property.
|
DateTime |
getLastModifiedDateTime()
Gets the value of the lastModifiedDateTime property.
|
String |
getName()
Gets the value of the name property.
|
Long |
getPrimaryContactId()
Gets the value of the primaryContactId property.
|
String |
getPrimaryPhone()
Gets the value of the primaryPhone property.
|
CompanySettings |
getSettings()
Gets the value of the settings property.
|
Integer |
getThirdPartyCompanyId()
Gets the value of the thirdPartyCompanyId property.
|
CompanyType |
getType()
Gets the value of the type property.
|
ViewabilityProvider |
getViewabilityProvider()
Gets the value of the viewabilityProvider property.
|
void |
setAddress(String value)
Sets the value of the address property.
|
void |
setComment(String value)
Sets the value of the comment property.
|
void |
setCreditStatus(CompanyCreditStatus value)
Sets the value of the creditStatus property.
|
void |
setEmail(String value)
Sets the value of the email property.
|
void |
setExternalId(String value)
Sets the value of the externalId property.
|
void |
setFaxPhone(String value)
Sets the value of the faxPhone property.
|
void |
setId(Long value)
Sets the value of the id property.
|
void |
setLastModifiedDateTime(DateTime value)
Sets the value of the lastModifiedDateTime property.
|
void |
setName(String value)
Sets the value of the name property.
|
void |
setPrimaryContactId(Long value)
Sets the value of the primaryContactId property.
|
void |
setPrimaryPhone(String value)
Sets the value of the primaryPhone property.
|
void |
setSettings(CompanySettings value)
Sets the value of the settings property.
|
void |
setThirdPartyCompanyId(Integer value)
Sets the value of the thirdPartyCompanyId property.
|
void |
setType(CompanyType value)
Sets the value of the type property.
|
void |
setViewabilityProvider(ViewabilityProvider value)
Sets the value of the viewabilityProvider property.
|
protected Long id
protected String name
protected CompanyType type
protected String address
protected String email
protected String faxPhone
protected String primaryPhone
protected String externalId
protected String comment
protected CompanyCreditStatus creditStatus
protected CompanySettings settings
protected List<AppliedLabel> appliedLabels
protected Long primaryContactId
protected Integer thirdPartyCompanyId
protected DateTime lastModifiedDateTime
protected ViewabilityProvider viewabilityProvider
public void setId(Long value)
value - allowed object is
Longpublic String getName()
Stringpublic void setName(String value)
value - allowed object is
Stringpublic CompanyType getType()
CompanyTypepublic void setType(CompanyType value)
value - allowed object is
CompanyTypepublic String getAddress()
Stringpublic void setAddress(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 getPrimaryPhone()
Stringpublic void setPrimaryPhone(String value)
value - allowed object is
Stringpublic String getExternalId()
Stringpublic void setExternalId(String value)
value - allowed object is
Stringpublic String getComment()
Stringpublic void setComment(String value)
value - allowed object is
Stringpublic CompanyCreditStatus getCreditStatus()
CompanyCreditStatuspublic void setCreditStatus(CompanyCreditStatus value)
value - allowed object is
CompanyCreditStatuspublic CompanySettings getSettings()
CompanySettingspublic void setSettings(CompanySettings value)
value - allowed object is
CompanySettingspublic List<AppliedLabel> getAppliedLabels()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the appliedLabels property.
For example, to add a new item, do as follows:
getAppliedLabels().add(newItem);
Objects of the following type(s) are allowed in the list
AppliedLabel
public Long getPrimaryContactId()
Longpublic void setPrimaryContactId(Long value)
value - allowed object is
Longpublic List<Long> getAppliedTeamIds()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the appliedTeamIds property.
For example, to add a new item, do as follows:
getAppliedTeamIds().add(newItem);
Objects of the following type(s) are allowed in the list
Long
public Integer getThirdPartyCompanyId()
Integerpublic void setThirdPartyCompanyId(Integer value)
value - allowed object is
Integerpublic DateTime getLastModifiedDateTime()
DateTimepublic void setLastModifiedDateTime(DateTime value)
value - allowed object is
DateTimepublic ViewabilityProvider getViewabilityProvider()
ViewabilityProviderpublic void setViewabilityProvider(ViewabilityProvider value)
value - allowed object is
ViewabilityProviderCopyright © 2018. All Rights Reserved.