
com.prowidesoftware.swift.model.mx.dic.SecuritiesSettlementTransactionCounterpartyResponseV01 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 owner sends a SecuritiesSettlementTransactionCounterpartyResponse to advise the account servicer that:
* - the allegement received is either rejected (that is counterparty's transaction is unknown) or accepted (i.e. either the allegement was passed to the client or the transaction is know with or without mismatches)
* - the modification or cancellation request sent by the counterparty for a matched transaction is affirmed or not. The account servicer will therefore proceed or not with the counterparty's request to modify or cancel the transaction.
* The account servicer may be a central securities depository or another settlement market infrastructure acting on behalf of their participants
* The account owner may be:
* - a central securities depository participant which has an account with a central securities depository or a market infrastructure
* - 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 sent by the account owner to the account servicer,
* - provide a third party with a copy of a message being sent by the account owner for information,
* - re-send to a third party a copy of a message being sent by the account owner for information
* using the relevant elements in the Business Application Header.
*
* ISO 15022 - 20022 Coexistence
* This ISO 20022 message is reversed engineered from ISO 15022. Both standards will coexist for a certain number of years. Until this coexistence period ends, the usage of certain data types is restricted to ensure interoperability between ISO 15022 and 20022 users. Compliance to these rules is mandatory in a coexistence environment. The coexistence restrictions are described in a Textual Rule linked to the Message Items they concern. These coexistence textual rules are clearly identified as follows: “CoexistenceXxxxRule”.
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "SecuritiesSettlementTransactionCounterpartyResponseV01", propOrder = {
"txId",
"rspnSts",
"txDtls",
"splmtryData"
})
public class SecuritiesSettlementTransactionCounterpartyResponseV01 {
@XmlElement(name = "TxId", required = true)
protected TransactionIdentification2 txId;
@XmlElement(name = "RspnSts", required = true)
protected ResponseStatus3Choice rspnSts;
@XmlElement(name = "TxDtls")
protected TransactionDetails40 txDtls;
@XmlElement(name = "SplmtryData")
protected List splmtryData;
/**
* Gets the value of the txId property.
*
* @return
* possible object is
* {@link TransactionIdentification2 }
*
*/
public TransactionIdentification2 getTxId() {
return txId;
}
/**
* Sets the value of the txId property.
*
* @param value
* allowed object is
* {@link TransactionIdentification2 }
*
*/
public SecuritiesSettlementTransactionCounterpartyResponseV01 setTxId(TransactionIdentification2 value) {
this.txId = value;
return this;
}
/**
* Gets the value of the rspnSts property.
*
* @return
* possible object is
* {@link ResponseStatus3Choice }
*
*/
public ResponseStatus3Choice getRspnSts() {
return rspnSts;
}
/**
* Sets the value of the rspnSts property.
*
* @param value
* allowed object is
* {@link ResponseStatus3Choice }
*
*/
public SecuritiesSettlementTransactionCounterpartyResponseV01 setRspnSts(ResponseStatus3Choice value) {
this.rspnSts = value;
return this;
}
/**
* Gets the value of the txDtls property.
*
* @return
* possible object is
* {@link TransactionDetails40 }
*
*/
public TransactionDetails40 getTxDtls() {
return txDtls;
}
/**
* Sets the value of the txDtls property.
*
* @param value
* allowed object is
* {@link TransactionDetails40 }
*
*/
public SecuritiesSettlementTransactionCounterpartyResponseV01 setTxDtls(TransactionDetails40 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 SecuritiesSettlementTransactionCounterpartyResponseV01 addSplmtryData(SupplementaryData1 splmtryData) {
getSplmtryData().add(splmtryData);
return this;
}
}