com.prowidesoftware.swift.model.mx.dic.RejectionReason2 Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pw-iso20022 Show documentation
Show all versions of pw-iso20022 Show documentation
Prowide Library for ISO 20022 messages
The newest version!
package com.prowidesoftware.swift.model.mx.dic;
import java.time.OffsetDateTime;
import com.prowidesoftware.swift.model.mx.adapters.IsoDateTimeAdapter;
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;
/**
* General information about the reason of the rejection.
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "RejectionReason2", propOrder = {
"rjctgPtyRsn",
"rjctnDtTm",
"errLctn",
"rsnDesc",
"addtlData"
})
public class RejectionReason2 {
@XmlElement(name = "RjctgPtyRsn", required = true)
protected String rjctgPtyRsn;
@XmlElement(name = "RjctnDtTm", type = String.class)
@XmlJavaTypeAdapter(IsoDateTimeAdapter.class)
@XmlSchemaType(name = "dateTime")
protected OffsetDateTime rjctnDtTm;
@XmlElement(name = "ErrLctn")
protected String errLctn;
@XmlElement(name = "RsnDesc")
protected String rsnDesc;
@XmlElement(name = "AddtlData")
protected String addtlData;
/**
* Gets the value of the rjctgPtyRsn property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getRjctgPtyRsn() {
return rjctgPtyRsn;
}
/**
* Sets the value of the rjctgPtyRsn property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public RejectionReason2 setRjctgPtyRsn(String value) {
this.rjctgPtyRsn = value;
return this;
}
/**
* Gets the value of the rjctnDtTm property.
*
* @return
* possible object is
* {@link String }
*
*/
public OffsetDateTime getRjctnDtTm() {
return rjctnDtTm;
}
/**
* Sets the value of the rjctnDtTm property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public RejectionReason2 setRjctnDtTm(OffsetDateTime value) {
this.rjctnDtTm = value;
return this;
}
/**
* Gets the value of the errLctn property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getErrLctn() {
return errLctn;
}
/**
* Sets the value of the errLctn property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public RejectionReason2 setErrLctn(String value) {
this.errLctn = value;
return this;
}
/**
* Gets the value of the rsnDesc property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getRsnDesc() {
return rsnDesc;
}
/**
* Sets the value of the rsnDesc property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public RejectionReason2 setRsnDesc(String value) {
this.rsnDesc = value;
return this;
}
/**
* Gets the value of the addtlData property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getAddtlData() {
return addtlData;
}
/**
* Sets the value of the addtlData property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public RejectionReason2 setAddtlData(String value) {
this.addtlData = 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);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy