com.prowidesoftware.swift.model.mx.dic.Transaction146 Maven / Gradle / Ivy
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 = "Transaction146", propOrder = {
"txTp",
"txSubTp",
"txAttr",
"othrTxAttr",
"msgRsn",
"altrnMsgRsn",
"addtlSvc",
"spclPrgrmmQlfctn",
"txId",
"txCcy",
"dtldAmt",
"rcncltnAmt",
"addtlAmt",
"addtlFee",
"fndsSvcs",
"acctFr",
"acctTo",
"txDesc",
"addtlData"
})
public class Transaction146 {
@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 = "AddtlSvc")
protected List addtlSvc;
@XmlElement(name = "SpclPrgrmmQlfctn")
protected List spclPrgrmmQlfctn;
@XmlElement(name = "TxId", required = true)
protected TransactionIdentification18 txId;
@XmlElement(name = "TxCcy")
protected String txCcy;
@XmlElement(name = "DtldAmt")
protected List dtldAmt;
@XmlElement(name = "RcncltnAmt")
protected Amount15 rcncltnAmt;
@XmlElement(name = "AddtlAmt")
protected List addtlAmt;
@XmlElement(name = "AddtlFee")
protected List addtlFee;
@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;
/**
* 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 Transaction146 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 Transaction146 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 Transaction146 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 Transaction146 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 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 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 TransactionIdentification18 }
*
*/
public TransactionIdentification18 getTxId() {
return txId;
}
/**
* Sets the value of the txId property.
*
* @param value
* allowed object is
* {@link TransactionIdentification18 }
*
*/
public Transaction146 setTxId(TransactionIdentification18 value) {
this.txId = value;
return this;
}
/**
* Gets the value of the txCcy property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getTxCcy() {
return txCcy;
}
/**
* Sets the value of the txCcy property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public Transaction146 setTxCcy(String value) {
this.txCcy = value;
return this;
}
/**
* Gets the value of the dtldAmt 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 dtldAmt property.
*
*
* For example, to add a new item, do as follows:
*
* getDtldAmt().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link DetailedAmount23 }
*
*
* @return
* The value of the dtldAmt property.
*/
public List getDtldAmt() {
if (dtldAmt == null) {
dtldAmt = new ArrayList<>();
}
return this.dtldAmt;
}
/**
* Gets the value of the rcncltnAmt property.
*
* @return
* possible object is
* {@link Amount15 }
*
*/
public Amount15 getRcncltnAmt() {
return rcncltnAmt;
}
/**
* Sets the value of the rcncltnAmt property.
*
* @param value
* allowed object is
* {@link Amount15 }
*
*/
public Transaction146 setRcncltnAmt(Amount15 value) {
this.rcncltnAmt = 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 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 Transaction146 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 Transaction146 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 Transaction146 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 Transaction146 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;
}
@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 Transaction146 addMsgRsn(String msgRsn) {
getMsgRsn().add(msgRsn);
return this;
}
/**
* Adds a new item to the altrnMsgRsn list.
* @see #getAltrnMsgRsn()
*
*/
public Transaction146 addAltrnMsgRsn(String altrnMsgRsn) {
getAltrnMsgRsn().add(altrnMsgRsn);
return this;
}
/**
* Adds a new item to the addtlSvc list.
* @see #getAddtlSvc()
*
*/
public Transaction146 addAddtlSvc(AdditionalService2 addtlSvc) {
getAddtlSvc().add(addtlSvc);
return this;
}
/**
* Adds a new item to the spclPrgrmmQlfctn list.
* @see #getSpclPrgrmmQlfctn()
*
*/
public Transaction146 addSpclPrgrmmQlfctn(SpecialProgrammeQualification1 spclPrgrmmQlfctn) {
getSpclPrgrmmQlfctn().add(spclPrgrmmQlfctn);
return this;
}
/**
* Adds a new item to the dtldAmt list.
* @see #getDtldAmt()
*
*/
public Transaction146 addDtldAmt(DetailedAmount23 dtldAmt) {
getDtldAmt().add(dtldAmt);
return this;
}
/**
* Adds a new item to the addtlAmt list.
* @see #getAddtlAmt()
*
*/
public Transaction146 addAddtlAmt(AdditionalAmounts3 addtlAmt) {
getAddtlAmt().add(addtlAmt);
return this;
}
/**
* Adds a new item to the addtlFee list.
* @see #getAddtlFee()
*
*/
public Transaction146 addAddtlFee(AdditionalFee2 addtlFee) {
getAddtlFee().add(addtlFee);
return this;
}
/**
* Adds a new item to the addtlData list.
* @see #getAddtlData()
*
*/
public Transaction146 addAddtlData(AdditionalData1 addtlData) {
getAddtlData().add(addtlData);
return this;
}
}