com.prowidesoftware.swift.model.mx.dic.Transaction7 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 jakarta.xml.bind.annotation.XmlAccessType;
import jakarta.xml.bind.annotation.XmlAccessorType;
import jakarta.xml.bind.annotation.XmlElement;
import jakarta.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 details of the transaction.
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "Transaction7", propOrder = {
"acctOwnrTxId",
"acctSvcrTxId",
"mktInfrstrctrTxId",
"tradId",
"poolId",
"cmonId",
"corpActnEvtId",
"trptyAgtCollTxId",
"clntTrptyCollTxId",
"txDtls"
})
public class Transaction7 {
@XmlElement(name = "AcctOwnrTxId", required = true)
protected String acctOwnrTxId;
@XmlElement(name = "AcctSvcrTxId")
protected String acctSvcrTxId;
@XmlElement(name = "MktInfrstrctrTxId")
protected String mktInfrstrctrTxId;
@XmlElement(name = "TradId")
protected List tradId;
@XmlElement(name = "PoolId")
protected String poolId;
@XmlElement(name = "CmonId")
protected String cmonId;
@XmlElement(name = "CorpActnEvtId")
protected String corpActnEvtId;
@XmlElement(name = "TrptyAgtCollTxId")
protected String trptyAgtCollTxId;
@XmlElement(name = "ClntTrptyCollTxId")
protected String clntTrptyCollTxId;
@XmlElement(name = "TxDtls")
protected TransactionDetails7 txDtls;
/**
* 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 Transaction7 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 Transaction7 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 Transaction7 setMktInfrstrctrTxId(String value) {
this.mktInfrstrctrTxId = value;
return this;
}
/**
* Gets the value of the tradId 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 Jakarta XML Binding object.
* This is why there is not a {@code set} method for the tradId property.
*
*
* For example, to add a new item, do as follows:
*
* getTradId().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link String }
*
*
* @return
* The value of the tradId property.
*/
public List getTradId() {
if (tradId == null) {
tradId = new ArrayList<>();
}
return this.tradId;
}
/**
* Gets the value of the poolId property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getPoolId() {
return poolId;
}
/**
* Sets the value of the poolId property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public Transaction7 setPoolId(String value) {
this.poolId = value;
return this;
}
/**
* Gets the value of the cmonId property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getCmonId() {
return cmonId;
}
/**
* Sets the value of the cmonId property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public Transaction7 setCmonId(String value) {
this.cmonId = value;
return this;
}
/**
* Gets the value of the corpActnEvtId property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getCorpActnEvtId() {
return corpActnEvtId;
}
/**
* Sets the value of the corpActnEvtId property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public Transaction7 setCorpActnEvtId(String value) {
this.corpActnEvtId = value;
return this;
}
/**
* Gets the value of the trptyAgtCollTxId property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getTrptyAgtCollTxId() {
return trptyAgtCollTxId;
}
/**
* Sets the value of the trptyAgtCollTxId property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public Transaction7 setTrptyAgtCollTxId(String value) {
this.trptyAgtCollTxId = value;
return this;
}
/**
* Gets the value of the clntTrptyCollTxId property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getClntTrptyCollTxId() {
return clntTrptyCollTxId;
}
/**
* Sets the value of the clntTrptyCollTxId property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public Transaction7 setClntTrptyCollTxId(String value) {
this.clntTrptyCollTxId = value;
return this;
}
/**
* Gets the value of the txDtls property.
*
* @return
* possible object is
* {@link TransactionDetails7 }
*
*/
public TransactionDetails7 getTxDtls() {
return txDtls;
}
/**
* Sets the value of the txDtls property.
*
* @param value
* allowed object is
* {@link TransactionDetails7 }
*
*/
public Transaction7 setTxDtls(TransactionDetails7 value) {
this.txDtls = 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 tradId list.
* @see #getTradId()
*
*/
public Transaction7 addTradId(String tradId) {
getTradId().add(tradId);
return this;
}
}