com.prowidesoftware.swift.model.mx.dic.PaymentTransaction77 Maven / Gradle / Ivy
Show all versions of pw-iso20022 Show documentation
package com.prowidesoftware.swift.model.mx.dic;
import java.util.ArrayList;
import java.util.List;
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 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 = "PaymentTransaction77", propOrder = {
"rvslId",
"orgnlInstrId",
"orgnlEndToEndId",
"orgnlInstdAmt",
"rvsdInstdAmt",
"chrgBr",
"rvslRsnInf",
"orgnlTxRef",
"splmtryData"
})
public class PaymentTransaction77 {
@XmlElement(name = "RvslId")
protected String rvslId;
@XmlElement(name = "OrgnlInstrId")
protected String orgnlInstrId;
@XmlElement(name = "OrgnlEndToEndId")
protected String orgnlEndToEndId;
@XmlElement(name = "OrgnlInstdAmt")
protected ActiveOrHistoricCurrencyAndAmount orgnlInstdAmt;
@XmlElement(name = "RvsdInstdAmt")
protected ActiveOrHistoricCurrencyAndAmount rvsdInstdAmt;
@XmlElement(name = "ChrgBr")
@XmlSchemaType(name = "string")
protected ChargeBearerType1Code chrgBr;
@XmlElement(name = "RvslRsnInf")
protected List rvslRsnInf;
@XmlElement(name = "OrgnlTxRef")
protected OriginalTransactionReference24 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 PaymentTransaction77 setRvslId(String value) {
this.rvslId = 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 PaymentTransaction77 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 PaymentTransaction77 setOrgnlEndToEndId(String value) {
this.orgnlEndToEndId = value;
return this;
}
/**
* Gets the value of the orgnlInstdAmt property.
*
* @return
* possible object is
* {@link ActiveOrHistoricCurrencyAndAmount }
*
*/
public ActiveOrHistoricCurrencyAndAmount getOrgnlInstdAmt() {
return orgnlInstdAmt;
}
/**
* Sets the value of the orgnlInstdAmt property.
*
* @param value
* allowed object is
* {@link ActiveOrHistoricCurrencyAndAmount }
*
*/
public PaymentTransaction77 setOrgnlInstdAmt(ActiveOrHistoricCurrencyAndAmount value) {
this.orgnlInstdAmt = 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 PaymentTransaction77 setRvsdInstdAmt(ActiveOrHistoricCurrencyAndAmount value) {
this.rvsdInstdAmt = 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 PaymentTransaction77 setChrgBr(ChargeBearerType1Code value) {
this.chrgBr = 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 PaymentReversalReason7 }
*
*
* @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 OriginalTransactionReference24 }
*
*/
public OriginalTransactionReference24 getOrgnlTxRef() {
return orgnlTxRef;
}
/**
* Sets the value of the orgnlTxRef property.
*
* @param value
* allowed object is
* {@link OriginalTransactionReference24 }
*
*/
public PaymentTransaction77 setOrgnlTxRef(OriginalTransactionReference24 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 rvslRsnInf list.
* @see #getRvslRsnInf()
*
*/
public PaymentTransaction77 addRvslRsnInf(PaymentReversalReason7 rvslRsnInf) {
getRvslRsnInf().add(rvslRsnInf);
return this;
}
/**
* Adds a new item to the splmtryData list.
* @see #getSplmtryData()
*
*/
public PaymentTransaction77 addSplmtryData(SupplementaryData1 splmtryData) {
getSplmtryData().add(splmtryData);
return this;
}
}