com.prowidesoftware.swift.model.mx.dic.SecuritiesSettlementTransactionCounterpartyResponseV03 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 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.
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "SecuritiesSettlementTransactionCounterpartyResponseV03", propOrder = {
"txId",
"rspnSts",
"txDtls",
"splmtryData"
})
public class SecuritiesSettlementTransactionCounterpartyResponseV03 {
@XmlElement(name = "TxId", required = true)
protected TransactionIdentification6 txId;
@XmlElement(name = "RspnSts", required = true)
protected ResponseStatus6Choice rspnSts;
@XmlElement(name = "TxDtls")
protected TransactionDetails138 txDtls;
@XmlElement(name = "SplmtryData")
protected List splmtryData;
/**
* Gets the value of the txId property.
*
* @return
* possible object is
* {@link TransactionIdentification6 }
*
*/
public TransactionIdentification6 getTxId() {
return txId;
}
/**
* Sets the value of the txId property.
*
* @param value
* allowed object is
* {@link TransactionIdentification6 }
*
*/
public SecuritiesSettlementTransactionCounterpartyResponseV03 setTxId(TransactionIdentification6 value) {
this.txId = value;
return this;
}
/**
* Gets the value of the rspnSts property.
*
* @return
* possible object is
* {@link ResponseStatus6Choice }
*
*/
public ResponseStatus6Choice getRspnSts() {
return rspnSts;
}
/**
* Sets the value of the rspnSts property.
*
* @param value
* allowed object is
* {@link ResponseStatus6Choice }
*
*/
public SecuritiesSettlementTransactionCounterpartyResponseV03 setRspnSts(ResponseStatus6Choice value) {
this.rspnSts = value;
return this;
}
/**
* Gets the value of the txDtls property.
*
* @return
* possible object is
* {@link TransactionDetails138 }
*
*/
public TransactionDetails138 getTxDtls() {
return txDtls;
}
/**
* Sets the value of the txDtls property.
*
* @param value
* allowed object is
* {@link TransactionDetails138 }
*
*/
public SecuritiesSettlementTransactionCounterpartyResponseV03 setTxDtls(TransactionDetails138 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 Jakarta XML Binding object.
* This is why there is not a {@code 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 }
*
*
* @return
* The value of the splmtryData property.
*/
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 SecuritiesSettlementTransactionCounterpartyResponseV03 addSplmtryData(SupplementaryData1 splmtryData) {
getSplmtryData().add(splmtryData);
return this;
}
}