com.prowidesoftware.swift.model.mx.dic.ResolutionData1 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 = "ResolutionData1", propOrder = {
"endToEndId",
"txId",
"uetr",
"intrBkSttlmAmt",
"intrBkSttlmDt",
"clrChanl",
"compstn",
"chrgs"
})
public class ResolutionData1 {
@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 Compensation2 compstn;
@XmlElement(name = "Chrgs")
protected List chrgs;
/**
* 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 ResolutionData1 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 ResolutionData1 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 ResolutionData1 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 ResolutionData1 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 ResolutionData1 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 ResolutionData1 setClrChanl(ClearingChannel2Code value) {
this.clrChanl = value;
return this;
}
/**
* Gets the value of the compstn property.
*
* @return
* possible object is
* {@link Compensation2 }
*
*/
public Compensation2 getCompstn() {
return compstn;
}
/**
* Sets the value of the compstn property.
*
* @param value
* allowed object is
* {@link Compensation2 }
*
*/
public ResolutionData1 setCompstn(Compensation2 value) {
this.compstn = 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 Jakarta XML Binding object.
* This is why there is not a {@code 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 Charges7 }
*
*
* @return
* The value of the chrgs property.
*/
public List getChrgs() {
if (chrgs == null) {
chrgs = new ArrayList<>();
}
return this.chrgs;
}
@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 ResolutionData1 addChrgs(Charges7 chrgs) {
getChrgs().add(chrgs);
return this;
}
}