Class CashflowNotional
java.lang.Object
net.finmath.smartcontract.product.xml.CashflowNotional
The notional/principal value/quantity/volume used to compute the
cashflow.
Java class for CashflowNotional complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="CashflowNotional"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <choice> <element name="currency" type="{http://www.fpml.org/FpML-5/confirmation}Currency"/> <element name="units" type="{http://www.fpml.org/FpML-5/confirmation}NormalizedString"/> </choice> <element name="amount" type="{http://www.w3.org/2001/XMLSchema}decimal"/> </sequence> <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" /> </restriction> </complexContent> </complexType>
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGets the value of the amount property.Gets the value of the currency property.getId()
Gets the value of the id property.getUnits()
Gets the value of the units property.void
setAmount
(BigDecimal value) Sets the value of the amount property.void
setCurrency
(Currency value) Sets the value of the currency property.void
Sets the value of the id property.void
Sets the value of the units property.
-
Field Details
-
currency
-
units
-
amount
-
id
-
-
Constructor Details
-
CashflowNotional
public CashflowNotional()
-
-
Method Details
-
getCurrency
-
setCurrency
-
getUnits
-
setUnits
-
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
-
getId
-
setId
-