Class CommodityTrigger

java.lang.Object
net.finmath.smartcontract.product.xml.CommodityTrigger

public class CommodityTrigger extends Object
The barrier which, when breached, triggers the knock-in or knock-out of the barrier option.

Java class for CommodityTrigger complex type.

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

 <complexType name="CommodityTrigger">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <choice>
           <sequence>
             <element name="levelQuantity" type="{http://www.w3.org/2001/XMLSchema}decimal"/>
             <element name="levelUnit" type="{http://www.fpml.org/FpML-5/confirmation}QuantityUnit"/>
           </sequence>
           <element name="levelPercentage" type="{http://www.w3.org/2001/XMLSchema}decimal"/>
           <element name="levelPrice" type="{http://www.fpml.org/FpML-5/confirmation}FixedPrice"/>
         </choice>
         <element name="triggerType" type="{http://www.fpml.org/FpML-5/confirmation}TriggerTypeEnum"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>