Class Discounting
java.lang.Object
net.finmath.smartcontract.product.xml.Discounting
A type defining discounting information. The 2000 ISDA definitions, section
8.4. discounting (related to the calculation of a discounted fixed amount or floating amount) apply.
This type must only be included if discounting applies.
Java class for Discounting complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="Discounting"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="discountingType" type="{http://www.fpml.org/FpML-5/confirmation}DiscountingTypeEnum"/> <group ref="{http://www.fpml.org/FpML-5/confirmation}DiscountRate.model" minOccurs="0"/> </sequence> </restriction> </complexContent> </complexType>
-
Field Summary
Modifier and TypeFieldDescriptionprotected DiscountingTypeEnum
protected BigDecimal
protected DayCountFraction
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGets the value of the discountingType property.Gets the value of the discountRate property.Gets the value of the discountRateDayCountFraction property.void
Sets the value of the discountingType property.void
setDiscountRate
(BigDecimal value) Sets the value of the discountRate property.void
Sets the value of the discountRateDayCountFraction property.
-
Field Details
-
discountingType
-
discountRate
-
discountRateDayCountFraction
-
-
Constructor Details
-
Discounting
public Discounting()
-
-
Method Details
-
getDiscountingType
Gets the value of the discountingType property.- Returns:
- possible object is
DiscountingTypeEnum
-
setDiscountingType
Sets the value of the discountingType property.- Parameters:
value
- allowed object isDiscountingTypeEnum
-
getDiscountRate
Gets the value of the discountRate property.- Returns:
- possible object is
BigDecimal
-
setDiscountRate
Sets the value of the discountRate property.- Parameters:
value
- allowed object isBigDecimal
-
getDiscountRateDayCountFraction
Gets the value of the discountRateDayCountFraction property.- Returns:
- possible object is
DayCountFraction
-
setDiscountRateDayCountFraction
Sets the value of the discountRateDayCountFraction property.- Parameters:
value
- allowed object isDayCountFraction
-