
com.prowidesoftware.swift.model.mx.dic.ExchangeRate1 Maven / Gradle / Ivy
package com.prowidesoftware.swift.model.mx.dic;
import java.math.BigDecimal;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.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;
/**
* Further detailed information on the exchange rate that has been used in the payment transaction.
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "ExchangeRate1", propOrder = {
"unitCcy",
"xchgRate",
"rateTp",
"ctrctId"
})
public class ExchangeRate1 {
@XmlElement(name = "UnitCcy")
protected String unitCcy;
@XmlElement(name = "XchgRate")
protected BigDecimal xchgRate;
@XmlElement(name = "RateTp")
@XmlSchemaType(name = "string")
protected ExchangeRateType1Code rateTp;
@XmlElement(name = "CtrctId")
protected String ctrctId;
/**
* 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 ExchangeRate1 setUnitCcy(String value) {
this.unitCcy = 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 ExchangeRate1 setXchgRate(BigDecimal value) {
this.xchgRate = value;
return this;
}
/**
* Gets the value of the rateTp property.
*
* @return
* possible object is
* {@link ExchangeRateType1Code }
*
*/
public ExchangeRateType1Code getRateTp() {
return rateTp;
}
/**
* Sets the value of the rateTp property.
*
* @param value
* allowed object is
* {@link ExchangeRateType1Code }
*
*/
public ExchangeRate1 setRateTp(ExchangeRateType1Code value) {
this.rateTp = value;
return this;
}
/**
* Gets the value of the ctrctId property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getCtrctId() {
return ctrctId;
}
/**
* Sets the value of the ctrctId property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public ExchangeRate1 setCtrctId(String value) {
this.ctrctId = 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