com.prowidesoftware.swift.model.mx.dic.TransferInstructionStatusReportV03 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.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;
/**
* Scope
* An executing party, for example, a transfer agent, sends the TransferInstructionStatusReport message to the instructing party, for example, an investment manager or one of its authorised representatives to provide the status of a previously received transfer instruction.
* Usage
* The TransferInstructionStatusReport message is used to report on the status of a transfer in or transfer out instruction. The reference of the transfer instruction for which the status is reported is identified in TransferReference.
* The message identification of the transfer instruction message in which the transfer instruction was conveyed may also be quoted in RelatedReference.
* One of the following statuses can be reported:
* - an accepted status, or,
* - an already executed status, or,
* - a sent to next party status, or,
* - a matched status, or,
* - a settled status, or,
* - a pending settlement status and the reason for the status, or,
* - an unmatched status and the reason for the status, or,
* - an in-repair status and the reason for the status, or,
* - a rejected status and the reason for the status, or,
* - a failed settlement status and the reason for the status, or,
* - a cancelled status and the reason for the status, or,
* - a cancelled status and the reason for the status, or,
* - a cancellation pending status and the reason for the status.
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "TransferInstructionStatusReportV03", propOrder = {
"msgId",
"ctrPtyRef",
"rltdRef",
"othrRef",
"stsRpt",
"xtnsn"
})
public class TransferInstructionStatusReportV03 {
@XmlElement(name = "MsgId", required = true)
protected MessageIdentification1 msgId;
@XmlElement(name = "CtrPtyRef")
protected AdditionalReference2 ctrPtyRef;
@XmlElement(name = "RltdRef")
protected List rltdRef;
@XmlElement(name = "OthrRef")
protected List othrRef;
@XmlElement(name = "StsRpt", required = true)
protected TransferStatusAndReason2 stsRpt;
@XmlElement(name = "Xtnsn")
protected List xtnsn;
/**
* Gets the value of the msgId property.
*
* @return
* possible object is
* {@link MessageIdentification1 }
*
*/
public MessageIdentification1 getMsgId() {
return msgId;
}
/**
* Sets the value of the msgId property.
*
* @param value
* allowed object is
* {@link MessageIdentification1 }
*
*/
public TransferInstructionStatusReportV03 setMsgId(MessageIdentification1 value) {
this.msgId = value;
return this;
}
/**
* Gets the value of the ctrPtyRef property.
*
* @return
* possible object is
* {@link AdditionalReference2 }
*
*/
public AdditionalReference2 getCtrPtyRef() {
return ctrPtyRef;
}
/**
* Sets the value of the ctrPtyRef property.
*
* @param value
* allowed object is
* {@link AdditionalReference2 }
*
*/
public TransferInstructionStatusReportV03 setCtrPtyRef(AdditionalReference2 value) {
this.ctrPtyRef = value;
return this;
}
/**
* Gets the value of the rltdRef 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 rltdRef property.
*
*
* For example, to add a new item, do as follows:
*
* getRltdRef().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link AdditionalReference3 }
*
*
* @return
* The value of the rltdRef property.
*/
public List getRltdRef() {
if (rltdRef == null) {
rltdRef = new ArrayList<>();
}
return this.rltdRef;
}
/**
* Gets the value of the othrRef 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 othrRef property.
*
*
* For example, to add a new item, do as follows:
*
* getOthrRef().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link AdditionalReference3 }
*
*
* @return
* The value of the othrRef property.
*/
public List getOthrRef() {
if (othrRef == null) {
othrRef = new ArrayList<>();
}
return this.othrRef;
}
/**
* Gets the value of the stsRpt property.
*
* @return
* possible object is
* {@link TransferStatusAndReason2 }
*
*/
public TransferStatusAndReason2 getStsRpt() {
return stsRpt;
}
/**
* Sets the value of the stsRpt property.
*
* @param value
* allowed object is
* {@link TransferStatusAndReason2 }
*
*/
public TransferInstructionStatusReportV03 setStsRpt(TransferStatusAndReason2 value) {
this.stsRpt = value;
return this;
}
/**
* Gets the value of the xtnsn 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 xtnsn property.
*
*
* For example, to add a new item, do as follows:
*
* getXtnsn().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link Extension1 }
*
*
* @return
* The value of the xtnsn property.
*/
public List getXtnsn() {
if (xtnsn == null) {
xtnsn = new ArrayList<>();
}
return this.xtnsn;
}
@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 rltdRef list.
* @see #getRltdRef()
*
*/
public TransferInstructionStatusReportV03 addRltdRef(AdditionalReference3 rltdRef) {
getRltdRef().add(rltdRef);
return this;
}
/**
* Adds a new item to the othrRef list.
* @see #getOthrRef()
*
*/
public TransferInstructionStatusReportV03 addOthrRef(AdditionalReference3 othrRef) {
getOthrRef().add(othrRef);
return this;
}
/**
* Adds a new item to the xtnsn list.
* @see #getXtnsn()
*
*/
public TransferInstructionStatusReportV03 addXtnsn(Extension1 xtnsn) {
getXtnsn().add(xtnsn);
return this;
}
}