com.prowidesoftware.swift.model.mx.dic.FIToFIPaymentStatusReportV05 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;
/**
* Scope
* The FinancialInstitutionToFinancialInstitutionPaymentStatusReport message is sent by an instructed agent to the previous party in the payment chain. It is used to inform this party about the positive or negative status of an instruction (either single or file). It is also used to report on a pending instruction.
* Usage
* The FIToFIPaymentStatusReport message is exchanged between agents to provide status information about instructions previously sent. Its usage will always be governed by a bilateral agreement between the agents.
* The FIToFIPaymentStatusReport message can be used to provide information about the status (e.g. rejection, acceptance) of a credit transfer instruction, a direct debit instruction, as well as other intra-agent instructions (for example FIToFIPaymentCancellationRequest).
* The FIToFIPaymentStatusReport message refers to the original instruction(s) by means of references only or by means of references and a set of elements from the original instruction.
* The FIToFIPaymentStatusReport message can be used in domestic and cross-border scenarios.
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "FIToFIPaymentStatusReportV05", propOrder = {
"grpHdr",
"orgnlGrpInfAndSts",
"txInfAndSts",
"splmtryData"
})
public class FIToFIPaymentStatusReportV05 {
@XmlElement(name = "GrpHdr", required = true)
protected GroupHeader53 grpHdr;
@XmlElement(name = "OrgnlGrpInfAndSts", required = true)
protected OriginalGroupHeader1 orgnlGrpInfAndSts;
@XmlElement(name = "TxInfAndSts")
protected List txInfAndSts;
@XmlElement(name = "SplmtryData")
protected List splmtryData;
/**
* Gets the value of the grpHdr property.
*
* @return
* possible object is
* {@link GroupHeader53 }
*
*/
public GroupHeader53 getGrpHdr() {
return grpHdr;
}
/**
* Sets the value of the grpHdr property.
*
* @param value
* allowed object is
* {@link GroupHeader53 }
*
*/
public FIToFIPaymentStatusReportV05 setGrpHdr(GroupHeader53 value) {
this.grpHdr = value;
return this;
}
/**
* Gets the value of the orgnlGrpInfAndSts property.
*
* @return
* possible object is
* {@link OriginalGroupHeader1 }
*
*/
public OriginalGroupHeader1 getOrgnlGrpInfAndSts() {
return orgnlGrpInfAndSts;
}
/**
* Sets the value of the orgnlGrpInfAndSts property.
*
* @param value
* allowed object is
* {@link OriginalGroupHeader1 }
*
*/
public FIToFIPaymentStatusReportV05 setOrgnlGrpInfAndSts(OriginalGroupHeader1 value) {
this.orgnlGrpInfAndSts = value;
return this;
}
/**
* 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 PaymentTransaction43 }
*
*
*/
public List getTxInfAndSts() {
if (txInfAndSts == null) {
txInfAndSts = new ArrayList();
}
return this.txInfAndSts;
}
/**
* 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 txInfAndSts list.
* @see #getTxInfAndSts()
*
*/
public FIToFIPaymentStatusReportV05 addTxInfAndSts(PaymentTransaction43 txInfAndSts) {
getTxInfAndSts().add(txInfAndSts);
return this;
}
/**
* Adds a new item to the splmtryData list.
* @see #getSplmtryData()
*
*/
public FIToFIPaymentStatusReportV05 addSplmtryData(SupplementaryData1 splmtryData) {
getSplmtryData().add(splmtryData);
return this;
}
}