Class Premium
java.lang.Object
net.finmath.smartcontract.product.xml.PaymentBase
net.finmath.smartcontract.product.xml.SimplePayment
net.finmath.smartcontract.product.xml.Premium
A type for defining a premium.
Java class for Premium complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="Premium"> <complexContent> <extension base="{http://www.fpml.org/FpML-5/confirmation}SimplePayment"> <sequence> <group ref="{http://www.fpml.org/FpML-5/confirmation}Premium.model" minOccurs="0"/> <group ref="{http://www.fpml.org/FpML-5/confirmation}PaymentDiscounting.model" minOccurs="0"/> </sequence> </extension> </complexContent> </complexType>
-
Field Summary
Modifier and TypeFieldDescriptionprotected BigDecimal
protected BigDecimal
protected PremiumTypeEnum
protected Money
protected Money
Fields inherited from class net.finmath.smartcontract.product.xml.SimplePayment
payerAccountReference, payerPartyReference, paymentAmount, 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 discountFactor property.Gets the value of the percentageOfNotional property.Gets the value of the premiumType property.Gets the value of the presentValueAmount property.Gets the value of the pricePerOption property.void
setDiscountFactor
(BigDecimal value) Sets the value of the discountFactor property.void
Sets the value of the percentageOfNotional property.void
setPremiumType
(PremiumTypeEnum value) Sets the value of the premiumType property.void
setPresentValueAmount
(Money value) Sets the value of the presentValueAmount property.void
setPricePerOption
(Money value) Sets the value of the pricePerOption property.Methods inherited from class net.finmath.smartcontract.product.xml.SimplePayment
getPayerAccountReference, getPayerPartyReference, getPaymentAmount, getPaymentDate, getReceiverAccountReference, getReceiverPartyReference, setPayerAccountReference, setPayerPartyReference, setPaymentAmount, setPaymentDate, setReceiverAccountReference, setReceiverPartyReference
Methods inherited from class net.finmath.smartcontract.product.xml.PaymentBase
getId, setId
-
Field Details
-
pricePerOption
-
percentageOfNotional
-
discountFactor
-
presentValueAmount
-
Constructor Details
-
Premium
public Premium()
-
-
Method Details
-
getPremiumType
Gets the value of the premiumType property.- Returns:
- possible object is
PremiumTypeEnum
-
setPremiumType
Sets the value of the premiumType property.- Parameters:
value
- allowed object isPremiumTypeEnum
-
getPricePerOption
-
setPricePerOption
-
getPercentageOfNotional
Gets the value of the percentageOfNotional property.- Returns:
- possible object is
BigDecimal
-
setPercentageOfNotional
Sets the value of the percentageOfNotional property.- Parameters:
value
- allowed object isBigDecimal
-
getDiscountFactor
Gets the value of the discountFactor property.- Returns:
- possible object is
BigDecimal
-
setDiscountFactor
Sets the value of the discountFactor property.- Parameters:
value
- allowed object isBigDecimal
-
getPresentValueAmount
-
setPresentValueAmount
-