com.prowidesoftware.swift.model.mx.dic.Transaction145 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.XmlSchemaType;
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;
/**
* Contains transaction details.
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "Transaction145", propOrder = {
"txTp",
"txSubTp",
"txAttr",
"othrTxAttr",
"msgRsn",
"altrnMsgRsn",
"preAuthstnTmLmt",
"addtlSvc",
"assoctdDataInd",
"assoctdDataRef",
"assoctdDataDstn",
"spclPrgrmmQlfctn",
"txId",
"dsptData",
"txAmts",
"addtlAmt",
"addtlFee",
"orgnlAddtlFee",
"dpstDtls",
"fndsSvcs",
"acctFr",
"acctTo",
"txDesc",
"addtlData",
"addtlInf"
})
public class Transaction145 {
@XmlElement(name = "TxTp", required = true)
protected String txTp;
@XmlElement(name = "TxSubTp")
protected String txSubTp;
@XmlElement(name = "TxAttr")
@XmlSchemaType(name = "string")
protected TransactionAttribute2Code txAttr;
@XmlElement(name = "OthrTxAttr")
protected String othrTxAttr;
@XmlElement(name = "MsgRsn")
protected List msgRsn;
@XmlElement(name = "AltrnMsgRsn")
protected List altrnMsgRsn;
@XmlElement(name = "PreAuthstnTmLmt")
protected String preAuthstnTmLmt;
@XmlElement(name = "AddtlSvc")
protected List addtlSvc;
@XmlElement(name = "AssoctdDataInd")
protected Boolean assoctdDataInd;
@XmlElement(name = "AssoctdDataRef")
protected String assoctdDataRef;
@XmlElement(name = "AssoctdDataDstn")
protected String assoctdDataDstn;
@XmlElement(name = "SpclPrgrmmQlfctn")
protected List spclPrgrmmQlfctn;
@XmlElement(name = "TxId", required = true)
protected TransactionIdentification16 txId;
@XmlElement(name = "DsptData")
protected List dsptData;
@XmlElement(name = "TxAmts", required = true)
protected TransactionAmounts2 txAmts;
@XmlElement(name = "AddtlAmt")
protected List addtlAmt;
@XmlElement(name = "AddtlFee")
protected List addtlFee;
@XmlElement(name = "OrgnlAddtlFee")
protected List orgnlAddtlFee;
@XmlElement(name = "DpstDtls")
protected List dpstDtls;
@XmlElement(name = "FndsSvcs")
protected FundingService2 fndsSvcs;
@XmlElement(name = "AcctFr")
protected AccountDetails3 acctFr;
@XmlElement(name = "AcctTo")
protected AccountDetails3 acctTo;
@XmlElement(name = "TxDesc")
protected String txDesc;
@XmlElement(name = "AddtlData")
protected List addtlData;
@XmlElement(name = "AddtlInf")
protected AdditionalInformation20 addtlInf;
/**
* Gets the value of the txTp property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getTxTp() {
return txTp;
}
/**
* Sets the value of the txTp property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public Transaction145 setTxTp(String value) {
this.txTp = value;
return this;
}
/**
* Gets the value of the txSubTp property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getTxSubTp() {
return txSubTp;
}
/**
* Sets the value of the txSubTp property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public Transaction145 setTxSubTp(String value) {
this.txSubTp = value;
return this;
}
/**
* Gets the value of the txAttr property.
*
* @return
* possible object is
* {@link TransactionAttribute2Code }
*
*/
public TransactionAttribute2Code getTxAttr() {
return txAttr;
}
/**
* Sets the value of the txAttr property.
*
* @param value
* allowed object is
* {@link TransactionAttribute2Code }
*
*/
public Transaction145 setTxAttr(TransactionAttribute2Code value) {
this.txAttr = value;
return this;
}
/**
* Gets the value of the othrTxAttr property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getOthrTxAttr() {
return othrTxAttr;
}
/**
* Sets the value of the othrTxAttr property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public Transaction145 setOthrTxAttr(String value) {
this.othrTxAttr = value;
return this;
}
/**
* Gets the value of the msgRsn 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 msgRsn property.
*
*
* For example, to add a new item, do as follows:
*
* getMsgRsn().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link String }
*
*
* @return
* The value of the msgRsn property.
*/
public List getMsgRsn() {
if (msgRsn == null) {
msgRsn = new ArrayList<>();
}
return this.msgRsn;
}
/**
* Gets the value of the altrnMsgRsn 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 altrnMsgRsn property.
*
*
* For example, to add a new item, do as follows:
*
* getAltrnMsgRsn().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link String }
*
*
* @return
* The value of the altrnMsgRsn property.
*/
public List getAltrnMsgRsn() {
if (altrnMsgRsn == null) {
altrnMsgRsn = new ArrayList<>();
}
return this.altrnMsgRsn;
}
/**
* Gets the value of the preAuthstnTmLmt property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getPreAuthstnTmLmt() {
return preAuthstnTmLmt;
}
/**
* Sets the value of the preAuthstnTmLmt property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public Transaction145 setPreAuthstnTmLmt(String value) {
this.preAuthstnTmLmt = value;
return this;
}
/**
* Gets the value of the addtlSvc 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 addtlSvc property.
*
*
* For example, to add a new item, do as follows:
*
* getAddtlSvc().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link AdditionalService2 }
*
*
* @return
* The value of the addtlSvc property.
*/
public List getAddtlSvc() {
if (addtlSvc == null) {
addtlSvc = new ArrayList<>();
}
return this.addtlSvc;
}
/**
* Gets the value of the assoctdDataInd property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean isAssoctdDataInd() {
return assoctdDataInd;
}
/**
* Sets the value of the assoctdDataInd property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public Transaction145 setAssoctdDataInd(Boolean value) {
this.assoctdDataInd = value;
return this;
}
/**
* Gets the value of the assoctdDataRef property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getAssoctdDataRef() {
return assoctdDataRef;
}
/**
* Sets the value of the assoctdDataRef property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public Transaction145 setAssoctdDataRef(String value) {
this.assoctdDataRef = value;
return this;
}
/**
* Gets the value of the assoctdDataDstn property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getAssoctdDataDstn() {
return assoctdDataDstn;
}
/**
* Sets the value of the assoctdDataDstn property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public Transaction145 setAssoctdDataDstn(String value) {
this.assoctdDataDstn = value;
return this;
}
/**
* Gets the value of the spclPrgrmmQlfctn 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 spclPrgrmmQlfctn property.
*
*
* For example, to add a new item, do as follows:
*
* getSpclPrgrmmQlfctn().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link SpecialProgrammeQualification1 }
*
*
* @return
* The value of the spclPrgrmmQlfctn property.
*/
public List getSpclPrgrmmQlfctn() {
if (spclPrgrmmQlfctn == null) {
spclPrgrmmQlfctn = new ArrayList<>();
}
return this.spclPrgrmmQlfctn;
}
/**
* Gets the value of the txId property.
*
* @return
* possible object is
* {@link TransactionIdentification16 }
*
*/
public TransactionIdentification16 getTxId() {
return txId;
}
/**
* Sets the value of the txId property.
*
* @param value
* allowed object is
* {@link TransactionIdentification16 }
*
*/
public Transaction145 setTxId(TransactionIdentification16 value) {
this.txId = value;
return this;
}
/**
* Gets the value of the dsptData 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 dsptData property.
*
*
* For example, to add a new item, do as follows:
*
* getDsptData().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link DisputeData3 }
*
*
* @return
* The value of the dsptData property.
*/
public List getDsptData() {
if (dsptData == null) {
dsptData = new ArrayList<>();
}
return this.dsptData;
}
/**
* Gets the value of the txAmts property.
*
* @return
* possible object is
* {@link TransactionAmounts2 }
*
*/
public TransactionAmounts2 getTxAmts() {
return txAmts;
}
/**
* Sets the value of the txAmts property.
*
* @param value
* allowed object is
* {@link TransactionAmounts2 }
*
*/
public Transaction145 setTxAmts(TransactionAmounts2 value) {
this.txAmts = value;
return this;
}
/**
* Gets the value of the addtlAmt 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 addtlAmt property.
*
*
* For example, to add a new item, do as follows:
*
* getAddtlAmt().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link AdditionalAmounts3 }
*
*
* @return
* The value of the addtlAmt property.
*/
public List getAddtlAmt() {
if (addtlAmt == null) {
addtlAmt = new ArrayList<>();
}
return this.addtlAmt;
}
/**
* Gets the value of the addtlFee 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 addtlFee property.
*
*
* For example, to add a new item, do as follows:
*
* getAddtlFee().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link AdditionalFee2 }
*
*
* @return
* The value of the addtlFee property.
*/
public List getAddtlFee() {
if (addtlFee == null) {
addtlFee = new ArrayList<>();
}
return this.addtlFee;
}
/**
* Gets the value of the orgnlAddtlFee 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 orgnlAddtlFee property.
*
*
* For example, to add a new item, do as follows:
*
* getOrgnlAddtlFee().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link AdditionalFee2 }
*
*
* @return
* The value of the orgnlAddtlFee property.
*/
public List getOrgnlAddtlFee() {
if (orgnlAddtlFee == null) {
orgnlAddtlFee = new ArrayList<>();
}
return this.orgnlAddtlFee;
}
/**
* Gets the value of the dpstDtls 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 dpstDtls property.
*
*
* For example, to add a new item, do as follows:
*
* getDpstDtls().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link DepositDetails2 }
*
*
* @return
* The value of the dpstDtls property.
*/
public List getDpstDtls() {
if (dpstDtls == null) {
dpstDtls = new ArrayList<>();
}
return this.dpstDtls;
}
/**
* Gets the value of the fndsSvcs property.
*
* @return
* possible object is
* {@link FundingService2 }
*
*/
public FundingService2 getFndsSvcs() {
return fndsSvcs;
}
/**
* Sets the value of the fndsSvcs property.
*
* @param value
* allowed object is
* {@link FundingService2 }
*
*/
public Transaction145 setFndsSvcs(FundingService2 value) {
this.fndsSvcs = value;
return this;
}
/**
* Gets the value of the acctFr property.
*
* @return
* possible object is
* {@link AccountDetails3 }
*
*/
public AccountDetails3 getAcctFr() {
return acctFr;
}
/**
* Sets the value of the acctFr property.
*
* @param value
* allowed object is
* {@link AccountDetails3 }
*
*/
public Transaction145 setAcctFr(AccountDetails3 value) {
this.acctFr = value;
return this;
}
/**
* Gets the value of the acctTo property.
*
* @return
* possible object is
* {@link AccountDetails3 }
*
*/
public AccountDetails3 getAcctTo() {
return acctTo;
}
/**
* Sets the value of the acctTo property.
*
* @param value
* allowed object is
* {@link AccountDetails3 }
*
*/
public Transaction145 setAcctTo(AccountDetails3 value) {
this.acctTo = value;
return this;
}
/**
* Gets the value of the txDesc property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getTxDesc() {
return txDesc;
}
/**
* Sets the value of the txDesc property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public Transaction145 setTxDesc(String value) {
this.txDesc = value;
return this;
}
/**
* Gets the value of the addtlData 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 addtlData property.
*
*
* For example, to add a new item, do as follows:
*
* getAddtlData().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link AdditionalData1 }
*
*
* @return
* The value of the addtlData property.
*/
public List getAddtlData() {
if (addtlData == null) {
addtlData = new ArrayList<>();
}
return this.addtlData;
}
/**
* Gets the value of the addtlInf property.
*
* @return
* possible object is
* {@link AdditionalInformation20 }
*
*/
public AdditionalInformation20 getAddtlInf() {
return addtlInf;
}
/**
* Sets the value of the addtlInf property.
*
* @param value
* allowed object is
* {@link AdditionalInformation20 }
*
*/
public Transaction145 setAddtlInf(AdditionalInformation20 value) {
this.addtlInf = 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 msgRsn list.
* @see #getMsgRsn()
*
*/
public Transaction145 addMsgRsn(String msgRsn) {
getMsgRsn().add(msgRsn);
return this;
}
/**
* Adds a new item to the altrnMsgRsn list.
* @see #getAltrnMsgRsn()
*
*/
public Transaction145 addAltrnMsgRsn(String altrnMsgRsn) {
getAltrnMsgRsn().add(altrnMsgRsn);
return this;
}
/**
* Adds a new item to the addtlSvc list.
* @see #getAddtlSvc()
*
*/
public Transaction145 addAddtlSvc(AdditionalService2 addtlSvc) {
getAddtlSvc().add(addtlSvc);
return this;
}
/**
* Adds a new item to the spclPrgrmmQlfctn list.
* @see #getSpclPrgrmmQlfctn()
*
*/
public Transaction145 addSpclPrgrmmQlfctn(SpecialProgrammeQualification1 spclPrgrmmQlfctn) {
getSpclPrgrmmQlfctn().add(spclPrgrmmQlfctn);
return this;
}
/**
* Adds a new item to the dsptData list.
* @see #getDsptData()
*
*/
public Transaction145 addDsptData(DisputeData3 dsptData) {
getDsptData().add(dsptData);
return this;
}
/**
* Adds a new item to the addtlAmt list.
* @see #getAddtlAmt()
*
*/
public Transaction145 addAddtlAmt(AdditionalAmounts3 addtlAmt) {
getAddtlAmt().add(addtlAmt);
return this;
}
/**
* Adds a new item to the addtlFee list.
* @see #getAddtlFee()
*
*/
public Transaction145 addAddtlFee(AdditionalFee2 addtlFee) {
getAddtlFee().add(addtlFee);
return this;
}
/**
* Adds a new item to the orgnlAddtlFee list.
* @see #getOrgnlAddtlFee()
*
*/
public Transaction145 addOrgnlAddtlFee(AdditionalFee2 orgnlAddtlFee) {
getOrgnlAddtlFee().add(orgnlAddtlFee);
return this;
}
/**
* Adds a new item to the dpstDtls list.
* @see #getDpstDtls()
*
*/
public Transaction145 addDpstDtls(DepositDetails2 dpstDtls) {
getDpstDtls().add(dpstDtls);
return this;
}
/**
* Adds a new item to the addtlData list.
* @see #getAddtlData()
*
*/
public Transaction145 addAddtlData(AdditionalData1 addtlData) {
getAddtlData().add(addtlData);
return this;
}
}