com.prowidesoftware.swift.model.mx.dic.SecuritiesCollateral1 Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pw-iso20022 Show documentation
Show all versions of pw-iso20022 Show documentation
Prowide Library for ISO 20022 messages
The newest version!
package com.prowidesoftware.swift.model.mx.dic;
import java.math.BigDecimal;
import java.time.LocalDate;
import com.prowidesoftware.swift.model.mx.adapters.IsoDateAdapter;
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;
/**
* Provides details about the securities posted as collateral.
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "SecuritiesCollateral1", propOrder = {
"sctyId",
"mtrtyDt",
"qty",
"pric",
"mktVal",
"hrcut",
"collVal",
"valDt"
})
public class SecuritiesCollateral1 {
@XmlElement(name = "SctyId", required = true)
protected SecurityIdentification14 sctyId;
@XmlElement(name = "MtrtyDt")
protected DateAndDateTimeChoice mtrtyDt;
@XmlElement(name = "Qty", required = true)
protected FinancialInstrumentQuantity1Choice qty;
@XmlElement(name = "Pric")
protected Price2 pric;
@XmlElement(name = "MktVal")
protected ActiveCurrencyAndAmount mktVal;
@XmlElement(name = "Hrcut")
protected BigDecimal hrcut;
@XmlElement(name = "CollVal")
protected ActiveCurrencyAndAmount collVal;
@XmlElement(name = "ValDt", type = String.class)
@XmlJavaTypeAdapter(IsoDateAdapter.class)
@XmlSchemaType(name = "date")
protected LocalDate valDt;
/**
* Gets the value of the sctyId property.
*
* @return
* possible object is
* {@link SecurityIdentification14 }
*
*/
public SecurityIdentification14 getSctyId() {
return sctyId;
}
/**
* Sets the value of the sctyId property.
*
* @param value
* allowed object is
* {@link SecurityIdentification14 }
*
*/
public SecuritiesCollateral1 setSctyId(SecurityIdentification14 value) {
this.sctyId = value;
return this;
}
/**
* Gets the value of the mtrtyDt property.
*
* @return
* possible object is
* {@link DateAndDateTimeChoice }
*
*/
public DateAndDateTimeChoice getMtrtyDt() {
return mtrtyDt;
}
/**
* Sets the value of the mtrtyDt property.
*
* @param value
* allowed object is
* {@link DateAndDateTimeChoice }
*
*/
public SecuritiesCollateral1 setMtrtyDt(DateAndDateTimeChoice value) {
this.mtrtyDt = value;
return this;
}
/**
* Gets the value of the qty property.
*
* @return
* possible object is
* {@link FinancialInstrumentQuantity1Choice }
*
*/
public FinancialInstrumentQuantity1Choice getQty() {
return qty;
}
/**
* Sets the value of the qty property.
*
* @param value
* allowed object is
* {@link FinancialInstrumentQuantity1Choice }
*
*/
public SecuritiesCollateral1 setQty(FinancialInstrumentQuantity1Choice value) {
this.qty = value;
return this;
}
/**
* Gets the value of the pric property.
*
* @return
* possible object is
* {@link Price2 }
*
*/
public Price2 getPric() {
return pric;
}
/**
* Sets the value of the pric property.
*
* @param value
* allowed object is
* {@link Price2 }
*
*/
public SecuritiesCollateral1 setPric(Price2 value) {
this.pric = value;
return this;
}
/**
* Gets the value of the mktVal property.
*
* @return
* possible object is
* {@link ActiveCurrencyAndAmount }
*
*/
public ActiveCurrencyAndAmount getMktVal() {
return mktVal;
}
/**
* Sets the value of the mktVal property.
*
* @param value
* allowed object is
* {@link ActiveCurrencyAndAmount }
*
*/
public SecuritiesCollateral1 setMktVal(ActiveCurrencyAndAmount value) {
this.mktVal = value;
return this;
}
/**
* Gets the value of the hrcut property.
*
* @return
* possible object is
* {@link BigDecimal }
*
*/
public BigDecimal getHrcut() {
return hrcut;
}
/**
* Sets the value of the hrcut property.
*
* @param value
* allowed object is
* {@link BigDecimal }
*
*/
public SecuritiesCollateral1 setHrcut(BigDecimal value) {
this.hrcut = value;
return this;
}
/**
* Gets the value of the collVal property.
*
* @return
* possible object is
* {@link ActiveCurrencyAndAmount }
*
*/
public ActiveCurrencyAndAmount getCollVal() {
return collVal;
}
/**
* Sets the value of the collVal property.
*
* @param value
* allowed object is
* {@link ActiveCurrencyAndAmount }
*
*/
public SecuritiesCollateral1 setCollVal(ActiveCurrencyAndAmount value) {
this.collVal = value;
return this;
}
/**
* Gets the value of the valDt property.
*
* @return
* possible object is
* {@link String }
*
*/
public LocalDate getValDt() {
return valDt;
}
/**
* Sets the value of the valDt property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public SecuritiesCollateral1 setValDt(LocalDate value) {
this.valDt = 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