com.prowidesoftware.swift.model.mx.dic.PaymentTransaction44 Maven / Gradle / Ivy
package com.prowidesoftware.swift.model.mx.dic;
import java.math.BigDecimal;
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;
/**
* Provides further details on the reference and status on the original transactions, included in the original instruction, to which the return message applies.
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "PaymentTransaction44", propOrder = {
"rtrId",
"orgnlGrpInf",
"orgnlInstrId",
"orgnlEndToEndId",
"orgnlTxId",
"orgnlClrSysRef",
"orgnlIntrBkSttlmAmt",
"rtrdIntrBkSttlmAmt",
"intrBkSttlmDt",
"rtrdInstdAmt",
"xchgRate",
"compstnAmt",
"chrgBr",
"chrgsInf",
"instgAgt",
"instdAgt",
"rtrRsnInf",
"orgnlTxRef",
"splmtryData"
})
public class PaymentTransaction44 {
@XmlElement(name = "RtrId")
protected String rtrId;
@XmlElement(name = "OrgnlGrpInf")
protected OriginalGroupInformation3 orgnlGrpInf;
@XmlElement(name = "OrgnlInstrId")
protected String orgnlInstrId;
@XmlElement(name = "OrgnlEndToEndId")
protected String orgnlEndToEndId;
@XmlElement(name = "OrgnlTxId")
protected String orgnlTxId;
@XmlElement(name = "OrgnlClrSysRef")
protected String orgnlClrSysRef;
@XmlElement(name = "OrgnlIntrBkSttlmAmt")
protected ActiveOrHistoricCurrencyAndAmount orgnlIntrBkSttlmAmt;
@XmlElement(name = "RtrdIntrBkSttlmAmt", required = true)
protected ActiveCurrencyAndAmount rtrdIntrBkSttlmAmt;
@XmlElement(name = "IntrBkSttlmDt", type = String.class)
@XmlJavaTypeAdapter(IsoDateAdapter.class)
@XmlSchemaType(name = "date")
protected LocalDate intrBkSttlmDt;
@XmlElement(name = "RtrdInstdAmt")
protected ActiveOrHistoricCurrencyAndAmount rtrdInstdAmt;
@XmlElement(name = "XchgRate")
protected BigDecimal xchgRate;
@XmlElement(name = "CompstnAmt")
protected ActiveOrHistoricCurrencyAndAmount compstnAmt;
@XmlElement(name = "ChrgBr")
@XmlSchemaType(name = "string")
protected ChargeBearerType1Code chrgBr;
@XmlElement(name = "ChrgsInf")
protected List chrgsInf;
@XmlElement(name = "InstgAgt")
protected BranchAndFinancialInstitutionIdentification5 instgAgt;
@XmlElement(name = "InstdAgt")
protected BranchAndFinancialInstitutionIdentification5 instdAgt;
@XmlElement(name = "RtrRsnInf")
protected List rtrRsnInf;
@XmlElement(name = "OrgnlTxRef")
protected OriginalTransactionReference16 orgnlTxRef;
@XmlElement(name = "SplmtryData")
protected List splmtryData;
/**
* Gets the value of the rtrId property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getRtrId() {
return rtrId;
}
/**
* Sets the value of the rtrId property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public PaymentTransaction44 setRtrId(String value) {
this.rtrId = value;
return this;
}
/**
* 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 PaymentTransaction44 setOrgnlGrpInf(OriginalGroupInformation3 value) {
this.orgnlGrpInf = value;
return this;
}
/**
* Gets the value of the orgnlInstrId property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getOrgnlInstrId() {
return orgnlInstrId;
}
/**
* Sets the value of the orgnlInstrId property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public PaymentTransaction44 setOrgnlInstrId(String value) {
this.orgnlInstrId = value;
return this;
}
/**
* Gets the value of the orgnlEndToEndId property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getOrgnlEndToEndId() {
return orgnlEndToEndId;
}
/**
* Sets the value of the orgnlEndToEndId property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public PaymentTransaction44 setOrgnlEndToEndId(String value) {
this.orgnlEndToEndId = value;
return this;
}
/**
* Gets the value of the orgnlTxId property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getOrgnlTxId() {
return orgnlTxId;
}
/**
* Sets the value of the orgnlTxId property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public PaymentTransaction44 setOrgnlTxId(String value) {
this.orgnlTxId = value;
return this;
}
/**
* Gets the value of the orgnlClrSysRef property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getOrgnlClrSysRef() {
return orgnlClrSysRef;
}
/**
* Sets the value of the orgnlClrSysRef property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public PaymentTransaction44 setOrgnlClrSysRef(String value) {
this.orgnlClrSysRef = value;
return this;
}
/**
* Gets the value of the orgnlIntrBkSttlmAmt property.
*
* @return
* possible object is
* {@link ActiveOrHistoricCurrencyAndAmount }
*
*/
public ActiveOrHistoricCurrencyAndAmount getOrgnlIntrBkSttlmAmt() {
return orgnlIntrBkSttlmAmt;
}
/**
* Sets the value of the orgnlIntrBkSttlmAmt property.
*
* @param value
* allowed object is
* {@link ActiveOrHistoricCurrencyAndAmount }
*
*/
public PaymentTransaction44 setOrgnlIntrBkSttlmAmt(ActiveOrHistoricCurrencyAndAmount value) {
this.orgnlIntrBkSttlmAmt = value;
return this;
}
/**
* Gets the value of the rtrdIntrBkSttlmAmt property.
*
* @return
* possible object is
* {@link ActiveCurrencyAndAmount }
*
*/
public ActiveCurrencyAndAmount getRtrdIntrBkSttlmAmt() {
return rtrdIntrBkSttlmAmt;
}
/**
* Sets the value of the rtrdIntrBkSttlmAmt property.
*
* @param value
* allowed object is
* {@link ActiveCurrencyAndAmount }
*
*/
public PaymentTransaction44 setRtrdIntrBkSttlmAmt(ActiveCurrencyAndAmount value) {
this.rtrdIntrBkSttlmAmt = 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 PaymentTransaction44 setIntrBkSttlmDt(LocalDate value) {
this.intrBkSttlmDt = value;
return this;
}
/**
* Gets the value of the rtrdInstdAmt property.
*
* @return
* possible object is
* {@link ActiveOrHistoricCurrencyAndAmount }
*
*/
public ActiveOrHistoricCurrencyAndAmount getRtrdInstdAmt() {
return rtrdInstdAmt;
}
/**
* Sets the value of the rtrdInstdAmt property.
*
* @param value
* allowed object is
* {@link ActiveOrHistoricCurrencyAndAmount }
*
*/
public PaymentTransaction44 setRtrdInstdAmt(ActiveOrHistoricCurrencyAndAmount value) {
this.rtrdInstdAmt = value;
return this;
}
/**
* Gets the value of the xchgRate property.
*
* @return
* possible object is
* {@link BigDecimal }
*
*/
public BigDecimal getXchgRate() {
return xchgRate;
}
/**
* Sets the value of the xchgRate property.
*
* @param value
* allowed object is
* {@link BigDecimal }
*
*/
public PaymentTransaction44 setXchgRate(BigDecimal value) {
this.xchgRate = value;
return this;
}
/**
* Gets the value of the compstnAmt property.
*
* @return
* possible object is
* {@link ActiveOrHistoricCurrencyAndAmount }
*
*/
public ActiveOrHistoricCurrencyAndAmount getCompstnAmt() {
return compstnAmt;
}
/**
* Sets the value of the compstnAmt property.
*
* @param value
* allowed object is
* {@link ActiveOrHistoricCurrencyAndAmount }
*
*/
public PaymentTransaction44 setCompstnAmt(ActiveOrHistoricCurrencyAndAmount value) {
this.compstnAmt = value;
return this;
}
/**
* Gets the value of the chrgBr property.
*
* @return
* possible object is
* {@link ChargeBearerType1Code }
*
*/
public ChargeBearerType1Code getChrgBr() {
return chrgBr;
}
/**
* Sets the value of the chrgBr property.
*
* @param value
* allowed object is
* {@link ChargeBearerType1Code }
*
*/
public PaymentTransaction44 setChrgBr(ChargeBearerType1Code value) {
this.chrgBr = 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 Charges2 }
*
*
* @return
* The value of the chrgsInf property.
*/
public List getChrgsInf() {
if (chrgsInf == null) {
chrgsInf = new ArrayList<>();
}
return this.chrgsInf;
}
/**
* Gets the value of the instgAgt property.
*
* @return
* possible object is
* {@link BranchAndFinancialInstitutionIdentification5 }
*
*/
public BranchAndFinancialInstitutionIdentification5 getInstgAgt() {
return instgAgt;
}
/**
* Sets the value of the instgAgt property.
*
* @param value
* allowed object is
* {@link BranchAndFinancialInstitutionIdentification5 }
*
*/
public PaymentTransaction44 setInstgAgt(BranchAndFinancialInstitutionIdentification5 value) {
this.instgAgt = value;
return this;
}
/**
* Gets the value of the instdAgt property.
*
* @return
* possible object is
* {@link BranchAndFinancialInstitutionIdentification5 }
*
*/
public BranchAndFinancialInstitutionIdentification5 getInstdAgt() {
return instdAgt;
}
/**
* Sets the value of the instdAgt property.
*
* @param value
* allowed object is
* {@link BranchAndFinancialInstitutionIdentification5 }
*
*/
public PaymentTransaction44 setInstdAgt(BranchAndFinancialInstitutionIdentification5 value) {
this.instdAgt = value;
return this;
}
/**
* Gets the value of the rtrRsnInf 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 rtrRsnInf property.
*
*
* For example, to add a new item, do as follows:
*
* getRtrRsnInf().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link PaymentReturnReason1 }
*
*
* @return
* The value of the rtrRsnInf property.
*/
public List getRtrRsnInf() {
if (rtrRsnInf == null) {
rtrRsnInf = new ArrayList<>();
}
return this.rtrRsnInf;
}
/**
* Gets the value of the orgnlTxRef property.
*
* @return
* possible object is
* {@link OriginalTransactionReference16 }
*
*/
public OriginalTransactionReference16 getOrgnlTxRef() {
return orgnlTxRef;
}
/**
* Sets the value of the orgnlTxRef property.
*
* @param value
* allowed object is
* {@link OriginalTransactionReference16 }
*
*/
public PaymentTransaction44 setOrgnlTxRef(OriginalTransactionReference16 value) {
this.orgnlTxRef = 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 Jakarta XML Binding object.
* This is why there is not a {@code 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 }
*
*
* @return
* The value of the splmtryData property.
*/
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 chrgsInf list.
* @see #getChrgsInf()
*
*/
public PaymentTransaction44 addChrgsInf(Charges2 chrgsInf) {
getChrgsInf().add(chrgsInf);
return this;
}
/**
* Adds a new item to the rtrRsnInf list.
* @see #getRtrRsnInf()
*
*/
public PaymentTransaction44 addRtrRsnInf(PaymentReturnReason1 rtrRsnInf) {
getRtrRsnInf().add(rtrRsnInf);
return this;
}
/**
* Adds a new item to the splmtryData list.
* @see #getSplmtryData()
*
*/
public PaymentTransaction44 addSplmtryData(SupplementaryData1 splmtryData) {
getSplmtryData().add(splmtryData);
return this;
}
}