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

com.prowidesoftware.swift.model.mx.dic.PriceData2 Maven / Gradle / Ivy

The newest version!

package com.prowidesoftware.swift.model.mx.dic;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.List;
import jakarta.xml.bind.annotation.XmlAccessType;
import jakarta.xml.bind.annotation.XmlAccessorType;
import jakarta.xml.bind.annotation.XmlElement;
import jakarta.xml.bind.annotation.XmlType;
import org.apache.commons.lang3.builder.EqualsBuilder;
import org.apache.commons.lang3.builder.HashCodeBuilder;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;


/**
 * Indicates the details of the price applicable to the derivative transaction.
 * 
 * 
 * 
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "PriceData2", propOrder = {
    "pric",
    "schdlPrd",
    "unitOfMeasr",
    "pricMltplr"
})
public class PriceData2 {

    @XmlElement(name = "Pric")
    protected SecuritiesTransactionPrice17Choice pric;
    @XmlElement(name = "SchdlPrd")
    protected List schdlPrd;
    @XmlElement(name = "UnitOfMeasr")
    protected UnitOfMeasure8Choice unitOfMeasr;
    @XmlElement(name = "PricMltplr")
    protected BigDecimal pricMltplr;

    /**
     * Gets the value of the pric property.
     * 
     * @return
     *     possible object is
     *     {@link SecuritiesTransactionPrice17Choice }
     *     
     */
    public SecuritiesTransactionPrice17Choice getPric() {
        return pric;
    }

    /**
     * Sets the value of the pric property.
     * 
     * @param value
     *     allowed object is
     *     {@link SecuritiesTransactionPrice17Choice }
     *     
     */
    public PriceData2 setPric(SecuritiesTransactionPrice17Choice value) {
        this.pric = value;
        return this;
    }

    /**
     * Gets the value of the schdlPrd property.
     * 
     * 

* This accessor method returns a reference to the live list, * not a snapshot. Therefore any modification you make to the * returned list will be present inside the Jakarta XML Binding object. * This is why there is not a {@code set} method for the schdlPrd property. * *

* For example, to add a new item, do as follows: *

     *    getSchdlPrd().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link Schedule1 } * * * @return * The value of the schdlPrd property. */ public List getSchdlPrd() { if (schdlPrd == null) { schdlPrd = new ArrayList<>(); } return this.schdlPrd; } /** * Gets the value of the unitOfMeasr property. * * @return * possible object is * {@link UnitOfMeasure8Choice } * */ public UnitOfMeasure8Choice getUnitOfMeasr() { return unitOfMeasr; } /** * Sets the value of the unitOfMeasr property. * * @param value * allowed object is * {@link UnitOfMeasure8Choice } * */ public PriceData2 setUnitOfMeasr(UnitOfMeasure8Choice value) { this.unitOfMeasr = value; return this; } /** * Gets the value of the pricMltplr property. * * @return * possible object is * {@link BigDecimal } * */ public BigDecimal getPricMltplr() { return pricMltplr; } /** * Sets the value of the pricMltplr property. * * @param value * allowed object is * {@link BigDecimal } * */ public PriceData2 setPricMltplr(BigDecimal value) { this.pricMltplr = value; return this; } @Override public String toString() { return ToStringBuilder.reflectionToString(this, ToStringStyle.MULTI_LINE_STYLE); } @Override public boolean equals(Object that) { return EqualsBuilder.reflectionEquals(this, that); } @Override public int hashCode() { return HashCodeBuilder.reflectionHashCode(this); } /** * Adds a new item to the schdlPrd list. * @see #getSchdlPrd() * */ public PriceData2 addSchdlPrd(Schedule1 schdlPrd) { getSchdlPrd().add(schdlPrd); return this; } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy