com.prowidesoftware.swift.model.mx.dic.StatementResolutionEntry2 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;
/**
* Provides further details on the statement entry for the resolution of the investigation.
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "StatementResolutionEntry2", propOrder = {
"orgnlGrpInf",
"orgnlStmtId",
"acctSvcrRef",
"crrctdAmt",
"chrgs",
"purp"
})
public class StatementResolutionEntry2 {
@XmlElement(name = "OrgnlGrpInf")
protected OriginalGroupInformation3 orgnlGrpInf;
@XmlElement(name = "OrgnlStmtId")
protected String orgnlStmtId;
@XmlElement(name = "AcctSvcrRef")
protected String acctSvcrRef;
@XmlElement(name = "CrrctdAmt")
protected ActiveOrHistoricCurrencyAndAmount crrctdAmt;
@XmlElement(name = "Chrgs")
protected List chrgs;
@XmlElement(name = "Purp")
protected Purpose2Choice purp;
/**
* 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 StatementResolutionEntry2 setOrgnlGrpInf(OriginalGroupInformation3 value) {
this.orgnlGrpInf = value;
return this;
}
/**
* Gets the value of the orgnlStmtId property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getOrgnlStmtId() {
return orgnlStmtId;
}
/**
* Sets the value of the orgnlStmtId property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public StatementResolutionEntry2 setOrgnlStmtId(String value) {
this.orgnlStmtId = value;
return this;
}
/**
* Gets the value of the acctSvcrRef property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getAcctSvcrRef() {
return acctSvcrRef;
}
/**
* Sets the value of the acctSvcrRef property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public StatementResolutionEntry2 setAcctSvcrRef(String value) {
this.acctSvcrRef = value;
return this;
}
/**
* Gets the value of the crrctdAmt property.
*
* @return
* possible object is
* {@link ActiveOrHistoricCurrencyAndAmount }
*
*/
public ActiveOrHistoricCurrencyAndAmount getCrrctdAmt() {
return crrctdAmt;
}
/**
* Sets the value of the crrctdAmt property.
*
* @param value
* allowed object is
* {@link ActiveOrHistoricCurrencyAndAmount }
*
*/
public StatementResolutionEntry2 setCrrctdAmt(ActiveOrHistoricCurrencyAndAmount value) {
this.crrctdAmt = value;
return this;
}
/**
* Gets the value of the chrgs 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 chrgs property.
*
*
* For example, to add a new item, do as follows:
*
* getChrgs().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link Charges3 }
*
*
*/
public List getChrgs() {
if (chrgs == null) {
chrgs = new ArrayList();
}
return this.chrgs;
}
/**
* Gets the value of the purp property.
*
* @return
* possible object is
* {@link Purpose2Choice }
*
*/
public Purpose2Choice getPurp() {
return purp;
}
/**
* Sets the value of the purp property.
*
* @param value
* allowed object is
* {@link Purpose2Choice }
*
*/
public StatementResolutionEntry2 setPurp(Purpose2Choice value) {
this.purp = value;
return this;
}
@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 chrgs list.
* @see #getChrgs()
*
*/
public StatementResolutionEntry2 addChrgs(Charges3 chrgs) {
getChrgs().add(chrgs);
return this;
}
}