public class

Currency

extends Object
implements Serializable
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

Fields
private Object __equalsCalc
private boolean __hashCodeCalc
private String currencyCode
private static TypeDesc typeDesc
private BigDecimal value
Public Constructors
Currency()
Currency(String currencyCode, BigDecimal value)
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

Fields

private Object __equalsCalc

private boolean __hashCodeCalc

private String currencyCode

private static TypeDesc typeDesc

private BigDecimal value

Public Constructors

public Currency ()

public Currency (String currencyCode, BigDecimal value)

Parameters
currencyCode
value

Public Methods

public synchronized boolean equals (Object obj)

Parameters
obj

public String getCurrencyCode ()

Gets the currencyCode value for this Currency.

Returns
  • currencyCode

public static Deserializer getDeserializer (String mechType, Class _javaType, QName _xmlType)

Get Custom Deserializer

Parameters
mechType
_javaType
_xmlType

public static Serializer getSerializer (String mechType, Class _javaType, QName _xmlType)

Get Custom Serializer

Parameters
mechType
_javaType
_xmlType

public static TypeDesc getTypeDesc ()

Return type metadata object

public BigDecimal getValue ()

Gets the value value for this Currency.

Returns
  • value

public synchronized int hashCode ()

public void setCurrencyCode (String currencyCode)

Sets the currencyCode value for this Currency.

Parameters
currencyCode

public void setValue (BigDecimal value)

Sets the value value for this Currency.

Parameters
value