com.prowidesoftware.swift.model.mx.dic.CurrencyExchange3 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
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 javax.xml.datatype.XMLGregorianCalendar;
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 = "CurrencyExchange3", propOrder = {
"srcCcy",
"trgtCcy",
"unitCcy",
"xchgRate",
"ctrctId",
"qtnDt"
})
public class CurrencyExchange3 {
@XmlElement(name = "SrcCcy", required = true)
protected String srcCcy;
@XmlElement(name = "TrgtCcy")
protected String trgtCcy;
@XmlElement(name = "UnitCcy")
protected String unitCcy;
@XmlElement(name = "XchgRate", required = true)
protected BigDecimal xchgRate;
@XmlElement(name = "CtrctId")
protected String ctrctId;
@XmlElement(name = "QtnDt")
@XmlSchemaType(name = "dateTime")
protected XMLGregorianCalendar qtnDt;
/**
* Gets the value of the srcCcy property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getSrcCcy() {
return srcCcy;
}
/**
* Sets the value of the srcCcy property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public CurrencyExchange3 setSrcCcy(String value) {
this.srcCcy = value;
return this;
}
/**
* Gets the value of the trgtCcy property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getTrgtCcy() {
return trgtCcy;
}
/**
* Sets the value of the trgtCcy property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public CurrencyExchange3 setTrgtCcy(String value) {
this.trgtCcy = 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 CurrencyExchange3 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 CurrencyExchange3 setXchgRate(BigDecimal value) {
this.xchgRate = 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 CurrencyExchange3 setCtrctId(String value) {
this.ctrctId = value;
return this;
}
/**
* Gets the value of the qtnDt property.
*
* @return
* possible object is
* {@link XMLGregorianCalendar }
*
*/
public XMLGregorianCalendar getQtnDt() {
return qtnDt;
}
/**
* Sets the value of the qtnDt property.
*
* @param value
* allowed object is
* {@link XMLGregorianCalendar }
*
*/
public CurrencyExchange3 setQtnDt(XMLGregorianCalendar value) {
this.qtnDt = 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