net.finmath.smartcontract.product.xml.InstrumentTradeQuantity 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 java.math.BigDecimal;
import jakarta.xml.bind.annotation.XmlAccessType;
import jakarta.xml.bind.annotation.XmlAccessorType;
import jakarta.xml.bind.annotation.XmlType;
/**
* A structure describing the amount of an instrument that was traded.
*
*
* Java class for InstrumentTradeQuantity complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="InstrumentTradeQuantity">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <choice>
* <element name="number" type="{http://www.w3.org/2001/XMLSchema}decimal"/>
* <element name="nominal" type="{http://www.fpml.org/FpML-5/confirmation}Money"/>
* </choice>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "InstrumentTradeQuantity", propOrder = {
"number",
"nominal"
})
public class InstrumentTradeQuantity {
protected BigDecimal number;
protected Money nominal;
/**
* Gets the value of the number property.
*
* @return
* possible object is
* {@link BigDecimal }
*
*/
public BigDecimal getNumber() {
return number;
}
/**
* Sets the value of the number property.
*
* @param value
* allowed object is
* {@link BigDecimal }
*
*/
public void setNumber(BigDecimal value) {
this.number = value;
}
/**
* Gets the value of the nominal property.
*
* @return
* possible object is
* {@link Money }
*
*/
public Money getNominal() {
return nominal;
}
/**
* Sets the value of the nominal property.
*
* @param value
* allowed object is
* {@link Money }
*
*/
public void setNominal(Money value) {
this.nominal = value;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy