com.prowidesoftware.swift.model.mx.dic.SecuritiesTradeConfirmationV01 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 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
* Sent by an executing party to an instructing party directly or through Central Matching Utility (CMU) to provide trade confirmation on a per-account basis based on instructions provided by the instructing party in the SecuritiesAllocationInstruction message.
* It may also be used to provide trade confirmation on the trade level from an executing party or an instructing party to the custodian or an affirming party directly or through CMU.
* The instructing party is typically the investment manager or an intermediary system/vendor communicating on behalf of the investment manager or of other categories of investors.
* The executing party is typically the broker/dealer or an intermediary system/vendor communicating on behalf of the broker/dealer.
* The custodian or the affirming party is typically the custodian, trustee, financial institution, intermediary system/vendor communicating on behalf of them, or their agent.
* The ISO 20022 Business Application Header must be used
* Usage
* Initiator: In local matching, the initiator of this message is always the executing party. In central matching the initiator may be either the executing party or instructing party.
* Respondent: instructing party, a custodian or an affirming party responds with SecuritiesTradeConfirmationResponse (accept or reject) message.
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "SecuritiesTradeConfirmationV01", propOrder = {
"id",
"nbCnt",
"refs",
"tradDtls",
"finInstrmId",
"finInstrmAttrbts",
"undrlygFinInstrm",
"stiptns",
"confPties",
"sttlmParams",
"stgSttlmInstr",
"dlvrgSttlmPties",
"rcvgSttlmPties",
"cshPties",
"clrDtls",
"sttlmAmt",
"othrAmts",
"othrPrics",
"othrBizPties",
"twoLegTxDtls",
"rgltryStiptns",
"splmtryData"
})
public class SecuritiesTradeConfirmationV01 {
@XmlElement(name = "Id", required = true)
protected TransactiontIdentification4 id;
@XmlElement(name = "NbCnt")
protected NumberCount1Choice nbCnt;
@XmlElement(name = "Refs")
protected List refs;
@XmlElement(name = "TradDtls", required = true)
protected Order14 tradDtls;
@XmlElement(name = "FinInstrmId", required = true)
protected SecurityIdentification14 finInstrmId;
@XmlElement(name = "FinInstrmAttrbts")
protected FinancialInstrumentAttributes31 finInstrmAttrbts;
@XmlElement(name = "UndrlygFinInstrm")
protected List undrlygFinInstrm;
@XmlElement(name = "Stiptns")
protected FinancialInstrumentStipulations2 stiptns;
@XmlElement(name = "ConfPties", required = true)
protected List confPties;
@XmlElement(name = "SttlmParams")
protected SettlementDetails43 sttlmParams;
@XmlElement(name = "StgSttlmInstr")
protected StandingSettlementInstruction9 stgSttlmInstr;
@XmlElement(name = "DlvrgSttlmPties")
protected SettlementParties23 dlvrgSttlmPties;
@XmlElement(name = "RcvgSttlmPties")
protected SettlementParties23 rcvgSttlmPties;
@XmlElement(name = "CshPties")
protected CashParties6 cshPties;
@XmlElement(name = "ClrDtls")
protected Clearing3 clrDtls;
@XmlElement(name = "SttlmAmt")
protected AmountAndDirection28 sttlmAmt;
@XmlElement(name = "OthrAmts")
protected List othrAmts;
@XmlElement(name = "OthrPrics")
protected List othrPrics;
@XmlElement(name = "OthrBizPties")
protected OtherParties18 othrBizPties;
@XmlElement(name = "TwoLegTxDtls")
protected TwoLegTransactionDetails1 twoLegTxDtls;
@XmlElement(name = "RgltryStiptns")
protected RegulatoryStipulations1 rgltryStiptns;
@XmlElement(name = "SplmtryData")
protected List splmtryData;
/**
* Gets the value of the id property.
*
* @return
* possible object is
* {@link TransactiontIdentification4 }
*
*/
public TransactiontIdentification4 getId() {
return id;
}
/**
* Sets the value of the id property.
*
* @param value
* allowed object is
* {@link TransactiontIdentification4 }
*
*/
public SecuritiesTradeConfirmationV01 setId(TransactiontIdentification4 value) {
this.id = value;
return this;
}
/**
* Gets the value of the nbCnt property.
*
* @return
* possible object is
* {@link NumberCount1Choice }
*
*/
public NumberCount1Choice getNbCnt() {
return nbCnt;
}
/**
* Sets the value of the nbCnt property.
*
* @param value
* allowed object is
* {@link NumberCount1Choice }
*
*/
public SecuritiesTradeConfirmationV01 setNbCnt(NumberCount1Choice value) {
this.nbCnt = value;
return this;
}
/**
* Gets the value of the refs 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 refs property.
*
*
* For example, to add a new item, do as follows:
*
* getRefs().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link Linkages15 }
*
*
*/
public List getRefs() {
if (refs == null) {
refs = new ArrayList();
}
return this.refs;
}
/**
* Gets the value of the tradDtls property.
*
* @return
* possible object is
* {@link Order14 }
*
*/
public Order14 getTradDtls() {
return tradDtls;
}
/**
* Sets the value of the tradDtls property.
*
* @param value
* allowed object is
* {@link Order14 }
*
*/
public SecuritiesTradeConfirmationV01 setTradDtls(Order14 value) {
this.tradDtls = value;
return this;
}
/**
* Gets the value of the finInstrmId property.
*
* @return
* possible object is
* {@link SecurityIdentification14 }
*
*/
public SecurityIdentification14 getFinInstrmId() {
return finInstrmId;
}
/**
* Sets the value of the finInstrmId property.
*
* @param value
* allowed object is
* {@link SecurityIdentification14 }
*
*/
public SecuritiesTradeConfirmationV01 setFinInstrmId(SecurityIdentification14 value) {
this.finInstrmId = value;
return this;
}
/**
* Gets the value of the finInstrmAttrbts property.
*
* @return
* possible object is
* {@link FinancialInstrumentAttributes31 }
*
*/
public FinancialInstrumentAttributes31 getFinInstrmAttrbts() {
return finInstrmAttrbts;
}
/**
* Sets the value of the finInstrmAttrbts property.
*
* @param value
* allowed object is
* {@link FinancialInstrumentAttributes31 }
*
*/
public SecuritiesTradeConfirmationV01 setFinInstrmAttrbts(FinancialInstrumentAttributes31 value) {
this.finInstrmAttrbts = value;
return this;
}
/**
* Gets the value of the undrlygFinInstrm 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 undrlygFinInstrm property.
*
*
* For example, to add a new item, do as follows:
*
* getUndrlygFinInstrm().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link UnderlyingFinancialInstrument1 }
*
*
*/
public List getUndrlygFinInstrm() {
if (undrlygFinInstrm == null) {
undrlygFinInstrm = new ArrayList();
}
return this.undrlygFinInstrm;
}
/**
* Gets the value of the stiptns property.
*
* @return
* possible object is
* {@link FinancialInstrumentStipulations2 }
*
*/
public FinancialInstrumentStipulations2 getStiptns() {
return stiptns;
}
/**
* Sets the value of the stiptns property.
*
* @param value
* allowed object is
* {@link FinancialInstrumentStipulations2 }
*
*/
public SecuritiesTradeConfirmationV01 setStiptns(FinancialInstrumentStipulations2 value) {
this.stiptns = value;
return this;
}
/**
* Gets the value of the confPties 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 confPties property.
*
*
* For example, to add a new item, do as follows:
*
* getConfPties().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link ConfirmationParties2 }
*
*
*/
public List getConfPties() {
if (confPties == null) {
confPties = new ArrayList();
}
return this.confPties;
}
/**
* Gets the value of the sttlmParams property.
*
* @return
* possible object is
* {@link SettlementDetails43 }
*
*/
public SettlementDetails43 getSttlmParams() {
return sttlmParams;
}
/**
* Sets the value of the sttlmParams property.
*
* @param value
* allowed object is
* {@link SettlementDetails43 }
*
*/
public SecuritiesTradeConfirmationV01 setSttlmParams(SettlementDetails43 value) {
this.sttlmParams = value;
return this;
}
/**
* Gets the value of the stgSttlmInstr property.
*
* @return
* possible object is
* {@link StandingSettlementInstruction9 }
*
*/
public StandingSettlementInstruction9 getStgSttlmInstr() {
return stgSttlmInstr;
}
/**
* Sets the value of the stgSttlmInstr property.
*
* @param value
* allowed object is
* {@link StandingSettlementInstruction9 }
*
*/
public SecuritiesTradeConfirmationV01 setStgSttlmInstr(StandingSettlementInstruction9 value) {
this.stgSttlmInstr = value;
return this;
}
/**
* Gets the value of the dlvrgSttlmPties property.
*
* @return
* possible object is
* {@link SettlementParties23 }
*
*/
public SettlementParties23 getDlvrgSttlmPties() {
return dlvrgSttlmPties;
}
/**
* Sets the value of the dlvrgSttlmPties property.
*
* @param value
* allowed object is
* {@link SettlementParties23 }
*
*/
public SecuritiesTradeConfirmationV01 setDlvrgSttlmPties(SettlementParties23 value) {
this.dlvrgSttlmPties = value;
return this;
}
/**
* Gets the value of the rcvgSttlmPties property.
*
* @return
* possible object is
* {@link SettlementParties23 }
*
*/
public SettlementParties23 getRcvgSttlmPties() {
return rcvgSttlmPties;
}
/**
* Sets the value of the rcvgSttlmPties property.
*
* @param value
* allowed object is
* {@link SettlementParties23 }
*
*/
public SecuritiesTradeConfirmationV01 setRcvgSttlmPties(SettlementParties23 value) {
this.rcvgSttlmPties = value;
return this;
}
/**
* Gets the value of the cshPties property.
*
* @return
* possible object is
* {@link CashParties6 }
*
*/
public CashParties6 getCshPties() {
return cshPties;
}
/**
* Sets the value of the cshPties property.
*
* @param value
* allowed object is
* {@link CashParties6 }
*
*/
public SecuritiesTradeConfirmationV01 setCshPties(CashParties6 value) {
this.cshPties = value;
return this;
}
/**
* Gets the value of the clrDtls property.
*
* @return
* possible object is
* {@link Clearing3 }
*
*/
public Clearing3 getClrDtls() {
return clrDtls;
}
/**
* Sets the value of the clrDtls property.
*
* @param value
* allowed object is
* {@link Clearing3 }
*
*/
public SecuritiesTradeConfirmationV01 setClrDtls(Clearing3 value) {
this.clrDtls = value;
return this;
}
/**
* Gets the value of the sttlmAmt property.
*
* @return
* possible object is
* {@link AmountAndDirection28 }
*
*/
public AmountAndDirection28 getSttlmAmt() {
return sttlmAmt;
}
/**
* Sets the value of the sttlmAmt property.
*
* @param value
* allowed object is
* {@link AmountAndDirection28 }
*
*/
public SecuritiesTradeConfirmationV01 setSttlmAmt(AmountAndDirection28 value) {
this.sttlmAmt = value;
return this;
}
/**
* Gets the value of the othrAmts 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 othrAmts property.
*
*
* For example, to add a new item, do as follows:
*
* getOthrAmts().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link OtherAmounts16 }
*
*
*/
public List getOthrAmts() {
if (othrAmts == null) {
othrAmts = new ArrayList();
}
return this.othrAmts;
}
/**
* Gets the value of the othrPrics 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 othrPrics property.
*
*
* For example, to add a new item, do as follows:
*
* getOthrPrics().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link OtherPrices1 }
*
*
*/
public List getOthrPrics() {
if (othrPrics == null) {
othrPrics = new ArrayList();
}
return this.othrPrics;
}
/**
* Gets the value of the othrBizPties property.
*
* @return
* possible object is
* {@link OtherParties18 }
*
*/
public OtherParties18 getOthrBizPties() {
return othrBizPties;
}
/**
* Sets the value of the othrBizPties property.
*
* @param value
* allowed object is
* {@link OtherParties18 }
*
*/
public SecuritiesTradeConfirmationV01 setOthrBizPties(OtherParties18 value) {
this.othrBizPties = value;
return this;
}
/**
* Gets the value of the twoLegTxDtls property.
*
* @return
* possible object is
* {@link TwoLegTransactionDetails1 }
*
*/
public TwoLegTransactionDetails1 getTwoLegTxDtls() {
return twoLegTxDtls;
}
/**
* Sets the value of the twoLegTxDtls property.
*
* @param value
* allowed object is
* {@link TwoLegTransactionDetails1 }
*
*/
public SecuritiesTradeConfirmationV01 setTwoLegTxDtls(TwoLegTransactionDetails1 value) {
this.twoLegTxDtls = value;
return this;
}
/**
* Gets the value of the rgltryStiptns property.
*
* @return
* possible object is
* {@link RegulatoryStipulations1 }
*
*/
public RegulatoryStipulations1 getRgltryStiptns() {
return rgltryStiptns;
}
/**
* Sets the value of the rgltryStiptns property.
*
* @param value
* allowed object is
* {@link RegulatoryStipulations1 }
*
*/
public SecuritiesTradeConfirmationV01 setRgltryStiptns(RegulatoryStipulations1 value) {
this.rgltryStiptns = 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 refs list.
* @see #getRefs()
*
*/
public SecuritiesTradeConfirmationV01 addRefs(Linkages15 refs) {
getRefs().add(refs);
return this;
}
/**
* Adds a new item to the undrlygFinInstrm list.
* @see #getUndrlygFinInstrm()
*
*/
public SecuritiesTradeConfirmationV01 addUndrlygFinInstrm(UnderlyingFinancialInstrument1 undrlygFinInstrm) {
getUndrlygFinInstrm().add(undrlygFinInstrm);
return this;
}
/**
* Adds a new item to the confPties list.
* @see #getConfPties()
*
*/
public SecuritiesTradeConfirmationV01 addConfPties(ConfirmationParties2 confPties) {
getConfPties().add(confPties);
return this;
}
/**
* Adds a new item to the othrAmts list.
* @see #getOthrAmts()
*
*/
public SecuritiesTradeConfirmationV01 addOthrAmts(OtherAmounts16 othrAmts) {
getOthrAmts().add(othrAmts);
return this;
}
/**
* Adds a new item to the othrPrics list.
* @see #getOthrPrics()
*
*/
public SecuritiesTradeConfirmationV01 addOthrPrics(OtherPrices1 othrPrics) {
getOthrPrics().add(othrPrics);
return this;
}
/**
* Adds a new item to the splmtryData list.
* @see #getSplmtryData()
*
*/
public SecuritiesTradeConfirmationV01 addSplmtryData(SupplementaryData1 splmtryData) {
getSplmtryData().add(splmtryData);
return this;
}
}