
com.prowidesoftware.swift.model.mx.dic.RejectInvestigationV05 Maven / Gradle / Ivy
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 Reject Investigation message is sent by a case assignee to a case creator or case assigner to reject a case given to him.
* Usage
* The Reject Investigation message is used to notify the case creator or case assigner the rejection of an assignment by the case assignee in a:
* - request to cancel payment case
* - request to modify payment case
* - unable to apply case
* - claim non receipt case
* Rejecting a case assignment occurs when:
* - the case assignee is unable to trace the original payment instruction
* - the case assignee is unable, or does not have authority, to process the assigned case (indicate "You have by-passed a party",
* - the case assignee has received a non expected message, and rejects the message with a wrong message indicator
* - the case assignee has not yet received the Resolution Of Investigation message and the case has already been reopened
* - the case assignee has rejects an non-cash related query
* The Reject Investigation message covers one and only one case at a time. If the case assignee needs to reject several case assignments, then multiple Reject Investigation messages must be sent.
* The Reject Investigation message must be forwarded by all subsequent case assignee(s) until it reaches the case assigner and must not be used in place of a Resolution Of Investigation or Case Status Report message.
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "RejectInvestigationV05", propOrder = {
"assgnmt",
"_case",
"justfn",
"splmtryData"
})
public class RejectInvestigationV05 {
@XmlElement(name = "Assgnmt", required = true)
protected CaseAssignment4 assgnmt;
@XmlElement(name = "Case")
protected Case4 _case;
@XmlElement(name = "Justfn", required = true)
protected InvestigationRejectionJustification1 justfn;
@XmlElement(name = "SplmtryData")
protected List splmtryData;
/**
* Gets the value of the assgnmt property.
*
* @return
* possible object is
* {@link CaseAssignment4 }
*
*/
public CaseAssignment4 getAssgnmt() {
return assgnmt;
}
/**
* Sets the value of the assgnmt property.
*
* @param value
* allowed object is
* {@link CaseAssignment4 }
*
*/
public RejectInvestigationV05 setAssgnmt(CaseAssignment4 value) {
this.assgnmt = value;
return this;
}
/**
* Gets the value of the case property.
*
* @return
* possible object is
* {@link Case4 }
*
*/
public Case4 getCase() {
return _case;
}
/**
* Sets the value of the case property.
*
* @param value
* allowed object is
* {@link Case4 }
*
*/
public RejectInvestigationV05 setCase(Case4 value) {
this._case = value;
return this;
}
/**
* Gets the value of the justfn property.
*
* @return
* possible object is
* {@link InvestigationRejectionJustification1 }
*
*/
public InvestigationRejectionJustification1 getJustfn() {
return justfn;
}
/**
* Sets the value of the justfn property.
*
* @param value
* allowed object is
* {@link InvestigationRejectionJustification1 }
*
*/
public RejectInvestigationV05 setJustfn(InvestigationRejectionJustification1 value) {
this.justfn = value;
return this;
}
/**
* 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 splmtryData list.
* @see #getSplmtryData()
*
*/
public RejectInvestigationV05 addSplmtryData(SupplementaryData1 splmtryData) {
getSplmtryData().add(splmtryData);
return this;
}
}