Class CommodityOption

java.lang.Object
net.finmath.smartcontract.product.xml.Product
net.finmath.smartcontract.product.xml.CommodityOption

public class CommodityOption extends Product
Defines a commodity option product type. The product support for financially-settled exercises or exercise into physical forward contracts written on precious and non-precious metals. options in FpML is based on the creation of a 'commodityOption' product. The product references the 'commodity' underlyer in order to support the underlying asset of the option.

Java class for CommodityOption complex type.

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

 <complexType name="CommodityOption">
   <complexContent>
     <extension base="{http://www.fpml.org/FpML-5/confirmation}Product">
       <sequence>
         <group ref="{http://www.fpml.org/FpML-5/confirmation}BuyerSeller.model"/>
         <element name="optionType" type="{http://www.fpml.org/FpML-5/confirmation}PutCallEnum"/>
         <choice>
           <group ref="{http://www.fpml.org/FpML-5/confirmation}CommodityFinancialOption.model"/>
           <group ref="{http://www.fpml.org/FpML-5/confirmation}CommodityPhysicalOption.model"/>
           <group ref="{http://www.fpml.org/FpML-5/confirmation}CommodityWeatherOption.model"/>
         </choice>
         <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>