Class OptionNumericStrike
java.lang.Object
net.finmath.smartcontract.product.xml.OptionNumericStrike
- Direct Known Subclasses:
OptionStrike
A type for defining the strike price for an option as a numeric value
without currency.
Java class for OptionNumericStrike complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="OptionNumericStrike"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <choice> <element name="strikePrice" type="{http://www.w3.org/2001/XMLSchema}decimal"/> <element name="strikePercentage" type="{http://www.w3.org/2001/XMLSchema}decimal"/> </choice> </sequence> </restriction> </complexContent> </complexType>
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGets the value of the strikePercentage property.Gets the value of the strikePrice property.void
setStrikePercentage
(BigDecimal value) Sets the value of the strikePercentage property.void
setStrikePrice
(BigDecimal value) Sets the value of the strikePrice property.
-
Field Details
-
strikePrice
-
strikePercentage
-
-
Constructor Details
-
OptionNumericStrike
public OptionNumericStrike()
-
-
Method Details
-
getStrikePrice
Gets the value of the strikePrice property.- Returns:
- possible object is
BigDecimal
-
setStrikePrice
Sets the value of the strikePrice property.- Parameters:
value
- allowed object isBigDecimal
-
getStrikePercentage
Gets the value of the strikePercentage property.- Returns:
- possible object is
BigDecimal
-
setStrikePercentage
Sets the value of the strikePercentage property.- Parameters:
value
- allowed object isBigDecimal
-