Class FxRate
java.lang.Object
net.finmath.smartcontract.product.xml.FxRate
A type describing the rate of a currency conversion: pair of currency,
quotation mode and exchange rate.
Java class for FxRate complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="FxRate">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="quotedCurrencyPair" type="{http://www.fpml.org/FpML-5/confirmation}QuotedCurrencyPair"/>
<element name="rate" type="{http://www.w3.org/2001/XMLSchema}decimal"/>
</sequence>
</restriction>
</complexContent>
</complexType>
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the value of the quotedCurrencyPair property.getRate()Gets the value of the rate property.voidSets the value of the quotedCurrencyPair property.voidsetRate(BigDecimal value)Sets the value of the rate property.
-
Field Details
-
quotedCurrencyPair
-
rate
-
-
Constructor Details
-
FxRate
public FxRate()
-
-
Method Details
-
getQuotedCurrencyPair
Gets the value of the quotedCurrencyPair property.- Returns:
- possible object is
QuotedCurrencyPair
-
setQuotedCurrencyPair
Sets the value of the quotedCurrencyPair property.- Parameters:
value- allowed object isQuotedCurrencyPair
-
getRate
Gets the value of the rate property.- Returns:
- possible object is
BigDecimal
-
setRate
Sets the value of the rate property.- Parameters:
value- allowed object isBigDecimal
-