com.prowidesoftware.swift.model.mx.dic.PaymentTransaction88 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 reversal message applies.
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "PaymentTransaction88", propOrder = {
"rvslId",
"orgnlGrpInf",
"orgnlInstrId",
"orgnlEndToEndId",
"orgnlTxId",
"orgnlClrSysRef",
"orgnlIntrBkSttlmAmt",
"rvsdIntrBkSttlmAmt",
"intrBkSttlmDt",
"sttlmPrty",
"rvsdInstdAmt",
"xchgRate",
"compstnAmt",
"chrgBr",
"chrgsInf",
"instgAgt",
"instdAgt",
"rvslRsnInf",
"orgnlTxRef",
"splmtryData"
})
public class PaymentTransaction88 {
@XmlElement(name = "RvslId")
protected String rvslId;
@XmlElement(name = "OrgnlGrpInf")
protected OriginalGroupInformation29 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 = "RvsdIntrBkSttlmAmt", required = true)
protected ActiveCurrencyAndAmount rvsdIntrBkSttlmAmt;
@XmlElement(name = "IntrBkSttlmDt", type = String.class)
@XmlJavaTypeAdapter(IsoDateAdapter.class)
@XmlSchemaType(name = "date")
protected LocalDate intrBkSttlmDt;
@XmlElement(name = "SttlmPrty")
@XmlSchemaType(name = "string")
protected Priority3Code sttlmPrty;
@XmlElement(name = "RvsdInstdAmt")
protected ActiveOrHistoricCurrencyAndAmount rvsdInstdAmt;
@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 = "RvslRsnInf")
protected List rvslRsnInf;
@XmlElement(name = "OrgnlTxRef")
protected OriginalTransactionReference27 orgnlTxRef;
@XmlElement(name = "SplmtryData")
protected List splmtryData;
/**
* Gets the value of the rvslId property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getRvslId() {
return rvslId;
}
/**
* Sets the value of the rvslId property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public PaymentTransaction88 setRvslId(String value) {
this.rvslId = value;
return this;
}
/**
* Gets the value of the orgnlGrpInf property.
*
* @return
* possible object is
* {@link OriginalGroupInformation29 }
*
*/
public OriginalGroupInformation29 getOrgnlGrpInf() {
return orgnlGrpInf;
}
/**
* Sets the value of the orgnlGrpInf property.
*
* @param value
* allowed object is
* {@link OriginalGroupInformation29 }
*
*/
public PaymentTransaction88 setOrgnlGrpInf(OriginalGroupInformation29 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 PaymentTransaction88 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 PaymentTransaction88 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 PaymentTransaction88 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 PaymentTransaction88 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 PaymentTransaction88 setOrgnlIntrBkSttlmAmt(ActiveOrHistoricCurrencyAndAmount value) {
this.orgnlIntrBkSttlmAmt = value;
return this;
}
/**
* Gets the value of the rvsdIntrBkSttlmAmt property.
*
* @return
* possible object is
* {@link ActiveCurrencyAndAmount }
*
*/
public ActiveCurrencyAndAmount getRvsdIntrBkSttlmAmt() {
return rvsdIntrBkSttlmAmt;
}
/**
* Sets the value of the rvsdIntrBkSttlmAmt property.
*
* @param value
* allowed object is
* {@link ActiveCurrencyAndAmount }
*
*/
public PaymentTransaction88 setRvsdIntrBkSttlmAmt(ActiveCurrencyAndAmount value) {
this.rvsdIntrBkSttlmAmt = 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 PaymentTransaction88 setIntrBkSttlmDt(LocalDate value) {
this.intrBkSttlmDt = value;
return this;
}
/**
* Gets the value of the sttlmPrty property.
*
* @return
* possible object is
* {@link Priority3Code }
*
*/
public Priority3Code getSttlmPrty() {
return sttlmPrty;
}
/**
* Sets the value of the sttlmPrty property.
*
* @param value
* allowed object is
* {@link Priority3Code }
*
*/
public PaymentTransaction88 setSttlmPrty(Priority3Code value) {
this.sttlmPrty = value;
return this;
}
/**
* Gets the value of the rvsdInstdAmt property.
*
* @return
* possible object is
* {@link ActiveOrHistoricCurrencyAndAmount }
*
*/
public ActiveOrHistoricCurrencyAndAmount getRvsdInstdAmt() {
return rvsdInstdAmt;
}
/**
* Sets the value of the rvsdInstdAmt property.
*
* @param value
* allowed object is
* {@link ActiveOrHistoricCurrencyAndAmount }
*
*/
public PaymentTransaction88 setRvsdInstdAmt(ActiveOrHistoricCurrencyAndAmount value) {
this.rvsdInstdAmt = 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 PaymentTransaction88 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 PaymentTransaction88 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 PaymentTransaction88 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 PaymentTransaction88 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 PaymentTransaction88 setInstdAgt(BranchAndFinancialInstitutionIdentification5 value) {
this.instdAgt = value;
return this;
}
/**
* Gets the value of the rvslRsnInf 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 rvslRsnInf property.
*
*
* For example, to add a new item, do as follows:
*
* getRvslRsnInf().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link PaymentReversalReason8 }
*
*
* @return
* The value of the rvslRsnInf property.
*/
public List getRvslRsnInf() {
if (rvslRsnInf == null) {
rvslRsnInf = new ArrayList<>();
}
return this.rvslRsnInf;
}
/**
* Gets the value of the orgnlTxRef property.
*
* @return
* possible object is
* {@link OriginalTransactionReference27 }
*
*/
public OriginalTransactionReference27 getOrgnlTxRef() {
return orgnlTxRef;
}
/**
* Sets the value of the orgnlTxRef property.
*
* @param value
* allowed object is
* {@link OriginalTransactionReference27 }
*
*/
public PaymentTransaction88 setOrgnlTxRef(OriginalTransactionReference27 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 PaymentTransaction88 addChrgsInf(Charges2 chrgsInf) {
getChrgsInf().add(chrgsInf);
return this;
}
/**
* Adds a new item to the rvslRsnInf list.
* @see #getRvslRsnInf()
*
*/
public PaymentTransaction88 addRvslRsnInf(PaymentReversalReason8 rvslRsnInf) {
getRvslRsnInf().add(rvslRsnInf);
return this;
}
/**
* Adds a new item to the splmtryData list.
* @see #getSplmtryData()
*
*/
public PaymentTransaction88 addSplmtryData(SupplementaryData1 splmtryData) {
getSplmtryData().add(splmtryData);
return this;
}
}