com.prowidesoftware.swift.model.mx.dic.AmendmentV02 Maven / Gradle / Ivy
package com.prowidesoftware.swift.model.mx.dic;
import jakarta.xml.bind.annotation.XmlAccessType;
import jakarta.xml.bind.annotation.XmlAccessorType;
import jakarta.xml.bind.annotation.XmlElement;
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;
/**
* The Amendment message can be initiated by any party and received by any party (acquirer, agent or issuer).
*
* This message is used to inform the originator that the original message has been corrected/amended and then forwarded to the destination on behalf of the originator. It contains a copy of the original message and any errors found. It may also contain any corrections and/or amendments that were made to the original message.
*
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "AmendmentV02", propOrder = {
"hdr",
"body",
"sctyTrlr"
})
public class AmendmentV02 {
@XmlElement(name = "Hdr", required = true)
protected Header65 hdr;
@XmlElement(name = "Body", required = true)
protected Amendment11 body;
@XmlElement(name = "SctyTrlr")
protected ContentInformationType20 sctyTrlr;
/**
* Gets the value of the hdr property.
*
* @return
* possible object is
* {@link Header65 }
*
*/
public Header65 getHdr() {
return hdr;
}
/**
* Sets the value of the hdr property.
*
* @param value
* allowed object is
* {@link Header65 }
*
*/
public AmendmentV02 setHdr(Header65 value) {
this.hdr = value;
return this;
}
/**
* Gets the value of the body property.
*
* @return
* possible object is
* {@link Amendment11 }
*
*/
public Amendment11 getBody() {
return body;
}
/**
* Sets the value of the body property.
*
* @param value
* allowed object is
* {@link Amendment11 }
*
*/
public AmendmentV02 setBody(Amendment11 value) {
this.body = value;
return this;
}
/**
* Gets the value of the sctyTrlr property.
*
* @return
* possible object is
* {@link ContentInformationType20 }
*
*/
public ContentInformationType20 getSctyTrlr() {
return sctyTrlr;
}
/**
* Sets the value of the sctyTrlr property.
*
* @param value
* allowed object is
* {@link ContentInformationType20 }
*
*/
public AmendmentV02 setSctyTrlr(ContentInformationType20 value) {
this.sctyTrlr = 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