com.prowidesoftware.swift.model.mx.dic.ResolutionData4 Maven / Gradle / Ivy
package com.prowidesoftware.swift.model.mx.dic;
import java.time.LocalDate;
import java.util.ArrayList;
import java.util.List;
import com.prowidesoftware.swift.model.mx.adapters.IsoDateAdapter;
import jakarta.xml.bind.annotation.XmlAccessType;
import jakarta.xml.bind.annotation.XmlAccessorType;
import jakarta.xml.bind.annotation.XmlElement;
import jakarta.xml.bind.annotation.XmlSchemaType;
import jakarta.xml.bind.annotation.XmlType;
import jakarta.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
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;
/**
* Specifies additional information as expected by the party that the investigation performs the expected actions for its resolution.
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "ResolutionData4", propOrder = {
"endToEndId",
"txId",
"uetr",
"intrBkSttlmAmt",
"intrBkSttlmDt",
"clrChanl",
"compstn",
"chrgsInf"
})
public class ResolutionData4 {
@XmlElement(name = "EndToEndId")
protected String endToEndId;
@XmlElement(name = "TxId")
protected String txId;
@XmlElement(name = "UETR")
protected String uetr;
@XmlElement(name = "IntrBkSttlmAmt")
protected ActiveOrHistoricCurrencyAndAmount intrBkSttlmAmt;
@XmlElement(name = "IntrBkSttlmDt", type = String.class)
@XmlJavaTypeAdapter(IsoDateAdapter.class)
@XmlSchemaType(name = "date")
protected LocalDate intrBkSttlmDt;
@XmlElement(name = "ClrChanl")
@XmlSchemaType(name = "string")
protected ClearingChannel2Code clrChanl;
@XmlElement(name = "Compstn")
protected Compensation4 compstn;
@XmlElement(name = "ChrgsInf")
protected List chrgsInf;
/**
* Gets the value of the endToEndId property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getEndToEndId() {
return endToEndId;
}
/**
* Sets the value of the endToEndId property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public ResolutionData4 setEndToEndId(String value) {
this.endToEndId = value;
return this;
}
/**
* Gets the value of the txId property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getTxId() {
return txId;
}
/**
* Sets the value of the txId property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public ResolutionData4 setTxId(String value) {
this.txId = value;
return this;
}
/**
* Gets the value of the uetr property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getUETR() {
return uetr;
}
/**
* Sets the value of the uetr property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public ResolutionData4 setUETR(String value) {
this.uetr = value;
return this;
}
/**
* Gets the value of the intrBkSttlmAmt property.
*
* @return
* possible object is
* {@link ActiveOrHistoricCurrencyAndAmount }
*
*/
public ActiveOrHistoricCurrencyAndAmount getIntrBkSttlmAmt() {
return intrBkSttlmAmt;
}
/**
* Sets the value of the intrBkSttlmAmt property.
*
* @param value
* allowed object is
* {@link ActiveOrHistoricCurrencyAndAmount }
*
*/
public ResolutionData4 setIntrBkSttlmAmt(ActiveOrHistoricCurrencyAndAmount value) {
this.intrBkSttlmAmt = value;
return this;
}
/**
* Gets the value of the intrBkSttlmDt property.
*
* @return
* possible object is
* {@link String }
*
*/
public LocalDate getIntrBkSttlmDt() {
return intrBkSttlmDt;
}
/**
* Sets the value of the intrBkSttlmDt property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public ResolutionData4 setIntrBkSttlmDt(LocalDate value) {
this.intrBkSttlmDt = value;
return this;
}
/**
* Gets the value of the clrChanl property.
*
* @return
* possible object is
* {@link ClearingChannel2Code }
*
*/
public ClearingChannel2Code getClrChanl() {
return clrChanl;
}
/**
* Sets the value of the clrChanl property.
*
* @param value
* allowed object is
* {@link ClearingChannel2Code }
*
*/
public ResolutionData4 setClrChanl(ClearingChannel2Code value) {
this.clrChanl = value;
return this;
}
/**
* Gets the value of the compstn property.
*
* @return
* possible object is
* {@link Compensation4 }
*
*/
public Compensation4 getCompstn() {
return compstn;
}
/**
* Sets the value of the compstn property.
*
* @param value
* allowed object is
* {@link Compensation4 }
*
*/
public ResolutionData4 setCompstn(Compensation4 value) {
this.compstn = value;
return this;
}
/**
* Gets the value of the chrgsInf 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 Jakarta XML Binding object.
* This is why there is not a {@code set} method for the chrgsInf property.
*
*
* For example, to add a new item, do as follows:
*
* getChrgsInf().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link Charges13 }
*
*
* @return
* The value of the chrgsInf property.
*/
public List getChrgsInf() {
if (chrgsInf == null) {
chrgsInf = new ArrayList<>();
}
return this.chrgsInf;
}
@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 chrgsInf list.
* @see #getChrgsInf()
*
*/
public ResolutionData4 addChrgsInf(Charges13 chrgsInf) {
getChrgsInf().add(chrgsInf);
return this;
}
}