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
FieldsModifier and TypeFieldDescriptionprotected BigDecimalprotected BigDecimalprotected PremiumTypeEnumprotected Moneyprotected MoneyFields inherited from class net.finmath.smartcontract.product.xml.SimplePayment
payerAccountReference, payerPartyReference, paymentAmount, 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 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.voidsetDiscountFactor(BigDecimal value) Sets the value of the discountFactor property.voidSets the value of the percentageOfNotional property.voidsetPremiumType(PremiumTypeEnum value) Sets the value of the premiumType property.voidsetPresentValueAmount(Money value) Sets the value of the presentValueAmount property.voidsetPricePerOption(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, setReceiverPartyReferenceMethods 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
-