com.prowidesoftware.swift.model.mx.dic.StatusExtensionRejectionNotificationV03 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
* The StatusExtensionRejectionNotification message is sent by the matching application to the submitter of a request to extend the status of a transaction.
* This message is used to inform about the rejection of a request to extend the status of a transaction.
* Usage
* The StatusExtensionRejectionNotification message can be sent by the matching application to pass on information about the rejection of a request to extend the status of a transaction that it has obtained through the receipt of a StatusExtensionRejection message.
* In order to pass on information about the acceptance of a request to extend the status of a transaction the matching application sends a StatusExtensionNotification message.
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "StatusExtensionRejectionNotificationV03", propOrder = {
"ntfctnId",
"txId",
"estblishdBaselnId",
"nonXtndedSts",
"usrTxRef",
"rjctnRsn",
"reqForActn"
})
public class StatusExtensionRejectionNotificationV03 {
@XmlElement(name = "NtfctnId", required = true)
protected MessageIdentification1 ntfctnId;
@XmlElement(name = "TxId", required = true)
protected SimpleIdentificationInformation txId;
@XmlElement(name = "EstblishdBaselnId")
protected DocumentIdentification3 estblishdBaselnId;
@XmlElement(name = "NonXtndedSts", required = true)
protected TransactionStatus4 nonXtndedSts;
@XmlElement(name = "UsrTxRef")
protected List usrTxRef;
@XmlElement(name = "RjctnRsn", required = true)
protected Reason2 rjctnRsn;
@XmlElement(name = "ReqForActn")
protected PendingActivity2 reqForActn;
/**
* Gets the value of the ntfctnId property.
*
* @return
* possible object is
* {@link MessageIdentification1 }
*
*/
public MessageIdentification1 getNtfctnId() {
return ntfctnId;
}
/**
* Sets the value of the ntfctnId property.
*
* @param value
* allowed object is
* {@link MessageIdentification1 }
*
*/
public StatusExtensionRejectionNotificationV03 setNtfctnId(MessageIdentification1 value) {
this.ntfctnId = value;
return this;
}
/**
* Gets the value of the txId property.
*
* @return
* possible object is
* {@link SimpleIdentificationInformation }
*
*/
public SimpleIdentificationInformation getTxId() {
return txId;
}
/**
* Sets the value of the txId property.
*
* @param value
* allowed object is
* {@link SimpleIdentificationInformation }
*
*/
public StatusExtensionRejectionNotificationV03 setTxId(SimpleIdentificationInformation value) {
this.txId = value;
return this;
}
/**
* Gets the value of the estblishdBaselnId property.
*
* @return
* possible object is
* {@link DocumentIdentification3 }
*
*/
public DocumentIdentification3 getEstblishdBaselnId() {
return estblishdBaselnId;
}
/**
* Sets the value of the estblishdBaselnId property.
*
* @param value
* allowed object is
* {@link DocumentIdentification3 }
*
*/
public StatusExtensionRejectionNotificationV03 setEstblishdBaselnId(DocumentIdentification3 value) {
this.estblishdBaselnId = value;
return this;
}
/**
* Gets the value of the nonXtndedSts property.
*
* @return
* possible object is
* {@link TransactionStatus4 }
*
*/
public TransactionStatus4 getNonXtndedSts() {
return nonXtndedSts;
}
/**
* Sets the value of the nonXtndedSts property.
*
* @param value
* allowed object is
* {@link TransactionStatus4 }
*
*/
public StatusExtensionRejectionNotificationV03 setNonXtndedSts(TransactionStatus4 value) {
this.nonXtndedSts = value;
return this;
}
/**
* Gets the value of the usrTxRef 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 usrTxRef property.
*
*
* For example, to add a new item, do as follows:
*
* getUsrTxRef().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link DocumentIdentification5 }
*
*
* @return
* The value of the usrTxRef property.
*/
public List getUsrTxRef() {
if (usrTxRef == null) {
usrTxRef = new ArrayList<>();
}
return this.usrTxRef;
}
/**
* Gets the value of the rjctnRsn property.
*
* @return
* possible object is
* {@link Reason2 }
*
*/
public Reason2 getRjctnRsn() {
return rjctnRsn;
}
/**
* Sets the value of the rjctnRsn property.
*
* @param value
* allowed object is
* {@link Reason2 }
*
*/
public StatusExtensionRejectionNotificationV03 setRjctnRsn(Reason2 value) {
this.rjctnRsn = value;
return this;
}
/**
* Gets the value of the reqForActn property.
*
* @return
* possible object is
* {@link PendingActivity2 }
*
*/
public PendingActivity2 getReqForActn() {
return reqForActn;
}
/**
* Sets the value of the reqForActn property.
*
* @param value
* allowed object is
* {@link PendingActivity2 }
*
*/
public StatusExtensionRejectionNotificationV03 setReqForActn(PendingActivity2 value) {
this.reqForActn = 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 usrTxRef list.
* @see #getUsrTxRef()
*
*/
public StatusExtensionRejectionNotificationV03 addUsrTxRef(DocumentIdentification5 usrTxRef) {
getUsrTxRef().add(usrTxRef);
return this;
}
}