
com.prowidesoftware.swift.model.mx.dic.SecuritiesTransactionCancellationRequestStatusAdviceV05 Maven / Gradle / Ivy
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.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 account servicer sends an SecuritiesTransactionCancellationRequestStatusAdvice to an account owner to advise the status of a securities transaction cancellation request previously sent by the account owner.
* The account servicer/owner relationship may be:
* - a central securities depository or another settlement market infrastructure acting on behalf of their participants
* - an agent (sub-custodian) acting on behalf of their global custodian customer, or
* - a custodian acting on behalf of an investment management institution or a broker/dealer.
*
* Usage
* The message may also be used to:
* - re-send a message previously sent,
* - provide a third party with a copy of a message for information,
* - re-send to a third party a copy of a message for information
* using the relevant elements in the Business Application Header.
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "SecuritiesTransactionCancellationRequestStatusAdviceV05", propOrder = {
"cxlReqRef",
"txId",
"prcgSts",
"txDtls",
"splmtryData"
})
public class SecuritiesTransactionCancellationRequestStatusAdviceV05 {
@XmlElement(name = "CxlReqRef", required = true)
protected Identification14 cxlReqRef;
@XmlElement(name = "TxId")
protected TransactionIdentifications30 txId;
@XmlElement(name = "PrcgSts", required = true)
protected ProcessingStatus54Choice prcgSts;
@XmlElement(name = "TxDtls")
protected TransactionDetails80 txDtls;
@XmlElement(name = "SplmtryData")
protected List splmtryData;
/**
* Gets the value of the cxlReqRef property.
*
* @return
* possible object is
* {@link Identification14 }
*
*/
public Identification14 getCxlReqRef() {
return cxlReqRef;
}
/**
* Sets the value of the cxlReqRef property.
*
* @param value
* allowed object is
* {@link Identification14 }
*
*/
public SecuritiesTransactionCancellationRequestStatusAdviceV05 setCxlReqRef(Identification14 value) {
this.cxlReqRef = value;
return this;
}
/**
* Gets the value of the txId property.
*
* @return
* possible object is
* {@link TransactionIdentifications30 }
*
*/
public TransactionIdentifications30 getTxId() {
return txId;
}
/**
* Sets the value of the txId property.
*
* @param value
* allowed object is
* {@link TransactionIdentifications30 }
*
*/
public SecuritiesTransactionCancellationRequestStatusAdviceV05 setTxId(TransactionIdentifications30 value) {
this.txId = value;
return this;
}
/**
* Gets the value of the prcgSts property.
*
* @return
* possible object is
* {@link ProcessingStatus54Choice }
*
*/
public ProcessingStatus54Choice getPrcgSts() {
return prcgSts;
}
/**
* Sets the value of the prcgSts property.
*
* @param value
* allowed object is
* {@link ProcessingStatus54Choice }
*
*/
public SecuritiesTransactionCancellationRequestStatusAdviceV05 setPrcgSts(ProcessingStatus54Choice value) {
this.prcgSts = value;
return this;
}
/**
* Gets the value of the txDtls property.
*
* @return
* possible object is
* {@link TransactionDetails80 }
*
*/
public TransactionDetails80 getTxDtls() {
return txDtls;
}
/**
* Sets the value of the txDtls property.
*
* @param value
* allowed object is
* {@link TransactionDetails80 }
*
*/
public SecuritiesTransactionCancellationRequestStatusAdviceV05 setTxDtls(TransactionDetails80 value) {
this.txDtls = value;
return this;
}
/**
* Gets the value of the splmtryData 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 splmtryData property.
*
*
* For example, to add a new item, do as follows:
*
* getSplmtryData().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link SupplementaryData1 }
*
*
*/
public List getSplmtryData() {
if (splmtryData == null) {
splmtryData = new ArrayList();
}
return this.splmtryData;
}
@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 splmtryData list.
* @see #getSplmtryData()
*
*/
public SecuritiesTransactionCancellationRequestStatusAdviceV05 addSplmtryData(SupplementaryData1 splmtryData) {
getSplmtryData().add(splmtryData);
return this;
}
}