com.amazonaws.mturk.requester
Class Price

java.lang.Object
  extended by com.amazonaws.mturk.requester.Price
All Implemented Interfaces:
java.io.Serializable

public class Price
extends java.lang.Object
implements java.io.Serializable

See Also:
Serialized Form

Constructor Summary
Price()
           
Price(java.math.BigDecimal amount, java.lang.String currencyCode, java.lang.String formattedPrice)
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.math.BigDecimal getAmount()
          Gets the amount value for this Price.
 java.lang.String getCurrencyCode()
          Gets the currencyCode value for this Price.
static org.apache.axis.encoding.Deserializer getDeserializer(java.lang.String mechType, java.lang.Class _javaType, javax.xml.namespace.QName _xmlType)
          Get Custom Deserializer
 java.lang.String getFormattedPrice()
          Gets the formattedPrice value for this Price.
static org.apache.axis.encoding.Serializer getSerializer(java.lang.String mechType, java.lang.Class _javaType, javax.xml.namespace.QName _xmlType)
          Get Custom Serializer
static org.apache.axis.description.TypeDesc getTypeDesc()
          Return type metadata object
 int hashCode()
           
 void setAmount(java.math.BigDecimal amount)
          Sets the amount value for this Price.
 void setCurrencyCode(java.lang.String currencyCode)
          Sets the currencyCode value for this Price.
 void setFormattedPrice(java.lang.String formattedPrice)
          Sets the formattedPrice value for this Price.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Price

public Price()

Price

public Price(java.math.BigDecimal amount,
             java.lang.String currencyCode,
             java.lang.String formattedPrice)
Method Detail

getAmount

public java.math.BigDecimal getAmount()
Gets the amount value for this Price.

Returns:
amount

setAmount

public void setAmount(java.math.BigDecimal amount)
Sets the amount value for this Price.

Parameters:
amount -

getCurrencyCode

public java.lang.String getCurrencyCode()
Gets the currencyCode value for this Price.

Returns:
currencyCode

setCurrencyCode

public void setCurrencyCode(java.lang.String currencyCode)
Sets the currencyCode value for this Price.

Parameters:
currencyCode -

getFormattedPrice

public java.lang.String getFormattedPrice()
Gets the formattedPrice value for this Price.

Returns:
formattedPrice

setFormattedPrice

public void setFormattedPrice(java.lang.String formattedPrice)
Sets the formattedPrice value for this Price.

Parameters:
formattedPrice -

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

getTypeDesc

public static org.apache.axis.description.TypeDesc getTypeDesc()
Return type metadata object


getSerializer

public static org.apache.axis.encoding.Serializer getSerializer(java.lang.String mechType,
                                                                java.lang.Class _javaType,
                                                                javax.xml.namespace.QName _xmlType)
Get Custom Serializer


getDeserializer

public static org.apache.axis.encoding.Deserializer getDeserializer(java.lang.String mechType,
                                                                    java.lang.Class _javaType,
                                                                    javax.xml.namespace.QName _xmlType)
Get Custom Deserializer