com.prowidesoftware.swift.model.mx.dic.PaymentTransactionInformation26 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 javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
import javax.xml.datatype.XMLGregorianCalendar;
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;
/**
* Set of elements used to provide information on the original transactions, to which the status report message refers.
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "PaymentTransactionInformation26", propOrder = {
"stsId",
"orgnlInstrId",
"orgnlEndToEndId",
"orgnlTxId",
"txSts",
"stsRsnInf",
"chrgsInf",
"accptncDtTm",
"acctSvcrRef",
"clrSysRef",
"instgAgt",
"instdAgt",
"orgnlTxRef"
})
public class PaymentTransactionInformation26 {
@XmlElement(name = "StsId")
protected String stsId;
@XmlElement(name = "OrgnlInstrId")
protected String orgnlInstrId;
@XmlElement(name = "OrgnlEndToEndId")
protected String orgnlEndToEndId;
@XmlElement(name = "OrgnlTxId")
protected String orgnlTxId;
@XmlElement(name = "TxSts")
@XmlSchemaType(name = "string")
protected TransactionIndividualStatus3Code txSts;
@XmlElement(name = "StsRsnInf")
protected List stsRsnInf;
@XmlElement(name = "ChrgsInf")
protected List chrgsInf;
@XmlElement(name = "AccptncDtTm")
@XmlSchemaType(name = "dateTime")
protected XMLGregorianCalendar accptncDtTm;
@XmlElement(name = "AcctSvcrRef")
protected String acctSvcrRef;
@XmlElement(name = "ClrSysRef")
protected String clrSysRef;
@XmlElement(name = "InstgAgt")
protected BranchAndFinancialInstitutionIdentification4 instgAgt;
@XmlElement(name = "InstdAgt")
protected BranchAndFinancialInstitutionIdentification4 instdAgt;
@XmlElement(name = "OrgnlTxRef")
protected OriginalTransactionReference13 orgnlTxRef;
/**
* Gets the value of the stsId property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getStsId() {
return stsId;
}
/**
* Sets the value of the stsId property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public PaymentTransactionInformation26 setStsId(String value) {
this.stsId = value;
return this;
}
/**
* Gets the value of the orgnlInstrId property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getOrgnlInstrId() {
return orgnlInstrId;
}
/**
* Sets the value of the orgnlInstrId property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public PaymentTransactionInformation26 setOrgnlInstrId(String value) {
this.orgnlInstrId = value;
return this;
}
/**
* Gets the value of the orgnlEndToEndId property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getOrgnlEndToEndId() {
return orgnlEndToEndId;
}
/**
* Sets the value of the orgnlEndToEndId property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public PaymentTransactionInformation26 setOrgnlEndToEndId(String value) {
this.orgnlEndToEndId = value;
return this;
}
/**
* Gets the value of the orgnlTxId property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getOrgnlTxId() {
return orgnlTxId;
}
/**
* Sets the value of the orgnlTxId property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public PaymentTransactionInformation26 setOrgnlTxId(String value) {
this.orgnlTxId = value;
return this;
}
/**
* Gets the value of the txSts property.
*
* @return
* possible object is
* {@link TransactionIndividualStatus3Code }
*
*/
public TransactionIndividualStatus3Code getTxSts() {
return txSts;
}
/**
* Sets the value of the txSts property.
*
* @param value
* allowed object is
* {@link TransactionIndividualStatus3Code }
*
*/
public PaymentTransactionInformation26 setTxSts(TransactionIndividualStatus3Code value) {
this.txSts = value;
return this;
}
/**
* Gets the value of the stsRsnInf 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 JAXB object.
* This is why there is not a set
method for the stsRsnInf property.
*
*
* For example, to add a new item, do as follows:
*
* getStsRsnInf().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link StatusReasonInformation8 }
*
*
*/
public List getStsRsnInf() {
if (stsRsnInf == null) {
stsRsnInf = new ArrayList();
}
return this.stsRsnInf;
}
/**
* Gets the value of the chrgsInf 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 JAXB object.
* This is why there is not a set
method for the chrgsInf property.
*
*
* For example, to add a new item, do as follows:
*
* getChrgsInf().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link ChargesInformation5 }
*
*
*/
public List getChrgsInf() {
if (chrgsInf == null) {
chrgsInf = new ArrayList();
}
return this.chrgsInf;
}
/**
* Gets the value of the accptncDtTm property.
*
* @return
* possible object is
* {@link XMLGregorianCalendar }
*
*/
public XMLGregorianCalendar getAccptncDtTm() {
return accptncDtTm;
}
/**
* Sets the value of the accptncDtTm property.
*
* @param value
* allowed object is
* {@link XMLGregorianCalendar }
*
*/
public PaymentTransactionInformation26 setAccptncDtTm(XMLGregorianCalendar value) {
this.accptncDtTm = value;
return this;
}
/**
* Gets the value of the acctSvcrRef property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getAcctSvcrRef() {
return acctSvcrRef;
}
/**
* Sets the value of the acctSvcrRef property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public PaymentTransactionInformation26 setAcctSvcrRef(String value) {
this.acctSvcrRef = value;
return this;
}
/**
* Gets the value of the clrSysRef property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getClrSysRef() {
return clrSysRef;
}
/**
* Sets the value of the clrSysRef property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public PaymentTransactionInformation26 setClrSysRef(String value) {
this.clrSysRef = value;
return this;
}
/**
* Gets the value of the instgAgt property.
*
* @return
* possible object is
* {@link BranchAndFinancialInstitutionIdentification4 }
*
*/
public BranchAndFinancialInstitutionIdentification4 getInstgAgt() {
return instgAgt;
}
/**
* Sets the value of the instgAgt property.
*
* @param value
* allowed object is
* {@link BranchAndFinancialInstitutionIdentification4 }
*
*/
public PaymentTransactionInformation26 setInstgAgt(BranchAndFinancialInstitutionIdentification4 value) {
this.instgAgt = value;
return this;
}
/**
* Gets the value of the instdAgt property.
*
* @return
* possible object is
* {@link BranchAndFinancialInstitutionIdentification4 }
*
*/
public BranchAndFinancialInstitutionIdentification4 getInstdAgt() {
return instdAgt;
}
/**
* Sets the value of the instdAgt property.
*
* @param value
* allowed object is
* {@link BranchAndFinancialInstitutionIdentification4 }
*
*/
public PaymentTransactionInformation26 setInstdAgt(BranchAndFinancialInstitutionIdentification4 value) {
this.instdAgt = value;
return this;
}
/**
* Gets the value of the orgnlTxRef property.
*
* @return
* possible object is
* {@link OriginalTransactionReference13 }
*
*/
public OriginalTransactionReference13 getOrgnlTxRef() {
return orgnlTxRef;
}
/**
* Sets the value of the orgnlTxRef property.
*
* @param value
* allowed object is
* {@link OriginalTransactionReference13 }
*
*/
public PaymentTransactionInformation26 setOrgnlTxRef(OriginalTransactionReference13 value) {
this.orgnlTxRef = 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 stsRsnInf list.
* @see #getStsRsnInf()
*
*/
public PaymentTransactionInformation26 addStsRsnInf(StatusReasonInformation8 stsRsnInf) {
getStsRsnInf().add(stsRsnInf);
return this;
}
/**
* Adds a new item to the chrgsInf list.
* @see #getChrgsInf()
*
*/
public PaymentTransactionInformation26 addChrgsInf(ChargesInformation5 chrgsInf) {
getChrgsInf().add(chrgsInf);
return this;
}
}