Class CommodityDigital
java.lang.Object
net.finmath.smartcontract.product.xml.CommodityDigital
Defined the conditions under which the digital option can triggers and, if
triggered, what payment results.
Java class for CommodityDigital complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="CommodityDigital"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="trigger" type="{http://www.fpml.org/FpML-5/confirmation}CommodityTrigger"/> <element name="featurePaymentAmount" type="{http://www.fpml.org/FpML-5/confirmation}PositiveMoney"/> </sequence> </restriction> </complexContent> </complexType>
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGets the value of the featurePaymentAmount property.Gets the value of the trigger property.void
Sets the value of the featurePaymentAmount property.void
setTrigger
(CommodityTrigger value) Sets the value of the trigger property.
-
Field Details
-
trigger
-
featurePaymentAmount
-
-
Constructor Details
-
CommodityDigital
public CommodityDigital()
-
-
Method Details
-
getTrigger
Gets the value of the trigger property.- Returns:
- possible object is
CommodityTrigger
-
setTrigger
Sets the value of the trigger property.- Parameters:
value
- allowed object isCommodityTrigger
-
getFeaturePaymentAmount
Gets the value of the featurePaymentAmount property.- Returns:
- possible object is
PositiveMoney
-
setFeaturePaymentAmount
Sets the value of the featurePaymentAmount property.- Parameters:
value
- allowed object isPositiveMoney
-