com.prowidesoftware.swift.model.mx.dic.OriginalPaymentInstruction14 Maven / Gradle / Ivy
Show all versions of pw-iso20022 Show documentation
package com.prowidesoftware.swift.model.mx.dic;
import java.math.BigDecimal;
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;
/**
* Provides details on the original transactions, to which the status report message refers.
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "OriginalPaymentInstruction14", propOrder = {
"orgnlPmtInfId",
"orgnlNbOfTxs",
"orgnlCtrlSum",
"pmtInfSts",
"stsRsnInf",
"nbOfTxsPerSts",
"txInfAndSts"
})
public class OriginalPaymentInstruction14 {
@XmlElement(name = "OrgnlPmtInfId", required = true)
protected String orgnlPmtInfId;
@XmlElement(name = "OrgnlNbOfTxs")
protected String orgnlNbOfTxs;
@XmlElement(name = "OrgnlCtrlSum")
protected BigDecimal orgnlCtrlSum;
@XmlElement(name = "PmtInfSts")
@XmlSchemaType(name = "string")
protected TransactionGroupStatus3Code pmtInfSts;
@XmlElement(name = "StsRsnInf")
protected List stsRsnInf;
@XmlElement(name = "NbOfTxsPerSts")
protected List nbOfTxsPerSts;
@XmlElement(name = "TxInfAndSts")
protected List txInfAndSts;
/**
* Gets the value of the orgnlPmtInfId property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getOrgnlPmtInfId() {
return orgnlPmtInfId;
}
/**
* Sets the value of the orgnlPmtInfId property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public OriginalPaymentInstruction14 setOrgnlPmtInfId(String value) {
this.orgnlPmtInfId = value;
return this;
}
/**
* Gets the value of the orgnlNbOfTxs property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getOrgnlNbOfTxs() {
return orgnlNbOfTxs;
}
/**
* Sets the value of the orgnlNbOfTxs property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public OriginalPaymentInstruction14 setOrgnlNbOfTxs(String value) {
this.orgnlNbOfTxs = value;
return this;
}
/**
* Gets the value of the orgnlCtrlSum property.
*
* @return
* possible object is
* {@link BigDecimal }
*
*/
public BigDecimal getOrgnlCtrlSum() {
return orgnlCtrlSum;
}
/**
* Sets the value of the orgnlCtrlSum property.
*
* @param value
* allowed object is
* {@link BigDecimal }
*
*/
public OriginalPaymentInstruction14 setOrgnlCtrlSum(BigDecimal value) {
this.orgnlCtrlSum = value;
return this;
}
/**
* Gets the value of the pmtInfSts property.
*
* @return
* possible object is
* {@link TransactionGroupStatus3Code }
*
*/
public TransactionGroupStatus3Code getPmtInfSts() {
return pmtInfSts;
}
/**
* Sets the value of the pmtInfSts property.
*
* @param value
* allowed object is
* {@link TransactionGroupStatus3Code }
*
*/
public OriginalPaymentInstruction14 setPmtInfSts(TransactionGroupStatus3Code value) {
this.pmtInfSts = 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 Jakarta XML Binding object.
* This is why there is not a {@code 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 StatusReasonInformation9 }
*
*
* @return
* The value of the stsRsnInf property.
*/
public List getStsRsnInf() {
if (stsRsnInf == null) {
stsRsnInf = new ArrayList<>();
}
return this.stsRsnInf;
}
/**
* Gets the value of the nbOfTxsPerSts 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 nbOfTxsPerSts property.
*
*
* For example, to add a new item, do as follows:
*
* getNbOfTxsPerSts().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link NumberOfTransactionsPerStatus3 }
*
*
* @return
* The value of the nbOfTxsPerSts property.
*/
public List getNbOfTxsPerSts() {
if (nbOfTxsPerSts == null) {
nbOfTxsPerSts = new ArrayList<>();
}
return this.nbOfTxsPerSts;
}
/**
* Gets the value of the txInfAndSts 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 txInfAndSts property.
*
*
* For example, to add a new item, do as follows:
*
* getTxInfAndSts().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link PaymentTransaction59 }
*
*
* @return
* The value of the txInfAndSts property.
*/
public List getTxInfAndSts() {
if (txInfAndSts == null) {
txInfAndSts = new ArrayList<>();
}
return this.txInfAndSts;
}
@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 OriginalPaymentInstruction14 addStsRsnInf(StatusReasonInformation9 stsRsnInf) {
getStsRsnInf().add(stsRsnInf);
return this;
}
/**
* Adds a new item to the nbOfTxsPerSts list.
* @see #getNbOfTxsPerSts()
*
*/
public OriginalPaymentInstruction14 addNbOfTxsPerSts(NumberOfTransactionsPerStatus3 nbOfTxsPerSts) {
getNbOfTxsPerSts().add(nbOfTxsPerSts);
return this;
}
/**
* Adds a new item to the txInfAndSts list.
* @see #getTxInfAndSts()
*
*/
public OriginalPaymentInstruction14 addTxInfAndSts(PaymentTransaction59 txInfAndSts) {
getTxInfAndSts().add(txInfAndSts);
return this;
}
}