public class Money extends Object
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"> <all> <element name="amount" type="{http://www.w3.org/2001/XMLSchema}decimal"/> <element name="currency" type="{http://rest.immobilienscout24.de/schema/common/1.0}Currency"/> </all> </restriction> </complexContent> </complexType>
Modifier and Type | Field and Description |
---|---|
protected BigDecimal |
amount |
protected Currency |
currency |
Constructor and Description |
---|
Money() |
Modifier and Type | Method and Description |
---|---|
BigDecimal |
getAmount()
Gets the value of the amount property.
|
Currency |
getCurrency()
Gets the value of the currency property.
|
void |
setAmount(BigDecimal value)
Sets the value of the amount property.
|
void |
setCurrency(Currency value)
Sets the value of the currency property.
|
protected BigDecimal amount
protected Currency currency
public BigDecimal getAmount()
BigDecimal
public void setAmount(BigDecimal value)
value
- allowed object is
BigDecimal
public Currency getCurrency()
Currency
Copyright © 2014 OpenEstate. All rights reserved.