com.prowidesoftware.swift.model.mx.dic.CashCollateral5 Maven / Gradle / Ivy
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 cash posted as collateral.
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "CashCollateral5", propOrder = {
"collId",
"cshAcctId",
"asstNb",
"dpstAmt",
"dpstTp",
"mtrtyDt",
"valDt",
"xchgRate",
"collVal",
"hrcut"
})
public class CashCollateral5 {
@XmlElement(name = "CollId")
protected String collId;
@XmlElement(name = "CshAcctId")
protected AccountIdentification4Choice cshAcctId;
@XmlElement(name = "AsstNb")
protected String asstNb;
@XmlElement(name = "DpstAmt")
protected ActiveCurrencyAndAmount dpstAmt;
@XmlElement(name = "DpstTp")
@XmlSchemaType(name = "string")
protected DepositType1Code dpstTp;
@XmlElement(name = "MtrtyDt", type = String.class)
@XmlJavaTypeAdapter(IsoDateAdapter.class)
@XmlSchemaType(name = "date")
protected LocalDate mtrtyDt;
@XmlElement(name = "ValDt", type = String.class)
@XmlJavaTypeAdapter(IsoDateAdapter.class)
@XmlSchemaType(name = "date")
protected LocalDate valDt;
@XmlElement(name = "XchgRate")
protected BigDecimal xchgRate;
@XmlElement(name = "CollVal", required = true)
protected ActiveCurrencyAndAmount collVal;
@XmlElement(name = "Hrcut")
protected BigDecimal hrcut;
/**
* Gets the value of the collId property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getCollId() {
return collId;
}
/**
* Sets the value of the collId property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public CashCollateral5 setCollId(String value) {
this.collId = value;
return this;
}
/**
* Gets the value of the cshAcctId property.
*
* @return
* possible object is
* {@link AccountIdentification4Choice }
*
*/
public AccountIdentification4Choice getCshAcctId() {
return cshAcctId;
}
/**
* Sets the value of the cshAcctId property.
*
* @param value
* allowed object is
* {@link AccountIdentification4Choice }
*
*/
public CashCollateral5 setCshAcctId(AccountIdentification4Choice value) {
this.cshAcctId = value;
return this;
}
/**
* Gets the value of the asstNb property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getAsstNb() {
return asstNb;
}
/**
* Sets the value of the asstNb property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public CashCollateral5 setAsstNb(String value) {
this.asstNb = value;
return this;
}
/**
* Gets the value of the dpstAmt property.
*
* @return
* possible object is
* {@link ActiveCurrencyAndAmount }
*
*/
public ActiveCurrencyAndAmount getDpstAmt() {
return dpstAmt;
}
/**
* Sets the value of the dpstAmt property.
*
* @param value
* allowed object is
* {@link ActiveCurrencyAndAmount }
*
*/
public CashCollateral5 setDpstAmt(ActiveCurrencyAndAmount value) {
this.dpstAmt = value;
return this;
}
/**
* Gets the value of the dpstTp property.
*
* @return
* possible object is
* {@link DepositType1Code }
*
*/
public DepositType1Code getDpstTp() {
return dpstTp;
}
/**
* Sets the value of the dpstTp property.
*
* @param value
* allowed object is
* {@link DepositType1Code }
*
*/
public CashCollateral5 setDpstTp(DepositType1Code value) {
this.dpstTp = value;
return this;
}
/**
* Gets the value of the mtrtyDt property.
*
* @return
* possible object is
* {@link String }
*
*/
public LocalDate getMtrtyDt() {
return mtrtyDt;
}
/**
* Sets the value of the mtrtyDt property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public CashCollateral5 setMtrtyDt(LocalDate value) {
this.mtrtyDt = 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 CashCollateral5 setValDt(LocalDate value) {
this.valDt = value;
return this;
}
/**
* Gets the value of the xchgRate property.
*
* @return
* possible object is
* {@link BigDecimal }
*
*/
public BigDecimal getXchgRate() {
return xchgRate;
}
/**
* Sets the value of the xchgRate property.
*
* @param value
* allowed object is
* {@link BigDecimal }
*
*/
public CashCollateral5 setXchgRate(BigDecimal value) {
this.xchgRate = 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 CashCollateral5 setCollVal(ActiveCurrencyAndAmount value) {
this.collVal = 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 CashCollateral5 setHrcut(BigDecimal value) {
this.hrcut = 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