public class Money extends Object implements Serializable
Java class for money complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="money">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="amount" type="{http://www.w3.org/2001/XMLSchema}decimal"/>
<element name="currency" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected BigDecimal |
amount |
protected Integer |
currency |
| Constructor and Description |
|---|
Money() |
| Modifier and Type | Method and Description |
|---|---|
BigDecimal |
getAmount()
Gets the value of the amount property.
|
Integer |
getCurrency()
Gets the value of the currency property.
|
void |
setAmount(BigDecimal value)
Sets the value of the amount property.
|
void |
setCurrency(Integer value)
Sets the value of the currency property.
|
protected BigDecimal amount
protected Integer currency
public BigDecimal getAmount()
BigDecimalpublic void setAmount(BigDecimal value)
value - allowed object is
BigDecimalpublic Integer getCurrency()
Integer