com.google.api.ads.dfp.axis.v201204
Class Money

java.lang.Object
  extended by com.google.api.ads.dfp.axis.v201204.Money
All Implemented Interfaces:
Serializable

public class Money
extends Object
implements Serializable

Represents a money amount.

See Also:
Serialized Form

Constructor Summary
Money()
           
Money(String currencyCode, Long microAmount)
           
 
Method Summary
 boolean equals(Object obj)
           
 String getCurrencyCode()
          Gets the currencyCode value for this Money.
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 setCurrencyCode(String currencyCode)
          Sets the currencyCode value for this Money.
 void setMicroAmount(Long microAmount)
          Sets the microAmount value for this Money.
 
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 currencyCode,
             Long microAmount)
Method Detail

getCurrencyCode

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

Returns:
currencyCode * Three letter currency code in string format.

setCurrencyCode

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

Parameters:
currencyCode - * Three letter currency code in string format.

getMicroAmount

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

Returns:
microAmount * Money values are always specified in terms of micros which are a millionth of the fundamental currency unit. For US dollars, $1 is 1,000,000 micros.

setMicroAmount

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

Parameters:
microAmount - * Money values are always specified in terms of micros which are a millionth of the fundamental currency unit. For US dollars, $1 is 1,000,000 micros.

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 © 2012. All Rights Reserved.