Class AmountRef
java.lang.Object
net.finmath.smartcontract.product.xml.AmountRef
A type defining a nominal amount with a reference.
Java class for AmountRef complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="AmountRef"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="amount" type="{http://www.fpml.org/FpML-5/confirmation}PositiveDecimal"/> <element name="amountReference" type="{http://www.fpml.org/FpML-5/confirmation}AmountReference" minOccurs="0"/> </sequence> </restriction> </complexContent> </complexType>
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGets the value of the amount property.Gets the value of the amountReference property.void
setAmount
(BigDecimal value) Sets the value of the amount property.void
Sets the value of the amountReference property.
-
Field Details
-
amount
-
amountReference
-
-
Constructor Details
-
AmountRef
public AmountRef()
-
-
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
-
getAmountReference
Gets the value of the amountReference property.- Returns:
- possible object is
AmountReference
-
setAmountReference
Sets the value of the amountReference property.- Parameters:
value
- allowed object isAmountReference
-