com.google.api.ads.adwords.v201109.mcm
Class Account

java.lang.Object
  extended by com.google.api.ads.adwords.v201109.mcm.Account
All Implemented Interfaces:
Serializable

public class Account
extends Object
implements Serializable

Represents a single AdWords account.

See Also:
Serialized Form

Constructor Summary
Account()
           
Account(Long customerId, String login, String companyName, Boolean canManageClients, String currencyCode, String dateTimeZone)
           
 
Method Summary
 boolean equals(Object obj)
           
 Boolean getCanManageClients()
          Gets the canManageClients value for this Account.
 String getCompanyName()
          Gets the companyName value for this Account.
 String getCurrencyCode()
          Gets the currencyCode value for this Account.
 Long getCustomerId()
          Gets the customerId value for this Account.
 String getDateTimeZone()
          Gets the dateTimeZone value for this Account.
static org.apache.axis.encoding.Deserializer getDeserializer(String mechType, Class _javaType, QName _xmlType)
          Get Custom Deserializer
 String getLogin()
          Gets the login value for this Account.
static org.apache.axis.encoding.Serializer getSerializer(String mechType, Class _javaType, QName _xmlType)
          Get Custom Serializer
static org.apache.axis.description.TypeDesc getTypeDesc()
          Return type metadata object
 int hashCode()
           
 void setCanManageClients(Boolean canManageClients)
          Sets the canManageClients value for this Account.
 void setCompanyName(String companyName)
          Sets the companyName value for this Account.
 void setCurrencyCode(String currencyCode)
          Sets the currencyCode value for this Account.
 void setCustomerId(Long customerId)
          Sets the customerId value for this Account.
 void setDateTimeZone(String dateTimeZone)
          Sets the dateTimeZone value for this Account.
 void setLogin(String login)
          Sets the login value for this Account.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Account

public Account()

Account

public Account(Long customerId,
               String login,
               String companyName,
               Boolean canManageClients,
               String currencyCode,
               String dateTimeZone)
Method Detail

getCustomerId

public Long getCustomerId()
Gets the customerId value for this Account.

Returns:
customerId * The 10-digit ID that uniquely identifies the AdWords account. This field is read only and should not be set for following Operators : ADD. If this field is sent to the API, it will be ignored.

setCustomerId

public void setCustomerId(Long customerId)
Sets the customerId value for this Account.

Parameters:
customerId - * The 10-digit ID that uniquely identifies the AdWords account. This field is read only and should not be set for following Operators : ADD. If this field is sent to the API, it will be ignored.

getLogin

public String getLogin()
Gets the login value for this Account.

Returns:
login * The email address of the account's first login user, if any. This field is read only and should not be set for following Operators : ADD. If this field is sent to the API, it will be ignored.

setLogin

public void setLogin(String login)
Sets the login value for this Account.

Parameters:
login - * The email address of the account's first login user, if any. This field is read only and should not be set for following Operators : ADD. If this field is sent to the API, it will be ignored.

getCompanyName

public String getCompanyName()
Gets the companyName value for this Account.

Returns:
companyName * The company name of the account, if any. This field is read only and should not be set for following Operators : ADD. If this field is sent to the API, it will be ignored.

setCompanyName

public void setCompanyName(String companyName)
Sets the companyName value for this Account.

Parameters:
companyName - * The company name of the account, if any. This field is read only and should not be set for following Operators : ADD. If this field is sent to the API, it will be ignored.

getCanManageClients

public Boolean getCanManageClients()
Gets the canManageClients value for this Account.

Returns:
canManageClients * Whether this account can manage clients. This field is read only and should not be set for following Operators : ADD. If this field is sent to the API, it will be ignored.

setCanManageClients

public void setCanManageClients(Boolean canManageClients)
Sets the canManageClients value for this Account.

Parameters:
canManageClients - * Whether this account can manage clients. This field is read only and should not be set for following Operators : ADD. If this field is sent to the API, it will be ignored.

getCurrencyCode

public String getCurrencyCode()
Gets the currencyCode value for this Account.

Returns:
currencyCode * The currency in which this account operates. We support a subset of the currency codes derived from the ISO 4217 standard. See Currency Codes for the currently supported currencies.

This field can only be set during creation of the account. This field is required and should not be null when it is contained within Operators : ADD. The length of this string should be between 3 and 3, inclusive.


setCurrencyCode

public void setCurrencyCode(String currencyCode)
Sets the currencyCode value for this Account.

Parameters:
currencyCode - * The currency in which this account operates. We support a subset of the currency codes derived from the ISO 4217 standard. See Currency Codes for the currently supported currencies.

This field can only be set during creation of the account. This field is required and should not be null when it is contained within Operators : ADD. The length of this string should be between 3 and 3, inclusive.


getDateTimeZone

public String getDateTimeZone()
Gets the dateTimeZone value for this Account.

Returns:
dateTimeZone * The local timezone ID for this Account. See Time Zone Codes for the currently supported list.

This field can only be set during creation of the account.

This field is not provided by ServicedAccountService. This field is required and should not be null when it is contained within Operators : ADD.


setDateTimeZone

public void setDateTimeZone(String dateTimeZone)
Sets the dateTimeZone value for this Account.

Parameters:
dateTimeZone - * The local timezone ID for this Account. See Time Zone Codes for the currently supported list.

This field can only be set during creation of the account.

This field is not provided by ServicedAccountService. This field is required and should not be null when it is contained within Operators : ADD.


equals

public boolean equals(Object obj)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

getTypeDesc

public static org.apache.axis.description.TypeDesc getTypeDesc()
Return type metadata object


getSerializer

public static org.apache.axis.encoding.Serializer getSerializer(String mechType,
                                                                Class _javaType,
                                                                QName _xmlType)
Get Custom Serializer


getDeserializer

public static org.apache.axis.encoding.Deserializer getDeserializer(String mechType,
                                                                    Class _javaType,
                                                                    QName _xmlType)
Get Custom Deserializer



Copyright © 2011. All Rights Reserved.