All Downloads are FREE. Search and download functionalities are using the official Maven repository.

net.finmath.smartcontract.product.xml.PremiumQuoteBasisEnum Maven / Gradle / Ivy

There is a newer version: 1.0.6
Show newest version
//
// 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 PremiumQuoteBasisEnum. * *

The following schema fragment specifies the expected content contained within this class. *

 * <simpleType name="PremiumQuoteBasisEnum">
 *   <restriction base="{http://www.w3.org/2001/XMLSchema}token">
 *     <enumeration value="PercentageOfCallCurrencyAmount"/>
 *     <enumeration value="PercentageOfPutCurrencyAmount"/>
 *     <enumeration value="CallCurrencyPerPutCurrency"/>
 *     <enumeration value="PutCurrencyPerCallCurrency"/>
 *     <enumeration value="Explicit"/>
 *   </restriction>
 * </simpleType>
 * 
* */ @XmlType(name = "PremiumQuoteBasisEnum") @XmlEnum public enum PremiumQuoteBasisEnum { /** * Premium is quoted as a percentage of * the callCurrencyAmount. * * */ @XmlEnumValue("PercentageOfCallCurrencyAmount") PERCENTAGE_OF_CALL_CURRENCY_AMOUNT("PercentageOfCallCurrencyAmount"), /** * Premium is quoted as a percentage of * the putCurrencyAmount. * * */ @XmlEnumValue("PercentageOfPutCurrencyAmount") PERCENTAGE_OF_PUT_CURRENCY_AMOUNT("PercentageOfPutCurrencyAmount"), /** * Premium is quoted in the call currency * as a percentage of the put currency. * * */ @XmlEnumValue("CallCurrencyPerPutCurrency") CALL_CURRENCY_PER_PUT_CURRENCY("CallCurrencyPerPutCurrency"), /** * Premium is quoted in the put currency * as a percentage of the call currency. * * */ @XmlEnumValue("PutCurrencyPerCallCurrency") PUT_CURRENCY_PER_CALL_CURRENCY("PutCurrencyPerCallCurrency"), /** * Premium is quoted as an explicit * amount. * * */ @XmlEnumValue("Explicit") EXPLICIT("Explicit"); private final String value; PremiumQuoteBasisEnum(String v) { value = v; } public String value() { return value; } public static PremiumQuoteBasisEnum fromValue(String v) { for (PremiumQuoteBasisEnum c: PremiumQuoteBasisEnum.values()) { if (c.value.equals(v)) { return c; } } throw new IllegalArgumentException(v); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy