Class CommodityDigitalOption

java.lang.Object
net.finmath.smartcontract.product.xml.Product
net.finmath.smartcontract.product.xml.Option
net.finmath.smartcontract.product.xml.CommodityDigitalOption

public class CommodityDigitalOption extends Option
Defines the digital commodity option product type. Digital options exercise when a barrier is breached and are financially settled. The 'commodityDigitalOption' type is an extension of the 'commodityOption' product.

Java class for CommodityDigitalOption complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="CommodityDigitalOption">
   <complexContent>
     <extension base="{http://www.fpml.org/FpML-5/confirmation}Option">
       <sequence>
         <element name="optionType" type="{http://www.fpml.org/FpML-5/confirmation}PutCallEnum"/>
         <element name="commodity" type="{http://www.fpml.org/FpML-5/confirmation}Commodity"/>
         <group ref="{http://www.fpml.org/FpML-5/confirmation}CommodityDigitalOptionFeatures.model"/>
         <choice>
           <element name="notionalAmount" type="{http://www.fpml.org/FpML-5/confirmation}NotionalAmount"/>
           <sequence>
             <element name="notionalQuantity" type="{http://www.fpml.org/FpML-5/confirmation}CommodityNotionalQuantity"/>
             <element name="totalNotionalQuantity" type="{http://www.w3.org/2001/XMLSchema}decimal" minOccurs="0"/>
           </sequence>
         </choice>
         <element name="exercise" type="{http://www.fpml.org/FpML-5/confirmation}CommodityDigitalExercise"/>
         <element name="premium" type="{http://www.fpml.org/FpML-5/confirmation}CommodityPremium" maxOccurs="unbounded"/>
         <group ref="{http://www.fpml.org/FpML-5/confirmation}CommodityContent.model" minOccurs="0"/>
       </sequence>
     </extension>
   </complexContent>
 </complexType>