com.prowidesoftware.swift.model.mx.dic.AgreedRate2 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 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;
/**
* Information needed to process a currency exchange or conversion.
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "AgreedRate2", propOrder = {
"xchgRate",
"unitCcy",
"qtdCcy"
})
public class AgreedRate2 {
@XmlElement(name = "XchgRate", required = true)
protected BigDecimal xchgRate;
@XmlElement(name = "UnitCcy", required = true)
protected String unitCcy;
@XmlElement(name = "QtdCcy", required = true)
protected String qtdCcy;
/**
* 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 AgreedRate2 setXchgRate(BigDecimal value) {
this.xchgRate = value;
return this;
}
/**
* Gets the value of the unitCcy property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getUnitCcy() {
return unitCcy;
}
/**
* Sets the value of the unitCcy property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public AgreedRate2 setUnitCcy(String value) {
this.unitCcy = value;
return this;
}
/**
* Gets the value of the qtdCcy property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getQtdCcy() {
return qtdCcy;
}
/**
* Sets the value of the qtdCcy property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public AgreedRate2 setQtdCcy(String value) {
this.qtdCcy = 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