
com.prowidesoftware.swift.model.mx.dic.SecuritiesTransactionCancellationRequest002V06 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 SecuritiesTransactionCancellationRequest to an account servicer to request the cancellation of a securities transaction.
* The account owner/servicer relationship may be:
* - a global custodian which has an account with a local custodian, or
* - an investment management institution which manage a fund account opened at a custodian, or - a broker which has an account with a custodian, or
* - a central securities depository participant which has an account with a central securities depository, or
* - a central securities depository which has an account with a custodian, another central securities depository or another settlement market infrastructure, or
* - a central counterparty or a stock exchange or a trade matching utility which need to instruct to a central securities depository or another settlement market infrastructure.
*
* Usage
* The transaction may be:
* - a securities settlement transaction
* - an intra-position movement
* - a securities financing transaction
* The instruction cannot be:
* - a securities settlement conditions modification (another transaction processing command should be sent to reverse a processing change previously requested).
* - a securities financing modification
* 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 = "SecuritiesTransactionCancellationRequest002V06", propOrder = {
"acctOwnrTxId",
"acctSvcrTxId",
"mktInfrstrctrTxId",
"prcrTxId",
"acctOwnr",
"sfkpgAcct",
"txDtls",
"cxlRsn",
"fxCxl",
"splmtryData"
})
public class SecuritiesTransactionCancellationRequest002V06 {
@XmlElement(name = "AcctOwnrTxId", required = true)
protected References60Choice acctOwnrTxId;
@XmlElement(name = "AcctSvcrTxId")
protected String acctSvcrTxId;
@XmlElement(name = "MktInfrstrctrTxId")
protected String mktInfrstrctrTxId;
@XmlElement(name = "PrcrTxId")
protected String prcrTxId;
@XmlElement(name = "AcctOwnr")
protected PartyIdentification156 acctOwnr;
@XmlElement(name = "SfkpgAcct", required = true)
protected SecuritiesAccount30 sfkpgAcct;
@XmlElement(name = "TxDtls")
protected TransactionDetails120 txDtls;
@XmlElement(name = "CxlRsn")
protected CancellationReason27 cxlRsn;
@XmlElement(name = "FxCxl")
protected FXCancellation4Choice fxCxl;
@XmlElement(name = "SplmtryData")
protected List splmtryData;
/**
* Gets the value of the acctOwnrTxId property.
*
* @return
* possible object is
* {@link References60Choice }
*
*/
public References60Choice getAcctOwnrTxId() {
return acctOwnrTxId;
}
/**
* Sets the value of the acctOwnrTxId property.
*
* @param value
* allowed object is
* {@link References60Choice }
*
*/
public SecuritiesTransactionCancellationRequest002V06 setAcctOwnrTxId(References60Choice value) {
this.acctOwnrTxId = value;
return this;
}
/**
* Gets the value of the acctSvcrTxId property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getAcctSvcrTxId() {
return acctSvcrTxId;
}
/**
* Sets the value of the acctSvcrTxId property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public SecuritiesTransactionCancellationRequest002V06 setAcctSvcrTxId(String value) {
this.acctSvcrTxId = value;
return this;
}
/**
* Gets the value of the mktInfrstrctrTxId property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getMktInfrstrctrTxId() {
return mktInfrstrctrTxId;
}
/**
* Sets the value of the mktInfrstrctrTxId property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public SecuritiesTransactionCancellationRequest002V06 setMktInfrstrctrTxId(String value) {
this.mktInfrstrctrTxId = value;
return this;
}
/**
* Gets the value of the prcrTxId property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getPrcrTxId() {
return prcrTxId;
}
/**
* Sets the value of the prcrTxId property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public SecuritiesTransactionCancellationRequest002V06 setPrcrTxId(String value) {
this.prcrTxId = value;
return this;
}
/**
* Gets the value of the acctOwnr property.
*
* @return
* possible object is
* {@link PartyIdentification156 }
*
*/
public PartyIdentification156 getAcctOwnr() {
return acctOwnr;
}
/**
* Sets the value of the acctOwnr property.
*
* @param value
* allowed object is
* {@link PartyIdentification156 }
*
*/
public SecuritiesTransactionCancellationRequest002V06 setAcctOwnr(PartyIdentification156 value) {
this.acctOwnr = value;
return this;
}
/**
* Gets the value of the sfkpgAcct property.
*
* @return
* possible object is
* {@link SecuritiesAccount30 }
*
*/
public SecuritiesAccount30 getSfkpgAcct() {
return sfkpgAcct;
}
/**
* Sets the value of the sfkpgAcct property.
*
* @param value
* allowed object is
* {@link SecuritiesAccount30 }
*
*/
public SecuritiesTransactionCancellationRequest002V06 setSfkpgAcct(SecuritiesAccount30 value) {
this.sfkpgAcct = value;
return this;
}
/**
* Gets the value of the txDtls property.
*
* @return
* possible object is
* {@link TransactionDetails120 }
*
*/
public TransactionDetails120 getTxDtls() {
return txDtls;
}
/**
* Sets the value of the txDtls property.
*
* @param value
* allowed object is
* {@link TransactionDetails120 }
*
*/
public SecuritiesTransactionCancellationRequest002V06 setTxDtls(TransactionDetails120 value) {
this.txDtls = value;
return this;
}
/**
* Gets the value of the cxlRsn property.
*
* @return
* possible object is
* {@link CancellationReason27 }
*
*/
public CancellationReason27 getCxlRsn() {
return cxlRsn;
}
/**
* Sets the value of the cxlRsn property.
*
* @param value
* allowed object is
* {@link CancellationReason27 }
*
*/
public SecuritiesTransactionCancellationRequest002V06 setCxlRsn(CancellationReason27 value) {
this.cxlRsn = value;
return this;
}
/**
* Gets the value of the fxCxl property.
*
* @return
* possible object is
* {@link FXCancellation4Choice }
*
*/
public FXCancellation4Choice getFxCxl() {
return fxCxl;
}
/**
* Sets the value of the fxCxl property.
*
* @param value
* allowed object is
* {@link FXCancellation4Choice }
*
*/
public SecuritiesTransactionCancellationRequest002V06 setFxCxl(FXCancellation4Choice value) {
this.fxCxl = 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 SecuritiesTransactionCancellationRequest002V06 addSplmtryData(SupplementaryData1 splmtryData) {
getSplmtryData().add(splmtryData);
return this;
}
}