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
Fields inherited from class net.finmath.smartcontract.product.xml.NonNegativePayment
paymentAmount
Fields inherited from class net.finmath.smartcontract.product.xml.PaymentBaseExtended
payerAccountReference, payerPartyReference, paymentDate, receiverAccountReference, receiverPartyReference
Fields inherited from class net.finmath.smartcontract.product.xml.PaymentBase
id
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGets the value of the premiumPerUnit property.void
Sets the value of the premiumPerUnit property.Methods inherited from class net.finmath.smartcontract.product.xml.NonNegativePayment
getPaymentAmount, setPaymentAmount
Methods inherited from class net.finmath.smartcontract.product.xml.PaymentBaseExtended
getPayerAccountReference, getPayerPartyReference, getPaymentDate, getReceiverAccountReference, getReceiverPartyReference, setPayerAccountReference, setPayerPartyReference, setPaymentDate, setReceiverAccountReference, setReceiverPartyReference
Methods 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
-