com.amazonaws.a2s.model
Class Price

java.lang.Object
  extended by com.amazonaws.a2s.model.Price

public class Price
extends java.lang.Object

Java class for Price complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="Price">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="Amount" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/>
         <element name="CurrencyCode" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="FormattedPrice" type="{http://www.w3.org/2001/XMLSchema}string"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 
Generated by AWS Code Generator

Thu Jan 10 05:27:59 PST 2008


Field Summary
protected  java.lang.Integer amount
           
protected  java.lang.String currencyCode
           
protected  java.lang.String formattedPrice
           
 
Constructor Summary
Price()
           
 
Method Summary
 java.lang.Integer getAmount()
          Gets the value of the amount property.
 java.lang.String getCurrencyCode()
          Gets the value of the currencyCode property.
 java.lang.String getFormattedPrice()
          Gets the value of the formattedPrice property.
 boolean isSetAmount()
           
 boolean isSetCurrencyCode()
           
 boolean isSetFormattedPrice()
           
 void setAmount(java.lang.Integer value)
          Sets the value of the amount property.
 void setCurrencyCode(java.lang.String value)
          Sets the value of the currencyCode property.
 void setFormattedPrice(java.lang.String value)
          Sets the value of the formattedPrice property.
protected  java.lang.String toXMLFragment()
          XML fragment representation of this object
 Price withAmount(java.lang.Integer value)
          Sets the value of the Amount property.
 Price withCurrencyCode(java.lang.String value)
          Sets the value of the CurrencyCode property.
 Price withFormattedPrice(java.lang.String value)
          Sets the value of the FormattedPrice property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

amount

protected java.lang.Integer amount

currencyCode

protected java.lang.String currencyCode

formattedPrice

protected java.lang.String formattedPrice
Constructor Detail

Price

public Price()
Method Detail

getAmount

public java.lang.Integer getAmount()
Gets the value of the amount property.

Returns:
possible object is Integer

setAmount

public void setAmount(java.lang.Integer value)
Sets the value of the amount property.

Parameters:
value - allowed object is Integer

isSetAmount

public boolean isSetAmount()

getCurrencyCode

public java.lang.String getCurrencyCode()
Gets the value of the currencyCode property.

Returns:
possible object is String

setCurrencyCode

public void setCurrencyCode(java.lang.String value)
Sets the value of the currencyCode property.

Parameters:
value - allowed object is String

isSetCurrencyCode

public boolean isSetCurrencyCode()

getFormattedPrice

public java.lang.String getFormattedPrice()
Gets the value of the formattedPrice property.

Returns:
possible object is String

setFormattedPrice

public void setFormattedPrice(java.lang.String value)
Sets the value of the formattedPrice property.

Parameters:
value - allowed object is String

isSetFormattedPrice

public boolean isSetFormattedPrice()

withAmount

public Price withAmount(java.lang.Integer value)
Sets the value of the Amount property.

Parameters:
value -
Returns:
this instance

withCurrencyCode

public Price withCurrencyCode(java.lang.String value)
Sets the value of the CurrencyCode property.

Parameters:
value -
Returns:
this instance

withFormattedPrice

public Price withFormattedPrice(java.lang.String value)
Sets the value of the FormattedPrice property.

Parameters:
value -
Returns:
this instance

toXMLFragment

protected java.lang.String toXMLFragment()
XML fragment representation of this object

Returns:
XML fragment for this object. Name for outer tag expected to be set by calling method. This fragment returns inner properties representation only