Class Money
java.lang.Object
com.oracle.communications.brm.cc.model.Money
- All Implemented Interfaces:
Serializable
The amount of money.
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>
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected BigDecimalThe amount of money.protected IntegerThe currency for the money. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionThe amount of money.The currency for the money.voidsetAmount(BigDecimal value) Sets the value of the amount property.voidsetCurrency(Integer value) Sets the value of the currency property.
-
Field Details
-
amount
The amount of money. -
currency
The currency for the money.
-
-
Constructor Details
-
Money
public Money()
-
-
Method Details
-
getAmount
The amount of money.- Returns:
- possible object is
BigDecimal
-
setAmount
Sets the value of the amount property.- Parameters:
value- allowed object isBigDecimal- See Also:
-
getCurrency
The currency for the money.- Returns:
- possible object is
Integer
-
setCurrency
Sets the value of the currency property.- Parameters:
value- allowed object isInteger- See Also:
-