com.prowidesoftware.swift.model.mx.dic.InterestResult1 Maven / Gradle / Ivy
package com.prowidesoftware.swift.model.mx.dic;
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;
/**
* Consideration, such as amount of money, paid or received in exchange for an amount of money that has been invested, loaned or borrowed for a certain period.
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "InterestResult1", propOrder = {
"intrstDueToA",
"intrstDueToB",
"valDt",
"intrstMtd",
"opngCollBal",
"clsgCollBal"
})
public class InterestResult1 {
@XmlElement(name = "IntrstDueToA")
protected ActiveCurrencyAndAmount intrstDueToA;
@XmlElement(name = "IntrstDueToB")
protected ActiveCurrencyAndAmount intrstDueToB;
@XmlElement(name = "ValDt", required = true, type = String.class)
@XmlJavaTypeAdapter(IsoDateAdapter.class)
@XmlSchemaType(name = "date")
protected LocalDate valDt;
@XmlElement(name = "IntrstMtd", required = true)
@XmlSchemaType(name = "string")
protected InterestMethod1Code intrstMtd;
@XmlElement(name = "OpngCollBal")
protected CollateralBalance1 opngCollBal;
@XmlElement(name = "ClsgCollBal", required = true)
protected CollateralBalance1 clsgCollBal;
/**
* Gets the value of the intrstDueToA property.
*
* @return
* possible object is
* {@link ActiveCurrencyAndAmount }
*
*/
public ActiveCurrencyAndAmount getIntrstDueToA() {
return intrstDueToA;
}
/**
* Sets the value of the intrstDueToA property.
*
* @param value
* allowed object is
* {@link ActiveCurrencyAndAmount }
*
*/
public InterestResult1 setIntrstDueToA(ActiveCurrencyAndAmount value) {
this.intrstDueToA = value;
return this;
}
/**
* Gets the value of the intrstDueToB property.
*
* @return
* possible object is
* {@link ActiveCurrencyAndAmount }
*
*/
public ActiveCurrencyAndAmount getIntrstDueToB() {
return intrstDueToB;
}
/**
* Sets the value of the intrstDueToB property.
*
* @param value
* allowed object is
* {@link ActiveCurrencyAndAmount }
*
*/
public InterestResult1 setIntrstDueToB(ActiveCurrencyAndAmount value) {
this.intrstDueToB = 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 InterestResult1 setValDt(LocalDate value) {
this.valDt = value;
return this;
}
/**
* Gets the value of the intrstMtd property.
*
* @return
* possible object is
* {@link InterestMethod1Code }
*
*/
public InterestMethod1Code getIntrstMtd() {
return intrstMtd;
}
/**
* Sets the value of the intrstMtd property.
*
* @param value
* allowed object is
* {@link InterestMethod1Code }
*
*/
public InterestResult1 setIntrstMtd(InterestMethod1Code value) {
this.intrstMtd = value;
return this;
}
/**
* Gets the value of the opngCollBal property.
*
* @return
* possible object is
* {@link CollateralBalance1 }
*
*/
public CollateralBalance1 getOpngCollBal() {
return opngCollBal;
}
/**
* Sets the value of the opngCollBal property.
*
* @param value
* allowed object is
* {@link CollateralBalance1 }
*
*/
public InterestResult1 setOpngCollBal(CollateralBalance1 value) {
this.opngCollBal = value;
return this;
}
/**
* Gets the value of the clsgCollBal property.
*
* @return
* possible object is
* {@link CollateralBalance1 }
*
*/
public CollateralBalance1 getClsgCollBal() {
return clsgCollBal;
}
/**
* Sets the value of the clsgCollBal property.
*
* @param value
* allowed object is
* {@link CollateralBalance1 }
*
*/
public InterestResult1 setClsgCollBal(CollateralBalance1 value) {
this.clsgCollBal = 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