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

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

public class Money
extends ComparableValue
implements Serializable

Represents a money amount.

See Also:
Serialized Form

Constructor Summary
Money()
           
Money(String comparableValueType, Long microAmount)
           
 
Method Summary
 boolean equals(Object obj)
           
static org.apache.axis.encoding.Deserializer getDeserializer(String mechType, Class _javaType, QName _xmlType)
          Get Custom Deserializer
 Long getMicroAmount()
          Gets the microAmount value for this Money.
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 setMicroAmount(Long microAmount)
          Sets the microAmount value for this Money.
 
Methods inherited from class com.google.api.ads.adwords.v201109.cm.ComparableValue
getComparableValueType, setComparableValueType
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Money

public Money()

Money

public Money(String comparableValueType,
             Long microAmount)
Method Detail

getMicroAmount

public Long getMicroAmount()
Gets the microAmount value for this Money.

Returns:
microAmount * Amount in micros. One million is equivalent to one unit.

setMicroAmount

public void setMicroAmount(Long microAmount)
Sets the microAmount value for this Money.

Parameters:
microAmount - * Amount in micros. One million is equivalent to one unit.

equals

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

hashCode

public int hashCode()
Overrides:
hashCode in class ComparableValue

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.