All Downloads are FREE. Search and download functionalities are using the official Maven repository.

net.finmath.smartcontract.product.xml.Premium Maven / Gradle / Ivy

//
// This file was generated by the Eclipse Implementation of JAXB, v3.0.0 
// See https://eclipse-ee4j.github.io/jaxb-ri 
// Any modifications to this file will be lost upon recompilation of the source schema. 
// Generated on: 2024.12.05 at 10:53:57 AM CET 
//


package net.finmath.smartcontract.product.xml;

import java.math.BigDecimal;
import jakarta.xml.bind.annotation.XmlAccessType;
import jakarta.xml.bind.annotation.XmlAccessorType;
import jakarta.xml.bind.annotation.XmlSchemaType;
import jakarta.xml.bind.annotation.XmlType;


/**
 * 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>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "Premium", propOrder = { "premiumType", "pricePerOption", "percentageOfNotional", "discountFactor", "presentValueAmount" }) public class Premium extends SimplePayment { @XmlSchemaType(name = "token") protected PremiumTypeEnum premiumType; protected Money pricePerOption; protected BigDecimal percentageOfNotional; protected BigDecimal discountFactor; protected Money presentValueAmount; /** * Gets the value of the premiumType property. * * @return * possible object is * {@link PremiumTypeEnum } * */ public PremiumTypeEnum getPremiumType() { return premiumType; } /** * Sets the value of the premiumType property. * * @param value * allowed object is * {@link PremiumTypeEnum } * */ public void setPremiumType(PremiumTypeEnum value) { this.premiumType = value; } /** * Gets the value of the pricePerOption property. * * @return * possible object is * {@link Money } * */ public Money getPricePerOption() { return pricePerOption; } /** * Sets the value of the pricePerOption property. * * @param value * allowed object is * {@link Money } * */ public void setPricePerOption(Money value) { this.pricePerOption = value; } /** * Gets the value of the percentageOfNotional property. * * @return * possible object is * {@link BigDecimal } * */ public BigDecimal getPercentageOfNotional() { return percentageOfNotional; } /** * Sets the value of the percentageOfNotional property. * * @param value * allowed object is * {@link BigDecimal } * */ public void setPercentageOfNotional(BigDecimal value) { this.percentageOfNotional = value; } /** * Gets the value of the discountFactor property. * * @return * possible object is * {@link BigDecimal } * */ public BigDecimal getDiscountFactor() { return discountFactor; } /** * Sets the value of the discountFactor property. * * @param value * allowed object is * {@link BigDecimal } * */ public void setDiscountFactor(BigDecimal value) { this.discountFactor = value; } /** * Gets the value of the presentValueAmount property. * * @return * possible object is * {@link Money } * */ public Money getPresentValueAmount() { return presentValueAmount; } /** * Sets the value of the presentValueAmount property. * * @param value * allowed object is * {@link Money } * */ public void setPresentValueAmount(Money value) { this.presentValueAmount = value; } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy