com.prowidesoftware.swift.model.mx.dic.Transaction105 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;
/**
* Inquiry transaction
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "Transaction105", propOrder = {
"txTp",
"txSubTp",
"addtlSvc",
"msgRsn",
"altrnMsgRsn",
"spclPrgrmmQlfctn",
"txId",
"txCcy",
"dtldAmt",
"rcncltnAmt",
"addtlAmts",
"addtlFees",
"acctFr",
"txDesc",
"addtlData"
})
public class Transaction105 {
@XmlElement(name = "TxTp", required = true)
protected String txTp;
@XmlElement(name = "TxSubTp")
protected String txSubTp;
@XmlElement(name = "AddtlSvc")
protected List addtlSvc;
@XmlElement(name = "MsgRsn")
protected List msgRsn;
@XmlElement(name = "AltrnMsgRsn")
protected String altrnMsgRsn;
@XmlElement(name = "SpclPrgrmmQlfctn")
protected List spclPrgrmmQlfctn;
@XmlElement(name = "TxId", required = true)
protected TransactionIdentification11 txId;
@XmlElement(name = "TxCcy")
protected String txCcy;
@XmlElement(name = "DtldAmt")
protected List dtldAmt;
@XmlElement(name = "RcncltnAmt")
protected Amount4 rcncltnAmt;
@XmlElement(name = "AddtlAmts")
protected List addtlAmts;
@XmlElement(name = "AddtlFees")
protected List addtlFees;
@XmlElement(name = "AcctFr")
protected AccountDetails2 acctFr;
@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 Transaction105 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 Transaction105 setTxSubTp(String value) {
this.txSubTp = 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 AdditionalService1 }
*
*
* @return
* The value of the addtlSvc property.
*/
public List getAddtlSvc() {
if (addtlSvc == null) {
addtlSvc = new ArrayList<>();
}
return this.addtlSvc;
}
/**
* 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.
*
* @return
* possible object is
* {@link String }
*
*/
public String getAltrnMsgRsn() {
return altrnMsgRsn;
}
/**
* Sets the value of the altrnMsgRsn property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public Transaction105 setAltrnMsgRsn(String value) {
this.altrnMsgRsn = 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 TransactionIdentification11 }
*
*/
public TransactionIdentification11 getTxId() {
return txId;
}
/**
* Sets the value of the txId property.
*
* @param value
* allowed object is
* {@link TransactionIdentification11 }
*
*/
public Transaction105 setTxId(TransactionIdentification11 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 Transaction105 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 DetailedAmount20 }
*
*
* @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 Amount4 }
*
*/
public Amount4 getRcncltnAmt() {
return rcncltnAmt;
}
/**
* Sets the value of the rcncltnAmt property.
*
* @param value
* allowed object is
* {@link Amount4 }
*
*/
public Transaction105 setRcncltnAmt(Amount4 value) {
this.rcncltnAmt = value;
return this;
}
/**
* Gets the value of the addtlAmts 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 addtlAmts property.
*
*
* For example, to add a new item, do as follows:
*
* getAddtlAmts().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link AdditionalAmounts2 }
*
*
* @return
* The value of the addtlAmts property.
*/
public List getAddtlAmts() {
if (addtlAmts == null) {
addtlAmts = new ArrayList<>();
}
return this.addtlAmts;
}
/**
* Gets the value of the addtlFees 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 addtlFees property.
*
*
* For example, to add a new item, do as follows:
*
* getAddtlFees().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link AdditionalFee1 }
*
*
* @return
* The value of the addtlFees property.
*/
public List getAddtlFees() {
if (addtlFees == null) {
addtlFees = new ArrayList<>();
}
return this.addtlFees;
}
/**
* Gets the value of the acctFr property.
*
* @return
* possible object is
* {@link AccountDetails2 }
*
*/
public AccountDetails2 getAcctFr() {
return acctFr;
}
/**
* Sets the value of the acctFr property.
*
* @param value
* allowed object is
* {@link AccountDetails2 }
*
*/
public Transaction105 setAcctFr(AccountDetails2 value) {
this.acctFr = 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 Transaction105 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 addtlSvc list.
* @see #getAddtlSvc()
*
*/
public Transaction105 addAddtlSvc(AdditionalService1 addtlSvc) {
getAddtlSvc().add(addtlSvc);
return this;
}
/**
* Adds a new item to the msgRsn list.
* @see #getMsgRsn()
*
*/
public Transaction105 addMsgRsn(String msgRsn) {
getMsgRsn().add(msgRsn);
return this;
}
/**
* Adds a new item to the spclPrgrmmQlfctn list.
* @see #getSpclPrgrmmQlfctn()
*
*/
public Transaction105 addSpclPrgrmmQlfctn(SpecialProgrammeQualification1 spclPrgrmmQlfctn) {
getSpclPrgrmmQlfctn().add(spclPrgrmmQlfctn);
return this;
}
/**
* Adds a new item to the dtldAmt list.
* @see #getDtldAmt()
*
*/
public Transaction105 addDtldAmt(DetailedAmount20 dtldAmt) {
getDtldAmt().add(dtldAmt);
return this;
}
/**
* Adds a new item to the addtlAmts list.
* @see #getAddtlAmts()
*
*/
public Transaction105 addAddtlAmts(AdditionalAmounts2 addtlAmts) {
getAddtlAmts().add(addtlAmts);
return this;
}
/**
* Adds a new item to the addtlFees list.
* @see #getAddtlFees()
*
*/
public Transaction105 addAddtlFees(AdditionalFee1 addtlFees) {
getAddtlFees().add(addtlFees);
return this;
}
/**
* Adds a new item to the addtlData list.
* @see #getAddtlData()
*
*/
public Transaction105 addAddtlData(AdditionalData1 addtlData) {
getAddtlData().add(addtlData);
return this;
}
}