com.prowidesoftware.swift.model.mx.dic.PaymentTransactionInformation17 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;
/**
* Reference and status information concerning the original transactions, included in the original instruction, to which the reversal message applies.
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "PaymentTransactionInformation17", propOrder = {
"rvslId",
"orgnlPmtInfId",
"orgnlInstrId",
"orgnlEndToEndId",
"orgnlTxId",
"orgnlIntrBkSttlmAmt",
"rvsdIntrBkSttlmAmt",
"intrBkSttlmDt",
"rvsdInstdAmt",
"xchgRate",
"compstnAmt",
"chrgBr",
"chrgsInf",
"instgAgt",
"instdAgt",
"rvslRsnInf",
"orgnlTxRef"
})
public class PaymentTransactionInformation17 {
@XmlElement(name = "RvslId")
protected String rvslId;
@XmlElement(name = "OrgnlPmtInfId")
protected String orgnlPmtInfId;
@XmlElement(name = "OrgnlInstrId")
protected String orgnlInstrId;
@XmlElement(name = "OrgnlEndToEndId")
protected String orgnlEndToEndId;
@XmlElement(name = "OrgnlTxId")
protected String orgnlTxId;
@XmlElement(name = "OrgnlIntrBkSttlmAmt")
protected EuroMax9Amount orgnlIntrBkSttlmAmt;
@XmlElement(name = "RvsdIntrBkSttlmAmt", required = true)
protected EuroMax9Amount rvsdIntrBkSttlmAmt;
@XmlElement(name = "IntrBkSttlmDt")
@XmlSchemaType(name = "date")
protected XMLGregorianCalendar intrBkSttlmDt;
@XmlElement(name = "RvsdInstdAmt")
protected CurrencyAndAmount rvsdInstdAmt;
@XmlElement(name = "XchgRate")
protected BigDecimal xchgRate;
@XmlElement(name = "CompstnAmt")
protected EuroMax9Amount compstnAmt;
@XmlElement(name = "ChrgBr")
@XmlSchemaType(name = "string")
protected ChargeBearerType2Code chrgBr;
@XmlElement(name = "ChrgsInf")
protected List chrgsInf;
@XmlElement(name = "InstgAgt")
protected FinancialInstitution2 instgAgt;
@XmlElement(name = "InstdAgt")
protected FinancialInstitution2 instdAgt;
@XmlElement(name = "RvslRsnInf")
protected List rvslRsnInf;
@XmlElement(name = "OrgnlTxRef", required = true)
protected OriginalTransactionReference9 orgnlTxRef;
/**
* Gets the value of the rvslId property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getRvslId() {
return rvslId;
}
/**
* Sets the value of the rvslId property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public PaymentTransactionInformation17 setRvslId(String value) {
this.rvslId = value;
return this;
}
/**
* Gets the value of the orgnlPmtInfId property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getOrgnlPmtInfId() {
return orgnlPmtInfId;
}
/**
* Sets the value of the orgnlPmtInfId property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public PaymentTransactionInformation17 setOrgnlPmtInfId(String value) {
this.orgnlPmtInfId = value;
return this;
}
/**
* Gets the value of the orgnlInstrId property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getOrgnlInstrId() {
return orgnlInstrId;
}
/**
* Sets the value of the orgnlInstrId property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public PaymentTransactionInformation17 setOrgnlInstrId(String value) {
this.orgnlInstrId = value;
return this;
}
/**
* Gets the value of the orgnlEndToEndId property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getOrgnlEndToEndId() {
return orgnlEndToEndId;
}
/**
* Sets the value of the orgnlEndToEndId property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public PaymentTransactionInformation17 setOrgnlEndToEndId(String value) {
this.orgnlEndToEndId = value;
return this;
}
/**
* Gets the value of the orgnlTxId property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getOrgnlTxId() {
return orgnlTxId;
}
/**
* Sets the value of the orgnlTxId property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public PaymentTransactionInformation17 setOrgnlTxId(String value) {
this.orgnlTxId = value;
return this;
}
/**
* Gets the value of the orgnlIntrBkSttlmAmt property.
*
* @return
* possible object is
* {@link EuroMax9Amount }
*
*/
public EuroMax9Amount getOrgnlIntrBkSttlmAmt() {
return orgnlIntrBkSttlmAmt;
}
/**
* Sets the value of the orgnlIntrBkSttlmAmt property.
*
* @param value
* allowed object is
* {@link EuroMax9Amount }
*
*/
public PaymentTransactionInformation17 setOrgnlIntrBkSttlmAmt(EuroMax9Amount value) {
this.orgnlIntrBkSttlmAmt = value;
return this;
}
/**
* Gets the value of the rvsdIntrBkSttlmAmt property.
*
* @return
* possible object is
* {@link EuroMax9Amount }
*
*/
public EuroMax9Amount getRvsdIntrBkSttlmAmt() {
return rvsdIntrBkSttlmAmt;
}
/**
* Sets the value of the rvsdIntrBkSttlmAmt property.
*
* @param value
* allowed object is
* {@link EuroMax9Amount }
*
*/
public PaymentTransactionInformation17 setRvsdIntrBkSttlmAmt(EuroMax9Amount value) {
this.rvsdIntrBkSttlmAmt = value;
return this;
}
/**
* Gets the value of the intrBkSttlmDt property.
*
* @return
* possible object is
* {@link XMLGregorianCalendar }
*
*/
public XMLGregorianCalendar getIntrBkSttlmDt() {
return intrBkSttlmDt;
}
/**
* Sets the value of the intrBkSttlmDt property.
*
* @param value
* allowed object is
* {@link XMLGregorianCalendar }
*
*/
public PaymentTransactionInformation17 setIntrBkSttlmDt(XMLGregorianCalendar value) {
this.intrBkSttlmDt = value;
return this;
}
/**
* Gets the value of the rvsdInstdAmt property.
*
* @return
* possible object is
* {@link CurrencyAndAmount }
*
*/
public CurrencyAndAmount getRvsdInstdAmt() {
return rvsdInstdAmt;
}
/**
* Sets the value of the rvsdInstdAmt property.
*
* @param value
* allowed object is
* {@link CurrencyAndAmount }
*
*/
public PaymentTransactionInformation17 setRvsdInstdAmt(CurrencyAndAmount value) {
this.rvsdInstdAmt = 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 PaymentTransactionInformation17 setXchgRate(BigDecimal value) {
this.xchgRate = value;
return this;
}
/**
* Gets the value of the compstnAmt property.
*
* @return
* possible object is
* {@link EuroMax9Amount }
*
*/
public EuroMax9Amount getCompstnAmt() {
return compstnAmt;
}
/**
* Sets the value of the compstnAmt property.
*
* @param value
* allowed object is
* {@link EuroMax9Amount }
*
*/
public PaymentTransactionInformation17 setCompstnAmt(EuroMax9Amount value) {
this.compstnAmt = value;
return this;
}
/**
* Gets the value of the chrgBr property.
*
* @return
* possible object is
* {@link ChargeBearerType2Code }
*
*/
public ChargeBearerType2Code getChrgBr() {
return chrgBr;
}
/**
* Sets the value of the chrgBr property.
*
* @param value
* allowed object is
* {@link ChargeBearerType2Code }
*
*/
public PaymentTransactionInformation17 setChrgBr(ChargeBearerType2Code value) {
this.chrgBr = value;
return this;
}
/**
* Gets the value of the chrgsInf 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 chrgsInf property.
*
*
* For example, to add a new item, do as follows:
*
* getChrgsInf().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link ChargesInformation2 }
*
*
*/
public List getChrgsInf() {
if (chrgsInf == null) {
chrgsInf = new ArrayList();
}
return this.chrgsInf;
}
/**
* Gets the value of the instgAgt property.
*
* @return
* possible object is
* {@link FinancialInstitution2 }
*
*/
public FinancialInstitution2 getInstgAgt() {
return instgAgt;
}
/**
* Sets the value of the instgAgt property.
*
* @param value
* allowed object is
* {@link FinancialInstitution2 }
*
*/
public PaymentTransactionInformation17 setInstgAgt(FinancialInstitution2 value) {
this.instgAgt = value;
return this;
}
/**
* Gets the value of the instdAgt property.
*
* @return
* possible object is
* {@link FinancialInstitution2 }
*
*/
public FinancialInstitution2 getInstdAgt() {
return instdAgt;
}
/**
* Sets the value of the instdAgt property.
*
* @param value
* allowed object is
* {@link FinancialInstitution2 }
*
*/
public PaymentTransactionInformation17 setInstdAgt(FinancialInstitution2 value) {
this.instdAgt = value;
return this;
}
/**
* Gets the value of the rvslRsnInf 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 rvslRsnInf property.
*
*
* For example, to add a new item, do as follows:
*
* getRvslRsnInf().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link ReversalReasonInformation5 }
*
*
*/
public List getRvslRsnInf() {
if (rvslRsnInf == null) {
rvslRsnInf = new ArrayList();
}
return this.rvslRsnInf;
}
/**
* Gets the value of the orgnlTxRef property.
*
* @return
* possible object is
* {@link OriginalTransactionReference9 }
*
*/
public OriginalTransactionReference9 getOrgnlTxRef() {
return orgnlTxRef;
}
/**
* Sets the value of the orgnlTxRef property.
*
* @param value
* allowed object is
* {@link OriginalTransactionReference9 }
*
*/
public PaymentTransactionInformation17 setOrgnlTxRef(OriginalTransactionReference9 value) {
this.orgnlTxRef = 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 chrgsInf list.
* @see #getChrgsInf()
*
*/
public PaymentTransactionInformation17 addChrgsInf(ChargesInformation2 chrgsInf) {
getChrgsInf().add(chrgsInf);
return this;
}
/**
* Adds a new item to the rvslRsnInf list.
* @see #getRvslRsnInf()
*
*/
public PaymentTransactionInformation17 addRvslRsnInf(ReversalReasonInformation5 rvslRsnInf) {
getRvslRsnInf().add(rvslRsnInf);
return this;
}
}