com.prowidesoftware.swift.model.mx.dic.TransactionReferences6 Maven / Gradle / Ivy
Show all versions of pw-iso20022 Show documentation
package com.prowidesoftware.swift.model.mx.dic;
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.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;
/**
* Identifies the underlying transaction.
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "TransactionReferences6", propOrder = {
"msgId",
"acctSvcrRef",
"pmtInfId",
"instrId",
"endToEndId",
"uetr",
"txId",
"mndtId",
"chqNb",
"clrSysRef",
"acctOwnrTxId",
"acctSvcrTxId",
"mktInfrstrctrTxId",
"prcgId",
"prtry"
})
public class TransactionReferences6 {
@XmlElement(name = "MsgId")
protected String msgId;
@XmlElement(name = "AcctSvcrRef")
protected String acctSvcrRef;
@XmlElement(name = "PmtInfId")
protected String pmtInfId;
@XmlElement(name = "InstrId")
protected String instrId;
@XmlElement(name = "EndToEndId")
protected String endToEndId;
@XmlElement(name = "UETR")
protected String uetr;
@XmlElement(name = "TxId")
protected String txId;
@XmlElement(name = "MndtId")
protected String mndtId;
@XmlElement(name = "ChqNb")
protected String chqNb;
@XmlElement(name = "ClrSysRef")
protected String clrSysRef;
@XmlElement(name = "AcctOwnrTxId")
protected String acctOwnrTxId;
@XmlElement(name = "AcctSvcrTxId")
protected String acctSvcrTxId;
@XmlElement(name = "MktInfrstrctrTxId")
protected String mktInfrstrctrTxId;
@XmlElement(name = "PrcgId")
protected String prcgId;
@XmlElement(name = "Prtry")
protected List prtry;
/**
* Gets the value of the msgId property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getMsgId() {
return msgId;
}
/**
* Sets the value of the msgId property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public TransactionReferences6 setMsgId(String value) {
this.msgId = value;
return this;
}
/**
* Gets the value of the acctSvcrRef property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getAcctSvcrRef() {
return acctSvcrRef;
}
/**
* Sets the value of the acctSvcrRef property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public TransactionReferences6 setAcctSvcrRef(String value) {
this.acctSvcrRef = value;
return this;
}
/**
* Gets the value of the pmtInfId property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getPmtInfId() {
return pmtInfId;
}
/**
* Sets the value of the pmtInfId property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public TransactionReferences6 setPmtInfId(String value) {
this.pmtInfId = value;
return this;
}
/**
* Gets the value of the instrId property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getInstrId() {
return instrId;
}
/**
* Sets the value of the instrId property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public TransactionReferences6 setInstrId(String value) {
this.instrId = value;
return this;
}
/**
* Gets the value of the endToEndId property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getEndToEndId() {
return endToEndId;
}
/**
* Sets the value of the endToEndId property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public TransactionReferences6 setEndToEndId(String value) {
this.endToEndId = value;
return this;
}
/**
* Gets the value of the uetr property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getUETR() {
return uetr;
}
/**
* Sets the value of the uetr property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public TransactionReferences6 setUETR(String value) {
this.uetr = value;
return this;
}
/**
* Gets the value of the txId property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getTxId() {
return txId;
}
/**
* Sets the value of the txId property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public TransactionReferences6 setTxId(String value) {
this.txId = value;
return this;
}
/**
* Gets the value of the mndtId property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getMndtId() {
return mndtId;
}
/**
* Sets the value of the mndtId property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public TransactionReferences6 setMndtId(String value) {
this.mndtId = value;
return this;
}
/**
* Gets the value of the chqNb property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getChqNb() {
return chqNb;
}
/**
* Sets the value of the chqNb property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public TransactionReferences6 setChqNb(String value) {
this.chqNb = value;
return this;
}
/**
* Gets the value of the clrSysRef property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getClrSysRef() {
return clrSysRef;
}
/**
* Sets the value of the clrSysRef property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public TransactionReferences6 setClrSysRef(String value) {
this.clrSysRef = value;
return this;
}
/**
* Gets the value of the acctOwnrTxId property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getAcctOwnrTxId() {
return acctOwnrTxId;
}
/**
* Sets the value of the acctOwnrTxId property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public TransactionReferences6 setAcctOwnrTxId(String value) {
this.acctOwnrTxId = value;
return this;
}
/**
* Gets the value of the acctSvcrTxId property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getAcctSvcrTxId() {
return acctSvcrTxId;
}
/**
* Sets the value of the acctSvcrTxId property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public TransactionReferences6 setAcctSvcrTxId(String value) {
this.acctSvcrTxId = value;
return this;
}
/**
* Gets the value of the mktInfrstrctrTxId property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getMktInfrstrctrTxId() {
return mktInfrstrctrTxId;
}
/**
* Sets the value of the mktInfrstrctrTxId property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public TransactionReferences6 setMktInfrstrctrTxId(String value) {
this.mktInfrstrctrTxId = value;
return this;
}
/**
* Gets the value of the prcgId property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getPrcgId() {
return prcgId;
}
/**
* Sets the value of the prcgId property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public TransactionReferences6 setPrcgId(String value) {
this.prcgId = value;
return this;
}
/**
* Gets the value of the prtry 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 prtry property.
*
*
* For example, to add a new item, do as follows:
*
* getPrtry().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link ProprietaryReference1 }
*
*
*/
public List getPrtry() {
if (prtry == null) {
prtry = new ArrayList();
}
return this.prtry;
}
@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 prtry list.
* @see #getPrtry()
*
*/
public TransactionReferences6 addPrtry(ProprietaryReference1 prtry) {
getPrtry().add(prtry);
return this;
}
}