Class PositiveMoney
java.lang.Object
net.finmath.smartcontract.product.xml.MoneyBase
net.finmath.smartcontract.product.xml.PositiveMoney
- Direct Known Subclasses:
MoneyRef
A type defining a positive money amount
Java class for PositiveMoney complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="PositiveMoney"> <complexContent> <extension base="{http://www.fpml.org/FpML-5/confirmation}MoneyBase"> <sequence> <element name="amount" type="{http://www.fpml.org/FpML-5/confirmation}PositiveDecimal"/> </sequence> </extension> </complexContent> </complexType>
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGets the value of the amount property.void
setAmount
(BigDecimal value) Sets the value of the amount property.Methods inherited from class net.finmath.smartcontract.product.xml.MoneyBase
getCurrency, getId, setCurrency, setId
-
Field Details
-
amount
-
-
Constructor Details
-
PositiveMoney
public PositiveMoney()
-
-
Method Details
-
getAmount
Gets the value of the amount property.- Returns:
- possible object is
BigDecimal
-
setAmount
Sets the value of the amount property.- Parameters:
value
- allowed object isBigDecimal
-