com.prowidesoftware.swift.model.mx.dic.CurrencyConversion12 Maven / Gradle / Ivy
Show all versions of pw-iso20022 Show documentation
package com.prowidesoftware.swift.model.mx.dic;
import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.List;
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;
/**
* Conversion between the currency of a card acceptor and the currency of a card issuer, provided by a dedicated service provider. The currency conversion has to be accepted by the cardholder.
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "CurrencyConversion12", propOrder = {
"ccyConvsId",
"trgtCcy",
"rsltgAmt",
"xchgRate",
"nvrtdXchgRate",
"qtnDt",
"vldUntil",
"srcCcy",
"orgnlAmt",
"comssnDtls",
"mrkUpDtls",
"dclrtnDtls"
})
public class CurrencyConversion12 {
@XmlElement(name = "CcyConvsId")
protected String ccyConvsId;
@XmlElement(name = "TrgtCcy", required = true)
protected CurrencyDetails1 trgtCcy;
@XmlElement(name = "RsltgAmt", required = true)
protected BigDecimal rsltgAmt;
@XmlElement(name = "XchgRate", required = true)
protected BigDecimal xchgRate;
@XmlElement(name = "NvrtdXchgRate")
protected BigDecimal nvrtdXchgRate;
@XmlElement(name = "QtnDt")
@XmlSchemaType(name = "dateTime")
protected XMLGregorianCalendar qtnDt;
@XmlElement(name = "VldUntil")
@XmlSchemaType(name = "dateTime")
protected XMLGregorianCalendar vldUntil;
@XmlElement(name = "SrcCcy", required = true)
protected CurrencyDetails1 srcCcy;
@XmlElement(name = "OrgnlAmt", required = true)
protected OriginalAmountDetails1 orgnlAmt;
@XmlElement(name = "ComssnDtls")
protected List comssnDtls;
@XmlElement(name = "MrkUpDtls")
protected List mrkUpDtls;
@XmlElement(name = "DclrtnDtls")
protected ActionMessage5 dclrtnDtls;
/**
* Gets the value of the ccyConvsId property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getCcyConvsId() {
return ccyConvsId;
}
/**
* Sets the value of the ccyConvsId property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public CurrencyConversion12 setCcyConvsId(String value) {
this.ccyConvsId = value;
return this;
}
/**
* Gets the value of the trgtCcy property.
*
* @return
* possible object is
* {@link CurrencyDetails1 }
*
*/
public CurrencyDetails1 getTrgtCcy() {
return trgtCcy;
}
/**
* Sets the value of the trgtCcy property.
*
* @param value
* allowed object is
* {@link CurrencyDetails1 }
*
*/
public CurrencyConversion12 setTrgtCcy(CurrencyDetails1 value) {
this.trgtCcy = value;
return this;
}
/**
* Gets the value of the rsltgAmt property.
*
* @return
* possible object is
* {@link BigDecimal }
*
*/
public BigDecimal getRsltgAmt() {
return rsltgAmt;
}
/**
* Sets the value of the rsltgAmt property.
*
* @param value
* allowed object is
* {@link BigDecimal }
*
*/
public CurrencyConversion12 setRsltgAmt(BigDecimal value) {
this.rsltgAmt = 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 CurrencyConversion12 setXchgRate(BigDecimal value) {
this.xchgRate = value;
return this;
}
/**
* Gets the value of the nvrtdXchgRate property.
*
* @return
* possible object is
* {@link BigDecimal }
*
*/
public BigDecimal getNvrtdXchgRate() {
return nvrtdXchgRate;
}
/**
* Sets the value of the nvrtdXchgRate property.
*
* @param value
* allowed object is
* {@link BigDecimal }
*
*/
public CurrencyConversion12 setNvrtdXchgRate(BigDecimal value) {
this.nvrtdXchgRate = 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 CurrencyConversion12 setQtnDt(XMLGregorianCalendar value) {
this.qtnDt = value;
return this;
}
/**
* Gets the value of the vldUntil property.
*
* @return
* possible object is
* {@link XMLGregorianCalendar }
*
*/
public XMLGregorianCalendar getVldUntil() {
return vldUntil;
}
/**
* Sets the value of the vldUntil property.
*
* @param value
* allowed object is
* {@link XMLGregorianCalendar }
*
*/
public CurrencyConversion12 setVldUntil(XMLGregorianCalendar value) {
this.vldUntil = value;
return this;
}
/**
* Gets the value of the srcCcy property.
*
* @return
* possible object is
* {@link CurrencyDetails1 }
*
*/
public CurrencyDetails1 getSrcCcy() {
return srcCcy;
}
/**
* Sets the value of the srcCcy property.
*
* @param value
* allowed object is
* {@link CurrencyDetails1 }
*
*/
public CurrencyConversion12 setSrcCcy(CurrencyDetails1 value) {
this.srcCcy = value;
return this;
}
/**
* Gets the value of the orgnlAmt property.
*
* @return
* possible object is
* {@link OriginalAmountDetails1 }
*
*/
public OriginalAmountDetails1 getOrgnlAmt() {
return orgnlAmt;
}
/**
* Sets the value of the orgnlAmt property.
*
* @param value
* allowed object is
* {@link OriginalAmountDetails1 }
*
*/
public CurrencyConversion12 setOrgnlAmt(OriginalAmountDetails1 value) {
this.orgnlAmt = value;
return this;
}
/**
* Gets the value of the comssnDtls property.
*
*
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the JAXB object.
* This is why there is not a set
method for the comssnDtls property.
*
*
* For example, to add a new item, do as follows:
*
* getComssnDtls().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link Commission19 }
*
*
*/
public List getComssnDtls() {
if (comssnDtls == null) {
comssnDtls = new ArrayList();
}
return this.comssnDtls;
}
/**
* Gets the value of the mrkUpDtls property.
*
*
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the JAXB object.
* This is why there is not a set
method for the mrkUpDtls property.
*
*
* For example, to add a new item, do as follows:
*
* getMrkUpDtls().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link Commission18 }
*
*
*/
public List getMrkUpDtls() {
if (mrkUpDtls == null) {
mrkUpDtls = new ArrayList();
}
return this.mrkUpDtls;
}
/**
* Gets the value of the dclrtnDtls property.
*
* @return
* possible object is
* {@link ActionMessage5 }
*
*/
public ActionMessage5 getDclrtnDtls() {
return dclrtnDtls;
}
/**
* Sets the value of the dclrtnDtls property.
*
* @param value
* allowed object is
* {@link ActionMessage5 }
*
*/
public CurrencyConversion12 setDclrtnDtls(ActionMessage5 value) {
this.dclrtnDtls = 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);
}
/**
* Adds a new item to the comssnDtls list.
* @see #getComssnDtls()
*
*/
public CurrencyConversion12 addComssnDtls(Commission19 comssnDtls) {
getComssnDtls().add(comssnDtls);
return this;
}
/**
* Adds a new item to the mrkUpDtls list.
* @see #getMrkUpDtls()
*
*/
public CurrencyConversion12 addMrkUpDtls(Commission18 mrkUpDtls) {
getMrkUpDtls().add(mrkUpDtls);
return this;
}
}