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

org.fpml.fpml_5.confirmation.Premium Maven / Gradle / Ivy

There is a newer version: 6.0.0-dev.61
Show newest version
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.3.2 
// See https://javaee.github.io/jaxb-v2/ 
// Any modifications to this file will be lost upon recompilation of the source schema. 
// Generated on: 2024.04.04 at 04:56:21 PM UTC 
//


package org.fpml.fpml_5.confirmation;

import java.math.BigDecimal;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.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