
com.prowidesoftware.swift.model.mx.dic.OriginalPaymentInstruction17 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 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 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 the details on the reference and status of the original transactions, included in the original instruction, to which the cancellation request message applies.
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "OriginalPaymentInstruction17", propOrder = {
"orgnlPmtInfCxlId",
"rslvdCase",
"orgnlPmtInfId",
"orgnlGrpInf",
"orgnlNbOfTxs",
"orgnlCtrlSum",
"pmtInfCxlSts",
"cxlStsRsnInf",
"nbOfTxsPerCxlSts",
"txInfAndSts"
})
public class OriginalPaymentInstruction17 {
@XmlElement(name = "OrgnlPmtInfCxlId")
protected String orgnlPmtInfCxlId;
@XmlElement(name = "RslvdCase")
protected Case3 rslvdCase;
@XmlElement(name = "OrgnlPmtInfId", required = true)
protected String orgnlPmtInfId;
@XmlElement(name = "OrgnlGrpInf")
protected OriginalGroupInformation3 orgnlGrpInf;
@XmlElement(name = "OrgnlNbOfTxs")
protected String orgnlNbOfTxs;
@XmlElement(name = "OrgnlCtrlSum")
protected BigDecimal orgnlCtrlSum;
@XmlElement(name = "PmtInfCxlSts")
@XmlSchemaType(name = "string")
protected GroupCancellationStatus1Code pmtInfCxlSts;
@XmlElement(name = "CxlStsRsnInf")
protected List cxlStsRsnInf;
@XmlElement(name = "NbOfTxsPerCxlSts")
protected List nbOfTxsPerCxlSts;
@XmlElement(name = "TxInfAndSts")
protected List txInfAndSts;
/**
* Gets the value of the orgnlPmtInfCxlId property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getOrgnlPmtInfCxlId() {
return orgnlPmtInfCxlId;
}
/**
* Sets the value of the orgnlPmtInfCxlId property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public OriginalPaymentInstruction17 setOrgnlPmtInfCxlId(String value) {
this.orgnlPmtInfCxlId = value;
return this;
}
/**
* Gets the value of the rslvdCase property.
*
* @return
* possible object is
* {@link Case3 }
*
*/
public Case3 getRslvdCase() {
return rslvdCase;
}
/**
* Sets the value of the rslvdCase property.
*
* @param value
* allowed object is
* {@link Case3 }
*
*/
public OriginalPaymentInstruction17 setRslvdCase(Case3 value) {
this.rslvdCase = value;
return this;
}
/**
* 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 OriginalPaymentInstruction17 setOrgnlPmtInfId(String value) {
this.orgnlPmtInfId = value;
return this;
}
/**
* Gets the value of the orgnlGrpInf property.
*
* @return
* possible object is
* {@link OriginalGroupInformation3 }
*
*/
public OriginalGroupInformation3 getOrgnlGrpInf() {
return orgnlGrpInf;
}
/**
* Sets the value of the orgnlGrpInf property.
*
* @param value
* allowed object is
* {@link OriginalGroupInformation3 }
*
*/
public OriginalPaymentInstruction17 setOrgnlGrpInf(OriginalGroupInformation3 value) {
this.orgnlGrpInf = 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 OriginalPaymentInstruction17 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 OriginalPaymentInstruction17 setOrgnlCtrlSum(BigDecimal value) {
this.orgnlCtrlSum = value;
return this;
}
/**
* Gets the value of the pmtInfCxlSts property.
*
* @return
* possible object is
* {@link GroupCancellationStatus1Code }
*
*/
public GroupCancellationStatus1Code getPmtInfCxlSts() {
return pmtInfCxlSts;
}
/**
* Sets the value of the pmtInfCxlSts property.
*
* @param value
* allowed object is
* {@link GroupCancellationStatus1Code }
*
*/
public OriginalPaymentInstruction17 setPmtInfCxlSts(GroupCancellationStatus1Code value) {
this.pmtInfCxlSts = value;
return this;
}
/**
* Gets the value of the cxlStsRsnInf 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 cxlStsRsnInf property.
*
*
* For example, to add a new item, do as follows:
*
* getCxlStsRsnInf().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link CancellationStatusReason2 }
*
*
*/
public List getCxlStsRsnInf() {
if (cxlStsRsnInf == null) {
cxlStsRsnInf = new ArrayList();
}
return this.cxlStsRsnInf;
}
/**
* Gets the value of the nbOfTxsPerCxlSts 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 nbOfTxsPerCxlSts property.
*
*
* For example, to add a new item, do as follows:
*
* getNbOfTxsPerCxlSts().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link NumberOfCancellationsPerStatus1 }
*
*
*/
public List getNbOfTxsPerCxlSts() {
if (nbOfTxsPerCxlSts == null) {
nbOfTxsPerCxlSts = new ArrayList();
}
return this.nbOfTxsPerCxlSts;
}
/**
* 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 JAXB object.
* This is why there is not a 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 PaymentTransaction66 }
*
*
*/
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 cxlStsRsnInf list.
* @see #getCxlStsRsnInf()
*
*/
public OriginalPaymentInstruction17 addCxlStsRsnInf(CancellationStatusReason2 cxlStsRsnInf) {
getCxlStsRsnInf().add(cxlStsRsnInf);
return this;
}
/**
* Adds a new item to the nbOfTxsPerCxlSts list.
* @see #getNbOfTxsPerCxlSts()
*
*/
public OriginalPaymentInstruction17 addNbOfTxsPerCxlSts(NumberOfCancellationsPerStatus1 nbOfTxsPerCxlSts) {
getNbOfTxsPerCxlSts().add(nbOfTxsPerCxlSts);
return this;
}
/**
* Adds a new item to the txInfAndSts list.
* @see #getTxInfAndSts()
*
*/
public OriginalPaymentInstruction17 addTxInfAndSts(PaymentTransaction66 txInfAndSts) {
getTxInfAndSts().add(txInfAndSts);
return this;
}
}