com.google.api.ads.adwords.v201109.cm
Class Carrier

java.lang.Object
  extended by com.google.api.ads.adwords.v201109.cm.Criterion
      extended by com.google.api.ads.adwords.v201109.cm.Carrier
All Implemented Interfaces:
Serializable

public class Carrier
extends Criterion
implements Serializable

Represents a Carrier Criterion.

A criterion of this type can only be created using an ID. A criterion of this type is only targetable.

See Also:
Serialized Form

Constructor Summary
Carrier()
           
Carrier(Long id, CriterionType type, String criterionType, String name, String countryCode)
           
 
Method Summary
 boolean equals(Object obj)
           
 String getCountryCode()
          Gets the countryCode value for this Carrier.
static org.apache.axis.encoding.Deserializer getDeserializer(String mechType, Class _javaType, QName _xmlType)
          Get Custom Deserializer
 String getName()
          Gets the name value for this Carrier.
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 setCountryCode(String countryCode)
          Sets the countryCode value for this Carrier.
 void setName(String name)
          Sets the name value for this Carrier.
 
Methods inherited from class com.google.api.ads.adwords.v201109.cm.Criterion
getCriterionType, getId, getType, setCriterionType, setId, setType
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Carrier

public Carrier()

Carrier

public Carrier(Long id,
               CriterionType type,
               String criterionType,
               String name,
               String countryCode)
Method Detail

getName

public String getName()
Gets the name value for this Carrier.

Returns:
name * This field can be selected using the value "CarrierName". This field is read only and should not be set. If this field is sent to the API, it will be ignored.

setName

public void setName(String name)
Sets the name value for this Carrier.

Parameters:
name - * This field can be selected using the value "CarrierName". This field is read only and should not be set. If this field is sent to the API, it will be ignored.

getCountryCode

public String getCountryCode()
Gets the countryCode value for this Carrier.

Returns:
countryCode * This field can be selected using the value "CarrierCountryCode". This field is read only and should not be set. If this field is sent to the API, it will be ignored.

setCountryCode

public void setCountryCode(String countryCode)
Sets the countryCode value for this Carrier.

Parameters:
countryCode - * This field can be selected using the value "CarrierCountryCode". This field is read only and should not be set. If this field is sent to the API, it will be ignored.

equals

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

hashCode

public int hashCode()
Overrides:
hashCode in class Criterion

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.