net.finmath.smartcontract.product.xml.FeeElectionEnum Maven / Gradle / Ivy
//
// This file was generated by the Eclipse Implementation of JAXB, v3.0.0
// See https://eclipse-ee4j.github.io/jaxb-ri
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2024.12.05 at 10:53:57 AM CET
//
package net.finmath.smartcontract.product.xml;
import jakarta.xml.bind.annotation.XmlEnum;
import jakarta.xml.bind.annotation.XmlEnumValue;
import jakarta.xml.bind.annotation.XmlType;
/**
* Java class for FeeElectionEnum.
*
*
The following schema fragment specifies the expected content contained within this class.
*
* <simpleType name="FeeElectionEnum">
* <restriction base="{http://www.w3.org/2001/XMLSchema}token">
* <enumeration value="FlatFee"/>
* <enumeration value="AmortizedFee"/>
* <enumeration value="FundingFee"/>
* <enumeration value="FlatFeeAndFundingFee"/>
* <enumeration value="AmortizedFeeAndFundingFee"/>
* </restriction>
* </simpleType>
*
*
*/
@XmlType(name = "FeeElectionEnum")
@XmlEnum
public enum FeeElectionEnum {
/**
* The product of (i) the Break Fee Rate
* multiplied by (ii) the Equity Notional Amount corresponding to the Early Termination Portion.
*
*
*/
@XmlEnumValue("FlatFee")
FLAT_FEE("FlatFee"),
/**
* The product of (i) the Break Fee Rate
* multiplied by (ii) the Equity Notional Amount corresponding to the Early Termination Portion
* multiplied by (iii) the number of days from the Early Termination Date to the later of the
* Termination Date or the Cash Settlement Payment Date corresponding to the latest Valuation Date.
*
*
*/
@XmlEnumValue("AmortizedFee")
AMORTIZED_FEE("AmortizedFee"),
/**
* The product of (i) the Equity Notional
* Amount corresponding to the Early Termination Portion multiplied by (ii) the Break Funding Rate
* multiplied by (iii) the number of days from the Early Termination Date to the next scheduled
* Reset Date divided by (iv) a number equivalent to the denominator of the Day Count Fraction
* applicable to the Floating Rate Option.
*
*
*/
@XmlEnumValue("FundingFee")
FUNDING_FEE("FundingFee"),
/**
* Both Flat Fee and Funding Fee are
* applicable.
*
*
*/
@XmlEnumValue("FlatFeeAndFundingFee")
FLAT_FEE_AND_FUNDING_FEE("FlatFeeAndFundingFee"),
/**
* Amortized Fee and Funding Fee are
* applicable.
*
*
*/
@XmlEnumValue("AmortizedFeeAndFundingFee")
AMORTIZED_FEE_AND_FUNDING_FEE("AmortizedFeeAndFundingFee");
private final String value;
FeeElectionEnum(String v) {
value = v;
}
public String value() {
return value;
}
public static FeeElectionEnum fromValue(String v) {
for (FeeElectionEnum c: FeeElectionEnum.values()) {
if (c.value.equals(v)) {
return c;
}
}
throw new IllegalArgumentException(v);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy