Class InstrumentTradeQuantity
java.lang.Object
net.finmath.smartcontract.product.xml.InstrumentTradeQuantity
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>
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGets the value of the nominal property.Gets the value of the number property.void
setNominal
(Money value) Sets the value of the nominal property.void
setNumber
(BigDecimal value) Sets the value of the number property.
-
Field Details
-
number
-
nominal
-
-
Constructor Details
-
InstrumentTradeQuantity
public InstrumentTradeQuantity()
-
-
Method Details
-
getNumber
Gets the value of the number property.- Returns:
- possible object is
BigDecimal
-
setNumber
Sets the value of the number property.- Parameters:
value
- allowed object isBigDecimal
-
getNominal
-
setNominal
-