
com.prowidesoftware.swift.model.mx.dic.CreditorPaymentActivationRequestStatusReportV08 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.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;
/**
* The CreditorPaymentActivationRequestStatusReport message is sent by a party to the next party in the creditor payment activation request chain. It is used to inform the latter about the positive or negative status of a creditor payment activation request (either single or file).
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "CreditorPaymentActivationRequestStatusReportV08", propOrder = {
"grpHdr",
"orgnlGrpInfAndSts",
"orgnlPmtInfAndSts",
"splmtryData"
})
public class CreditorPaymentActivationRequestStatusReportV08 {
@XmlElement(name = "GrpHdr", required = true)
protected GroupHeader87 grpHdr;
@XmlElement(name = "OrgnlGrpInfAndSts", required = true)
protected OriginalGroupInformation30 orgnlGrpInfAndSts;
@XmlElement(name = "OrgnlPmtInfAndSts")
protected List orgnlPmtInfAndSts;
@XmlElement(name = "SplmtryData")
protected List splmtryData;
/**
* Gets the value of the grpHdr property.
*
* @return
* possible object is
* {@link GroupHeader87 }
*
*/
public GroupHeader87 getGrpHdr() {
return grpHdr;
}
/**
* Sets the value of the grpHdr property.
*
* @param value
* allowed object is
* {@link GroupHeader87 }
*
*/
public CreditorPaymentActivationRequestStatusReportV08 setGrpHdr(GroupHeader87 value) {
this.grpHdr = value;
return this;
}
/**
* Gets the value of the orgnlGrpInfAndSts property.
*
* @return
* possible object is
* {@link OriginalGroupInformation30 }
*
*/
public OriginalGroupInformation30 getOrgnlGrpInfAndSts() {
return orgnlGrpInfAndSts;
}
/**
* Sets the value of the orgnlGrpInfAndSts property.
*
* @param value
* allowed object is
* {@link OriginalGroupInformation30 }
*
*/
public CreditorPaymentActivationRequestStatusReportV08 setOrgnlGrpInfAndSts(OriginalGroupInformation30 value) {
this.orgnlGrpInfAndSts = value;
return this;
}
/**
* Gets the value of the orgnlPmtInfAndSts 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 orgnlPmtInfAndSts property.
*
*
* For example, to add a new item, do as follows:
*
* getOrgnlPmtInfAndSts().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link OriginalPaymentInstruction39 }
*
*
*/
public List getOrgnlPmtInfAndSts() {
if (orgnlPmtInfAndSts == null) {
orgnlPmtInfAndSts = new ArrayList();
}
return this.orgnlPmtInfAndSts;
}
/**
* Gets the value of the splmtryData 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 splmtryData property.
*
*
* For example, to add a new item, do as follows:
*
* getSplmtryData().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link SupplementaryData1 }
*
*
*/
public List getSplmtryData() {
if (splmtryData == null) {
splmtryData = new ArrayList();
}
return this.splmtryData;
}
@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 orgnlPmtInfAndSts list.
* @see #getOrgnlPmtInfAndSts()
*
*/
public CreditorPaymentActivationRequestStatusReportV08 addOrgnlPmtInfAndSts(OriginalPaymentInstruction39 orgnlPmtInfAndSts) {
getOrgnlPmtInfAndSts().add(orgnlPmtInfAndSts);
return this;
}
/**
* Adds a new item to the splmtryData list.
* @see #getSplmtryData()
*
*/
public CreditorPaymentActivationRequestStatusReportV08 addSplmtryData(SupplementaryData1 splmtryData) {
getSplmtryData().add(splmtryData);
return this;
}
}