net.finmath.smartcontract.product.xml.FixedPrice 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 java.math.BigDecimal;
import jakarta.xml.bind.annotation.XmlAccessType;
import jakarta.xml.bind.annotation.XmlAccessorType;
import jakarta.xml.bind.annotation.XmlAttribute;
import jakarta.xml.bind.annotation.XmlElement;
import jakarta.xml.bind.annotation.XmlID;
import jakarta.xml.bind.annotation.XmlSchemaType;
import jakarta.xml.bind.annotation.XmlSeeAlso;
import jakarta.xml.bind.annotation.XmlType;
import jakarta.xml.bind.annotation.adapters.CollapsedStringAdapter;
import jakarta.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
/**
* A type defining the Fixed Price.
*
* Java class for FixedPrice complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="FixedPrice">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="price" type="{http://www.w3.org/2001/XMLSchema}decimal"/>
* <group ref="{http://www.fpml.org/FpML-5/confirmation}Price.model"/>
* </sequence>
* <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" />
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "FixedPrice", propOrder = {
"price",
"priceCurrency",
"priceUnit"
})
@XmlSeeAlso({
SettlementPeriodsFixedPrice.class
})
public class FixedPrice {
@XmlElement(required = true)
protected BigDecimal price;
@XmlElement(required = true)
protected Currency priceCurrency;
@XmlElement(required = true)
protected QuantityUnit priceUnit;
@XmlAttribute(name = "id")
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
@XmlID
@XmlSchemaType(name = "ID")
protected String id;
/**
* Gets the value of the price property.
*
* @return
* possible object is
* {@link BigDecimal }
*
*/
public BigDecimal getPrice() {
return price;
}
/**
* Sets the value of the price property.
*
* @param value
* allowed object is
* {@link BigDecimal }
*
*/
public void setPrice(BigDecimal value) {
this.price = value;
}
/**
* Gets the value of the priceCurrency property.
*
* @return
* possible object is
* {@link Currency }
*
*/
public Currency getPriceCurrency() {
return priceCurrency;
}
/**
* Sets the value of the priceCurrency property.
*
* @param value
* allowed object is
* {@link Currency }
*
*/
public void setPriceCurrency(Currency value) {
this.priceCurrency = value;
}
/**
* Gets the value of the priceUnit property.
*
* @return
* possible object is
* {@link QuantityUnit }
*
*/
public QuantityUnit getPriceUnit() {
return priceUnit;
}
/**
* Sets the value of the priceUnit property.
*
* @param value
* allowed object is
* {@link QuantityUnit }
*
*/
public void setPriceUnit(QuantityUnit value) {
this.priceUnit = value;
}
/**
* Gets the value of the id property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getId() {
return id;
}
/**
* Sets the value of the id property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setId(String value) {
this.id = value;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy