
org.fpml.fpml_5.confirmation.CrossRate Maven / Gradle / Ivy
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.3.2
// See https://javaee.github.io/jaxb-v2/
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2024.04.04 at 04:56:21 PM UTC
//
package org.fpml.fpml_5.confirmation;
import java.math.BigDecimal;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.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