Changes since
the last release

com.ebay.soap.eBLBaseComponents
Class AmountType

java.lang.Object
  extended by com.ebay.soap.eBLBaseComponents.AmountType
All Implemented Interfaces:
Serializable

public class AmountType
extends Object
implements Serializable

Basic type for specifying monetary amounts. A double value (e.g., 1.00 or 1.0) is meaningful as a monetary amount when accompanied by a specification of the currency, in which case the value specifies the amount in that currency. An AmountType expresses both the value (a double) and the currency. Details such as prices, fees, costs, and payments are specified as amount types.

See Also:
Serialized Form

Constructor Summary
AmountType()
           
AmountType(double value)
           
AmountType(String value)
           
 
Method Summary
 boolean equals(Object obj)
           
 CurrencyCodeType getCurrencyID()
          Gets the currencyID value for this AmountType.
static org.apache.axis.encoding.Deserializer getDeserializer(String mechType, Class _javaType, QName _xmlType)
          Get Custom Deserializer
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
 double getValue()
          Gets the value for this AmountType.
 int hashCode()
           
 void setCurrencyID(CurrencyCodeType currencyID)
          Sets the currencyID value for this AmountType.
 void setValue(double value)
          Sets the value for this AmountType.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AmountType

public AmountType()

AmountType

public AmountType(double value)

AmountType

public AmountType(String value)
Method Detail

toString

public String toString()
Overrides:
toString in class Object

getValue

public double getValue()
Gets the value for this AmountType.

Returns:
value

setValue

public void setValue(double value)
Sets the value for this AmountType.

Parameters:
value -

getCurrencyID

public CurrencyCodeType getCurrencyID()
Gets the currencyID value for this AmountType.

Returns:
currencyID

setCurrencyID

public void setCurrencyID(CurrencyCodeType currencyID)
Sets the currencyID value for this AmountType.

Parameters:
currencyID -

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


Changes since
the last release

The information contained in this document is proprietary and confidential. Use of this information and the eBay API requires a Non-Disclosure Agreement (NDA) between the user and eBay Inc. For information regarding a qualifying NDA, contact Developer Relations:developer-relations@ebay.com
© 2004-2006 eBay Inc. All rights reserved.