| java.lang.Object |
| ↳ |
com.amazonaws.fba_outbound.doc._2007_08_02.Currency |
Class Overview
Currency type.
the CurrencyCode is the ISO currency code.
the Value is the amount of the currency.
for CurrencyCode="USD", the unit of Value is dollars,
the scale of decimal is two.
example:5$ the Value is 5.00.
Summary
| Public Methods |
|
synchronized
boolean
|
equals(Object obj)
|
|
String
|
getCurrencyCode()
Gets the currencyCode value for this Currency.
|
|
static
Deserializer
|
getDeserializer(String mechType, Class _javaType, QName _xmlType)
Get Custom Deserializer
|
|
static
Serializer
|
getSerializer(String mechType, Class _javaType, QName _xmlType)
Get Custom Serializer
|
|
static
TypeDesc
|
getTypeDesc()
Return type metadata object
|
|
BigDecimal
|
getValue()
Gets the value value for this Currency.
|
|
synchronized
int
|
hashCode()
|
|
void
|
setCurrencyCode(String currencyCode)
Sets the currencyCode value for this Currency.
|
|
void
|
setValue(BigDecimal value)
Sets the value value for this Currency.
|
|
[Expand]
Inherited Methods |
From class
java.lang.Object
|
Object
|
clone()
|
|
boolean
|
equals(Object arg0)
|
|
void
|
finalize()
|
|
final
Class<?>
|
getClass()
|
|
int
|
hashCode()
|
|
final
void
|
notify()
|
|
final
void
|
notifyAll()
|
|
String
|
toString()
|
|
final
void
|
wait()
|
|
final
void
|
wait(long arg0, int arg1)
|
|
final
void
|
wait(long arg0)
|
|
Fields
private
Object
__equalsCalc
private
boolean
__hashCodeCalc
private
String
currencyCode
private
static
TypeDesc
typeDesc
Public Constructors
public
Currency
(String currencyCode, BigDecimal value)
Public Methods
public
synchronized
boolean
equals
(Object obj)
public
String
getCurrencyCode
()
Gets the currencyCode value for this Currency.
public
static
Deserializer
getDeserializer
(String mechType, Class _javaType, QName _xmlType)
Parameters
| mechType
| |
| _javaType
| |
| _xmlType
| |
public
static
Serializer
getSerializer
(String mechType, Class _javaType, QName _xmlType)
Parameters
| mechType
| |
| _javaType
| |
| _xmlType
| |
public
static
TypeDesc
getTypeDesc
()
Return type metadata object
public
BigDecimal
getValue
()
Gets the value value for this Currency.
public
synchronized
int
hashCode
()
public
void
setCurrencyCode
(String currencyCode)
Sets the currencyCode value for this Currency.
public
void
setValue
(BigDecimal value)
Sets the value value for this Currency.