org.fpml.fpml_5.confirmation.Discounting Maven / Gradle / Ivy
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.3.2
// See https://javaee.github.io/jaxb-v2/
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2024.04.04 at 04:56:21 PM UTC
//
package org.fpml.fpml_5.confirmation;
import java.math.BigDecimal;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
/**
* 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>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "Discounting", propOrder = {
"discountingType",
"discountRate",
"discountRateDayCountFraction"
})
public class Discounting {
@XmlElement(required = true)
@XmlSchemaType(name = "token")
protected DiscountingTypeEnum discountingType;
protected BigDecimal discountRate;
protected DayCountFraction discountRateDayCountFraction;
/**
* Gets the value of the discountingType property.
*
* @return
* possible object is
* {@link DiscountingTypeEnum }
*
*/
public DiscountingTypeEnum getDiscountingType() {
return discountingType;
}
/**
* Sets the value of the discountingType property.
*
* @param value
* allowed object is
* {@link DiscountingTypeEnum }
*
*/
public void setDiscountingType(DiscountingTypeEnum value) {
this.discountingType = value;
}
/**
* Gets the value of the discountRate property.
*
* @return
* possible object is
* {@link BigDecimal }
*
*/
public BigDecimal getDiscountRate() {
return discountRate;
}
/**
* Sets the value of the discountRate property.
*
* @param value
* allowed object is
* {@link BigDecimal }
*
*/
public void setDiscountRate(BigDecimal value) {
this.discountRate = value;
}
/**
* Gets the value of the discountRateDayCountFraction property.
*
* @return
* possible object is
* {@link DayCountFraction }
*
*/
public DayCountFraction getDiscountRateDayCountFraction() {
return discountRateDayCountFraction;
}
/**
* Sets the value of the discountRateDayCountFraction property.
*
* @param value
* allowed object is
* {@link DayCountFraction }
*
*/
public void setDiscountRateDayCountFraction(DayCountFraction value) {
this.discountRateDayCountFraction = value;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy