net.finmath.smartcontract.product.xml.CommodityDigital Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of finmath-smart-derivative-contract Show documentation
Show all versions of finmath-smart-derivative-contract Show documentation
Project to support the implementation a of smart derivative contract.
//
// 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.XmlAccessType;
import jakarta.xml.bind.annotation.XmlAccessorType;
import jakarta.xml.bind.annotation.XmlElement;
import jakarta.xml.bind.annotation.XmlType;
/**
* Defined the conditions under which the digital option can triggers and, if
* triggered, what payment results.
*
*
* Java class for CommodityDigital complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="CommodityDigital">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="trigger" type="{http://www.fpml.org/FpML-5/confirmation}CommodityTrigger"/>
* <element name="featurePaymentAmount" type="{http://www.fpml.org/FpML-5/confirmation}PositiveMoney"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "CommodityDigital", propOrder = {
"trigger",
"featurePaymentAmount"
})
public class CommodityDigital {
@XmlElement(required = true)
protected CommodityTrigger trigger;
@XmlElement(required = true)
protected PositiveMoney featurePaymentAmount;
/**
* Gets the value of the trigger property.
*
* @return
* possible object is
* {@link CommodityTrigger }
*
*/
public CommodityTrigger getTrigger() {
return trigger;
}
/**
* Sets the value of the trigger property.
*
* @param value
* allowed object is
* {@link CommodityTrigger }
*
*/
public void setTrigger(CommodityTrigger value) {
this.trigger = value;
}
/**
* Gets the value of the featurePaymentAmount property.
*
* @return
* possible object is
* {@link PositiveMoney }
*
*/
public PositiveMoney getFeaturePaymentAmount() {
return featurePaymentAmount;
}
/**
* Sets the value of the featurePaymentAmount property.
*
* @param value
* allowed object is
* {@link PositiveMoney }
*
*/
public void setFeaturePaymentAmount(PositiveMoney value) {
this.featurePaymentAmount = value;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy