com.prowidesoftware.swift.model.mx.dic.PaymentTransaction159 Maven / Gradle / Ivy
Show all versions of pw-iso20022 Show documentation
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 = "PaymentTransaction159", propOrder = {
"rtrId",
"orgnlGrpInf",
"orgnlInstrId",
"orgnlEndToEndId",
"orgnlTxId",
"orgnlUETR",
"orgnlClrSysRef",
"orgnlIntrBkSttlmAmt",
"orgnlIntrBkSttlmDt",
"pmtTpInf",
"rtrdIntrBkSttlmAmt",
"intrBkSttlmDt",
"sttlmPrty",
"sttlmTmIndctn",
"sttlmTmReq",
"rtrdInstdAmt",
"xchgRate",
"compstnAmt",
"chrgBr",
"chrgsInf",
"clrSysRef",
"instgAgt",
"instdAgt",
"rtrChain",
"rtrRsnInf",
"orgnlTxRef",
"splmtryData"
})
public class PaymentTransaction159 {
@XmlElement(name = "RtrId")
protected String rtrId;
@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 = "OrgnlUETR")
protected String orgnlUETR;
@XmlElement(name = "OrgnlClrSysRef")
protected String orgnlClrSysRef;
@XmlElement(name = "OrgnlIntrBkSttlmAmt")
protected ActiveOrHistoricCurrencyAndAmount orgnlIntrBkSttlmAmt;
@XmlElement(name = "OrgnlIntrBkSttlmDt", type = String.class)
@XmlJavaTypeAdapter(IsoDateAdapter.class)
@XmlSchemaType(name = "date")
protected LocalDate orgnlIntrBkSttlmDt;
@XmlElement(name = "PmtTpInf")
protected PaymentTypeInformation28 pmtTpInf;
@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 = "SttlmPrty")
@XmlSchemaType(name = "string")
protected Priority3Code sttlmPrty;
@XmlElement(name = "SttlmTmIndctn")
protected SettlementDateTimeIndication1 sttlmTmIndctn;
@XmlElement(name = "SttlmTmReq")
protected SettlementTimeRequest2 sttlmTmReq;
@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 = "ClrSysRef")
protected String clrSysRef;
@XmlElement(name = "InstgAgt")
protected BranchAndFinancialInstitutionIdentification8 instgAgt;
@XmlElement(name = "InstdAgt")
protected BranchAndFinancialInstitutionIdentification8 instdAgt;
@XmlElement(name = "RtrChain")
protected TransactionParties11 rtrChain;
@XmlElement(name = "RtrRsnInf")
protected List rtrRsnInf;
@XmlElement(name = "OrgnlTxRef")
protected OriginalTransactionReference41 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 PaymentTransaction159 setRtrId(String value) {
this.rtrId = 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 PaymentTransaction159 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 PaymentTransaction159 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 PaymentTransaction159 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 PaymentTransaction159 setOrgnlTxId(String value) {
this.orgnlTxId = value;
return this;
}
/**
* Gets the value of the orgnlUETR property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getOrgnlUETR() {
return orgnlUETR;
}
/**
* Sets the value of the orgnlUETR property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public PaymentTransaction159 setOrgnlUETR(String value) {
this.orgnlUETR = 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 PaymentTransaction159 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 PaymentTransaction159 setOrgnlIntrBkSttlmAmt(ActiveOrHistoricCurrencyAndAmount value) {
this.orgnlIntrBkSttlmAmt = value;
return this;
}
/**
* Gets the value of the orgnlIntrBkSttlmDt property.
*
* @return
* possible object is
* {@link String }
*
*/
public LocalDate getOrgnlIntrBkSttlmDt() {
return orgnlIntrBkSttlmDt;
}
/**
* Sets the value of the orgnlIntrBkSttlmDt property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public PaymentTransaction159 setOrgnlIntrBkSttlmDt(LocalDate value) {
this.orgnlIntrBkSttlmDt = value;
return this;
}
/**
* Gets the value of the pmtTpInf property.
*
* @return
* possible object is
* {@link PaymentTypeInformation28 }
*
*/
public PaymentTypeInformation28 getPmtTpInf() {
return pmtTpInf;
}
/**
* Sets the value of the pmtTpInf property.
*
* @param value
* allowed object is
* {@link PaymentTypeInformation28 }
*
*/
public PaymentTransaction159 setPmtTpInf(PaymentTypeInformation28 value) {
this.pmtTpInf = 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 PaymentTransaction159 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 PaymentTransaction159 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 PaymentTransaction159 setSttlmPrty(Priority3Code value) {
this.sttlmPrty = value;
return this;
}
/**
* Gets the value of the sttlmTmIndctn property.
*
* @return
* possible object is
* {@link SettlementDateTimeIndication1 }
*
*/
public SettlementDateTimeIndication1 getSttlmTmIndctn() {
return sttlmTmIndctn;
}
/**
* Sets the value of the sttlmTmIndctn property.
*
* @param value
* allowed object is
* {@link SettlementDateTimeIndication1 }
*
*/
public PaymentTransaction159 setSttlmTmIndctn(SettlementDateTimeIndication1 value) {
this.sttlmTmIndctn = value;
return this;
}
/**
* Gets the value of the sttlmTmReq property.
*
* @return
* possible object is
* {@link SettlementTimeRequest2 }
*
*/
public SettlementTimeRequest2 getSttlmTmReq() {
return sttlmTmReq;
}
/**
* Sets the value of the sttlmTmReq property.
*
* @param value
* allowed object is
* {@link SettlementTimeRequest2 }
*
*/
public PaymentTransaction159 setSttlmTmReq(SettlementTimeRequest2 value) {
this.sttlmTmReq = 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 PaymentTransaction159 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 PaymentTransaction159 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 PaymentTransaction159 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 PaymentTransaction159 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 Charges16 }
*
*
* @return
* The value of the chrgsInf property.
*/
public List getChrgsInf() {
if (chrgsInf == null) {
chrgsInf = new ArrayList<>();
}
return this.chrgsInf;
}
/**
* Gets the value of the clrSysRef property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getClrSysRef() {
return clrSysRef;
}
/**
* Sets the value of the clrSysRef property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public PaymentTransaction159 setClrSysRef(String value) {
this.clrSysRef = value;
return this;
}
/**
* Gets the value of the instgAgt property.
*
* @return
* possible object is
* {@link BranchAndFinancialInstitutionIdentification8 }
*
*/
public BranchAndFinancialInstitutionIdentification8 getInstgAgt() {
return instgAgt;
}
/**
* Sets the value of the instgAgt property.
*
* @param value
* allowed object is
* {@link BranchAndFinancialInstitutionIdentification8 }
*
*/
public PaymentTransaction159 setInstgAgt(BranchAndFinancialInstitutionIdentification8 value) {
this.instgAgt = value;
return this;
}
/**
* Gets the value of the instdAgt property.
*
* @return
* possible object is
* {@link BranchAndFinancialInstitutionIdentification8 }
*
*/
public BranchAndFinancialInstitutionIdentification8 getInstdAgt() {
return instdAgt;
}
/**
* Sets the value of the instdAgt property.
*
* @param value
* allowed object is
* {@link BranchAndFinancialInstitutionIdentification8 }
*
*/
public PaymentTransaction159 setInstdAgt(BranchAndFinancialInstitutionIdentification8 value) {
this.instdAgt = value;
return this;
}
/**
* Gets the value of the rtrChain property.
*
* @return
* possible object is
* {@link TransactionParties11 }
*
*/
public TransactionParties11 getRtrChain() {
return rtrChain;
}
/**
* Sets the value of the rtrChain property.
*
* @param value
* allowed object is
* {@link TransactionParties11 }
*
*/
public PaymentTransaction159 setRtrChain(TransactionParties11 value) {
this.rtrChain = 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 PaymentReturnReason7 }
*
*
* @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 OriginalTransactionReference41 }
*
*/
public OriginalTransactionReference41 getOrgnlTxRef() {
return orgnlTxRef;
}
/**
* Sets the value of the orgnlTxRef property.
*
* @param value
* allowed object is
* {@link OriginalTransactionReference41 }
*
*/
public PaymentTransaction159 setOrgnlTxRef(OriginalTransactionReference41 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 PaymentTransaction159 addChrgsInf(Charges16 chrgsInf) {
getChrgsInf().add(chrgsInf);
return this;
}
/**
* Adds a new item to the rtrRsnInf list.
* @see #getRtrRsnInf()
*
*/
public PaymentTransaction159 addRtrRsnInf(PaymentReturnReason7 rtrRsnInf) {
getRtrRsnInf().add(rtrRsnInf);
return this;
}
/**
* Adds a new item to the splmtryData list.
* @see #getSplmtryData()
*
*/
public PaymentTransaction159 addSplmtryData(SupplementaryData1 splmtryData) {
getSplmtryData().add(splmtryData);
return this;
}
}