com.prowidesoftware.swift.model.mx.dic.Warrant1 Maven / Gradle / Ivy
package com.prowidesoftware.swift.model.mx.dic;
import java.math.BigDecimal;
import java.time.OffsetDateTime;
import com.prowidesoftware.swift.model.mx.adapters.IsoDateTimeAdapter;
import jakarta.xml.bind.annotation.XmlAccessType;
import jakarta.xml.bind.annotation.XmlAccessorType;
import jakarta.xml.bind.annotation.XmlElement;
import jakarta.xml.bind.annotation.XmlSchemaType;
import jakarta.xml.bind.annotation.XmlType;
import jakarta.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
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;
/**
* Financial instrument that gives the holder the right to purchase shares or bonds at a given price within a specified time.
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "Warrant1", propOrder = {
"xpryDt",
"mltplr",
"sbcptPric"
})
public class Warrant1 {
@XmlElement(name = "XpryDt", type = String.class)
@XmlJavaTypeAdapter(IsoDateTimeAdapter.class)
@XmlSchemaType(name = "dateTime")
protected OffsetDateTime xpryDt;
@XmlElement(name = "Mltplr")
protected BigDecimal mltplr;
@XmlElement(name = "SbcptPric")
protected Price1 sbcptPric;
/**
* Gets the value of the xpryDt property.
*
* @return
* possible object is
* {@link String }
*
*/
public OffsetDateTime getXpryDt() {
return xpryDt;
}
/**
* Sets the value of the xpryDt property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public Warrant1 setXpryDt(OffsetDateTime value) {
this.xpryDt = value;
return this;
}
/**
* Gets the value of the mltplr property.
*
* @return
* possible object is
* {@link BigDecimal }
*
*/
public BigDecimal getMltplr() {
return mltplr;
}
/**
* Sets the value of the mltplr property.
*
* @param value
* allowed object is
* {@link BigDecimal }
*
*/
public Warrant1 setMltplr(BigDecimal value) {
this.mltplr = value;
return this;
}
/**
* Gets the value of the sbcptPric property.
*
* @return
* possible object is
* {@link Price1 }
*
*/
public Price1 getSbcptPric() {
return sbcptPric;
}
/**
* Sets the value of the sbcptPric property.
*
* @param value
* allowed object is
* {@link Price1 }
*
*/
public Warrant1 setSbcptPric(Price1 value) {
this.sbcptPric = 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);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy