com.prowidesoftware.swift.model.mx.dic.Transaction150 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 = "Transaction150", propOrder = {
"txTp",
"txSubTp",
"txAttr",
"othrTxAttr",
"preAuthstnTmLmt",
"addtlSvc",
"assoctdDataDstn",
"spclPrgrmmQlfctn",
"txId",
"txAmts",
"addtlAmt",
"addtlFee",
"orgnlAddtlFee",
"acctBal",
"acctFr",
"acctTo",
"txDesc",
"addtlData"
})
public class Transaction150 {
@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 = "PreAuthstnTmLmt")
protected String preAuthstnTmLmt;
@XmlElement(name = "AddtlSvc")
protected List addtlSvc;
@XmlElement(name = "AssoctdDataDstn")
protected String assoctdDataDstn;
@XmlElement(name = "SpclPrgrmmQlfctn")
protected List spclPrgrmmQlfctn;
@XmlElement(name = "TxId", required = true)
protected TransactionIdentification51 txId;
@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 = "AcctBal")
protected List acctBal;
@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 Transaction150 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 Transaction150 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 Transaction150 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 Transaction150 setOthrTxAttr(String value) {
this.othrTxAttr = value;
return this;
}
/**
* 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 Transaction150 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 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 Transaction150 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 TransactionIdentification51 }
*
*/
public TransactionIdentification51 getTxId() {
return txId;
}
/**
* Sets the value of the txId property.
*
* @param value
* allowed object is
* {@link TransactionIdentification51 }
*
*/
public Transaction150 setTxId(TransactionIdentification51 value) {
this.txId = value;
return this;
}
/**
* 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 Transaction150 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 acctBal 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 acctBal property.
*
*
* For example, to add a new item, do as follows:
*
* getAcctBal().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link AccountBalance2 }
*
*
* @return
* The value of the acctBal property.
*/
public List getAcctBal() {
if (acctBal == null) {
acctBal = new ArrayList<>();
}
return this.acctBal;
}
/**
* 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 Transaction150 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 Transaction150 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 Transaction150 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 Transaction150 addAddtlSvc(AdditionalService2 addtlSvc) {
getAddtlSvc().add(addtlSvc);
return this;
}
/**
* Adds a new item to the spclPrgrmmQlfctn list.
* @see #getSpclPrgrmmQlfctn()
*
*/
public Transaction150 addSpclPrgrmmQlfctn(SpecialProgrammeQualification1 spclPrgrmmQlfctn) {
getSpclPrgrmmQlfctn().add(spclPrgrmmQlfctn);
return this;
}
/**
* Adds a new item to the addtlAmt list.
* @see #getAddtlAmt()
*
*/
public Transaction150 addAddtlAmt(AdditionalAmounts3 addtlAmt) {
getAddtlAmt().add(addtlAmt);
return this;
}
/**
* Adds a new item to the addtlFee list.
* @see #getAddtlFee()
*
*/
public Transaction150 addAddtlFee(AdditionalFee2 addtlFee) {
getAddtlFee().add(addtlFee);
return this;
}
/**
* Adds a new item to the orgnlAddtlFee list.
* @see #getOrgnlAddtlFee()
*
*/
public Transaction150 addOrgnlAddtlFee(AdditionalFee2 orgnlAddtlFee) {
getOrgnlAddtlFee().add(orgnlAddtlFee);
return this;
}
/**
* Adds a new item to the acctBal list.
* @see #getAcctBal()
*
*/
public Transaction150 addAcctBal(AccountBalance2 acctBal) {
getAcctBal().add(acctBal);
return this;
}
/**
* Adds a new item to the addtlData list.
* @see #getAddtlData()
*
*/
public Transaction150 addAddtlData(AdditionalData1 addtlData) {
getAddtlData().add(addtlData);
return this;
}
}