com.prowidesoftware.swift.model.mx.dic.PaymentTransaction37 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 javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
import javax.xml.datatype.XMLGregorianCalendar;
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;
/**
* Set of elements used to provide reference and status information on the original transactions, included in the original instruction, to which the cancellation request message applies.
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "PaymentTransaction37", propOrder = {
"cxlId",
"_case",
"orgnlInstrId",
"orgnlEndToEndId",
"orgnlInstdAmt",
"orgnlReqdExctnDt",
"orgnlReqdColltnDt",
"cxlRsnInf",
"orgnlTxRef"
})
public class PaymentTransaction37 {
@XmlElement(name = "CxlId")
protected String cxlId;
@XmlElement(name = "Case")
protected Case3 _case;
@XmlElement(name = "OrgnlInstrId")
protected String orgnlInstrId;
@XmlElement(name = "OrgnlEndToEndId")
protected String orgnlEndToEndId;
@XmlElement(name = "OrgnlInstdAmt")
protected ActiveOrHistoricCurrencyAndAmount orgnlInstdAmt;
@XmlElement(name = "OrgnlReqdExctnDt")
@XmlSchemaType(name = "date")
protected XMLGregorianCalendar orgnlReqdExctnDt;
@XmlElement(name = "OrgnlReqdColltnDt")
@XmlSchemaType(name = "date")
protected XMLGregorianCalendar orgnlReqdColltnDt;
@XmlElement(name = "CxlRsnInf")
protected List cxlRsnInf;
@XmlElement(name = "OrgnlTxRef")
protected OriginalTransactionReference16 orgnlTxRef;
/**
* Gets the value of the cxlId property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getCxlId() {
return cxlId;
}
/**
* Sets the value of the cxlId property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public PaymentTransaction37 setCxlId(String value) {
this.cxlId = value;
return this;
}
/**
* Gets the value of the case property.
*
* @return
* possible object is
* {@link Case3 }
*
*/
public Case3 getCase() {
return _case;
}
/**
* Sets the value of the case property.
*
* @param value
* allowed object is
* {@link Case3 }
*
*/
public PaymentTransaction37 setCase(Case3 value) {
this._case = 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 PaymentTransaction37 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 PaymentTransaction37 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 PaymentTransaction37 setOrgnlInstdAmt(ActiveOrHistoricCurrencyAndAmount value) {
this.orgnlInstdAmt = value;
return this;
}
/**
* Gets the value of the orgnlReqdExctnDt property.
*
* @return
* possible object is
* {@link XMLGregorianCalendar }
*
*/
public XMLGregorianCalendar getOrgnlReqdExctnDt() {
return orgnlReqdExctnDt;
}
/**
* Sets the value of the orgnlReqdExctnDt property.
*
* @param value
* allowed object is
* {@link XMLGregorianCalendar }
*
*/
public PaymentTransaction37 setOrgnlReqdExctnDt(XMLGregorianCalendar value) {
this.orgnlReqdExctnDt = value;
return this;
}
/**
* Gets the value of the orgnlReqdColltnDt property.
*
* @return
* possible object is
* {@link XMLGregorianCalendar }
*
*/
public XMLGregorianCalendar getOrgnlReqdColltnDt() {
return orgnlReqdColltnDt;
}
/**
* Sets the value of the orgnlReqdColltnDt property.
*
* @param value
* allowed object is
* {@link XMLGregorianCalendar }
*
*/
public PaymentTransaction37 setOrgnlReqdColltnDt(XMLGregorianCalendar value) {
this.orgnlReqdColltnDt = value;
return this;
}
/**
* Gets the value of the cxlRsnInf 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 JAXB object.
* This is why there is not a set
method for the cxlRsnInf property.
*
*
* For example, to add a new item, do as follows:
*
* getCxlRsnInf().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link PaymentCancellationReason2 }
*
*
*/
public List getCxlRsnInf() {
if (cxlRsnInf == null) {
cxlRsnInf = new ArrayList();
}
return this.cxlRsnInf;
}
/**
* 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 PaymentTransaction37 setOrgnlTxRef(OriginalTransactionReference16 value) {
this.orgnlTxRef = value;
return this;
}
@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 cxlRsnInf list.
* @see #getCxlRsnInf()
*
*/
public PaymentTransaction37 addCxlRsnInf(PaymentCancellationReason2 cxlRsnInf) {
getCxlRsnInf().add(cxlRsnInf);
return this;
}
}