Class CommodityPremium
java.lang.Object
net.finmath.smartcontract.product.xml.PaymentBase
net.finmath.smartcontract.product.xml.PaymentBaseExtended
net.finmath.smartcontract.product.xml.NonNegativePayment
net.finmath.smartcontract.product.xml.CommodityPremium
The commodity option premium payable by the buyer to the seller.
Java class for CommodityPremium complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="CommodityPremium">
<complexContent>
<extension base="{http://www.fpml.org/FpML-5/confirmation}NonNegativePayment">
<sequence>
<element name="premiumPerUnit" type="{http://www.fpml.org/FpML-5/confirmation}NonNegativeMoney" minOccurs="0"/>
</sequence>
</extension>
</complexContent>
</complexType>
-
Field Summary
FieldsFields inherited from class net.finmath.smartcontract.product.xml.NonNegativePayment
paymentAmountFields inherited from class net.finmath.smartcontract.product.xml.PaymentBaseExtended
payerAccountReference, payerPartyReference, paymentDate, receiverAccountReference, receiverPartyReferenceFields inherited from class net.finmath.smartcontract.product.xml.PaymentBase
id -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the value of the premiumPerUnit property.voidsetPremiumPerUnit(NonNegativeMoney value)Sets the value of the premiumPerUnit property.Methods inherited from class net.finmath.smartcontract.product.xml.NonNegativePayment
getPaymentAmount, setPaymentAmountMethods inherited from class net.finmath.smartcontract.product.xml.PaymentBaseExtended
getPayerAccountReference, getPayerPartyReference, getPaymentDate, getReceiverAccountReference, getReceiverPartyReference, setPayerAccountReference, setPayerPartyReference, setPaymentDate, setReceiverAccountReference, setReceiverPartyReferenceMethods inherited from class net.finmath.smartcontract.product.xml.PaymentBase
getId, setId
-
Field Details
-
Constructor Details
-
CommodityPremium
public CommodityPremium()
-
-
Method Details
-
getPremiumPerUnit
Gets the value of the premiumPerUnit property.- Returns:
- possible object is
NonNegativeMoney
-
setPremiumPerUnit
Sets the value of the premiumPerUnit property.- Parameters:
value- allowed object isNonNegativeMoney
-