Class InterestAccrualsMethod
java.lang.Object
net.finmath.smartcontract.product.xml.InterestAccrualsMethod
- Direct Known Subclasses:
InterestAccrualsCompoundingMethod,InterestCalculation
A type describing the method for accruing interests on dividends. Can be
either a fixed rate reference or a floating rate reference.
Java class for InterestAccrualsMethod complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="InterestAccrualsMethod">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<choice>
<element name="floatingRateCalculation" type="{http://www.fpml.org/FpML-5/confirmation}FloatingRateCalculation"/>
<element name="fixedRate" type="{http://www.w3.org/2001/XMLSchema}decimal"/>
</choice>
</restriction>
</complexContent>
</complexType>
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the value of the fixedRate property.Gets the value of the floatingRateCalculation property.voidsetFixedRate(BigDecimal value)Sets the value of the fixedRate property.voidSets the value of the floatingRateCalculation property.
-
Field Details
-
floatingRateCalculation
-
fixedRate
-
-
Constructor Details
-
InterestAccrualsMethod
public InterestAccrualsMethod()
-
-
Method Details
-
getFloatingRateCalculation
Gets the value of the floatingRateCalculation property.- Returns:
- possible object is
FloatingRateCalculation
-
setFloatingRateCalculation
Sets the value of the floatingRateCalculation property.- Parameters:
value- allowed object isFloatingRateCalculation
-
getFixedRate
Gets the value of the fixedRate property.- Returns:
- possible object is
BigDecimal
-
setFixedRate
Sets the value of the fixedRate property.- Parameters:
value- allowed object isBigDecimal
-