net.finmath.smartcontract.product.xml.CommissionDenominationEnum 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 CommissionDenominationEnum.
*
*
The following schema fragment specifies the expected content contained within this class.
*
* <simpleType name="CommissionDenominationEnum">
* <restriction base="{http://www.w3.org/2001/XMLSchema}token">
* <enumeration value="BPS"/>
* <enumeration value="Percentage"/>
* <enumeration value="CentsPerShare"/>
* <enumeration value="FixedAmount"/>
* </restriction>
* </simpleType>
*
*
*/
@XmlType(name = "CommissionDenominationEnum")
@XmlEnum
public enum CommissionDenominationEnum {
/**
* The commission is expressed in basis
* points, in reference to the price referenced in the document.
*
*
*/
BPS("BPS"),
/**
* The commission is expressed as a
* percentage of the gross price referenced in the document.
*
*
*/
@XmlEnumValue("Percentage")
PERCENTAGE("Percentage"),
/**
* The commission is expressed in cents
* per share.
*
*
*/
@XmlEnumValue("CentsPerShare")
CENTS_PER_SHARE("CentsPerShare"),
/**
* The commission is expressed as a
* absolute amount.
*
*
*/
@XmlEnumValue("FixedAmount")
FIXED_AMOUNT("FixedAmount");
private final String value;
CommissionDenominationEnum(String v) {
value = v;
}
public String value() {
return value;
}
public static CommissionDenominationEnum fromValue(String v) {
for (CommissionDenominationEnum c: CommissionDenominationEnum.values()) {
if (c.value.equals(v)) {
return c;
}
}
throw new IllegalArgumentException(v);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy