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

net.finmath.smartcontract.product.xml.CrossRate 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 java.math.BigDecimal;
import jakarta.xml.bind.annotation.XmlAccessType;
import jakarta.xml.bind.annotation.XmlAccessorType;
import jakarta.xml.bind.annotation.XmlElement;
import jakarta.xml.bind.annotation.XmlType;


/**
 * A type that is used for including the currency exchange rates used to cross
 *                 between the traded currencies for non-base currency FX contracts.
 *             
 * 
 * 

Java class for CrossRate complex type. * *

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

 * <complexType name="CrossRate">
 *   <complexContent>
 *     <extension base="{http://www.fpml.org/FpML-5/confirmation}QuotedCurrencyPair">
 *       <sequence>
 *         <element name="rate" type="{http://www.fpml.org/FpML-5/confirmation}PositiveDecimal"/>
 *         <sequence minOccurs="0">
 *           <element name="spotRate" type="{http://www.fpml.org/FpML-5/confirmation}PositiveDecimal"/>
 *           <element name="forwardPoints" type="{http://www.w3.org/2001/XMLSchema}decimal" minOccurs="0"/>
 *         </sequence>
 *       </sequence>
 *     </extension>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "CrossRate", propOrder = { "rate", "spotRate", "forwardPoints" }) public class CrossRate extends QuotedCurrencyPair { @XmlElement(required = true) protected BigDecimal rate; protected BigDecimal spotRate; protected BigDecimal forwardPoints; /** * Gets the value of the rate property. * * @return * possible object is * {@link BigDecimal } * */ public BigDecimal getRate() { return rate; } /** * Sets the value of the rate property. * * @param value * allowed object is * {@link BigDecimal } * */ public void setRate(BigDecimal value) { this.rate = value; } /** * Gets the value of the spotRate property. * * @return * possible object is * {@link BigDecimal } * */ public BigDecimal getSpotRate() { return spotRate; } /** * Sets the value of the spotRate property. * * @param value * allowed object is * {@link BigDecimal } * */ public void setSpotRate(BigDecimal value) { this.spotRate = value; } /** * Gets the value of the forwardPoints property. * * @return * possible object is * {@link BigDecimal } * */ public BigDecimal getForwardPoints() { return forwardPoints; } /** * Sets the value of the forwardPoints property. * * @param value * allowed object is * {@link BigDecimal } * */ public void setForwardPoints(BigDecimal value) { this.forwardPoints = value; } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy