com.prowidesoftware.swift.model.mx.dic.SecuritiesTradeDetails71 Maven / Gradle / Ivy
Show all versions of pw-iso20022 Show documentation
package com.prowidesoftware.swift.model.mx.dic;
import java.math.BigDecimal;
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.XmlSchemaType;
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;
/**
* Details of the securities trade.
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "SecuritiesTradeDetails71", propOrder = {
"acctOwnrTxId",
"acctSvcrTxId",
"mktInfrstrctrTxId",
"prcrTxId",
"tradId",
"cmonId",
"poolId",
"collTxId",
"sctiesMvmntTp",
"pmt",
"sts",
"plcOfTrad",
"plcOfClr",
"tradDt",
"sttlmDt",
"dealPric",
"nbOfDaysAcrd",
"finInstrmId",
"finInstrmAttrbts",
"tradTxCond",
"tpOfPric",
"qtyAndAcctDtls",
"sctiesFincgDtls",
"sttlmParams",
"dlvrgSttlmPties",
"rcvgSttlmPties",
"sttlmAmt",
"othrAmts",
"othrBizPties",
"splmtryData"
})
public class SecuritiesTradeDetails71 {
@XmlElement(name = "AcctOwnrTxId")
protected String acctOwnrTxId;
@XmlElement(name = "AcctSvcrTxId")
protected String acctSvcrTxId;
@XmlElement(name = "MktInfrstrctrTxId")
protected String mktInfrstrctrTxId;
@XmlElement(name = "PrcrTxId")
protected String prcrTxId;
@XmlElement(name = "TradId")
protected List tradId;
@XmlElement(name = "CmonId")
protected String cmonId;
@XmlElement(name = "PoolId")
protected String poolId;
@XmlElement(name = "CollTxId")
protected List collTxId;
@XmlElement(name = "SctiesMvmntTp", required = true)
@XmlSchemaType(name = "string")
protected ReceiveDelivery1Code sctiesMvmntTp;
@XmlElement(name = "Pmt", required = true)
@XmlSchemaType(name = "string")
protected DeliveryReceiptType2Code pmt;
@XmlElement(name = "Sts")
protected AllegementStatus3Choice sts;
@XmlElement(name = "PlcOfTrad")
protected PlaceOfTradeIdentification1 plcOfTrad;
@XmlElement(name = "PlcOfClr")
protected PlaceOfClearingIdentification1 plcOfClr;
@XmlElement(name = "TradDt")
protected TradeDate8Choice tradDt;
@XmlElement(name = "SttlmDt", required = true)
protected SettlementDate17Choice sttlmDt;
@XmlElement(name = "DealPric")
protected Price7 dealPric;
@XmlElement(name = "NbOfDaysAcrd")
protected BigDecimal nbOfDaysAcrd;
@XmlElement(name = "FinInstrmId", required = true)
protected SecurityIdentification19 finInstrmId;
@XmlElement(name = "FinInstrmAttrbts")
protected FinancialInstrumentAttributes91 finInstrmAttrbts;
@XmlElement(name = "TradTxCond")
protected List tradTxCond;
@XmlElement(name = "TpOfPric")
protected TypeOfPrice29Choice tpOfPric;
@XmlElement(name = "QtyAndAcctDtls", required = true)
protected QuantityAndAccount67 qtyAndAcctDtls;
@XmlElement(name = "SctiesFincgDtls")
protected SecuritiesFinancingTransactionDetails38 sctiesFincgDtls;
@XmlElement(name = "SttlmParams", required = true)
protected SettlementDetails141 sttlmParams;
@XmlElement(name = "DlvrgSttlmPties")
protected SettlementParties62 dlvrgSttlmPties;
@XmlElement(name = "RcvgSttlmPties")
protected SettlementParties62 rcvgSttlmPties;
@XmlElement(name = "SttlmAmt")
protected AmountAndDirection88 sttlmAmt;
@XmlElement(name = "OthrAmts")
protected OtherAmounts32 othrAmts;
@XmlElement(name = "OthrBizPties")
protected OtherParties28 othrBizPties;
@XmlElement(name = "SplmtryData")
protected List splmtryData;
/**
* Gets the value of the acctOwnrTxId property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getAcctOwnrTxId() {
return acctOwnrTxId;
}
/**
* Sets the value of the acctOwnrTxId property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public SecuritiesTradeDetails71 setAcctOwnrTxId(String 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 SecuritiesTradeDetails71 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 SecuritiesTradeDetails71 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 SecuritiesTradeDetails71 setPrcrTxId(String value) {
this.prcrTxId = value;
return this;
}
/**
* Gets the value of the tradId 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 tradId property.
*
*
* For example, to add a new item, do as follows:
*
* getTradId().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link String }
*
*
* @return
* The value of the tradId property.
*/
public List getTradId() {
if (tradId == null) {
tradId = new ArrayList<>();
}
return this.tradId;
}
/**
* Gets the value of the cmonId property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getCmonId() {
return cmonId;
}
/**
* Sets the value of the cmonId property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public SecuritiesTradeDetails71 setCmonId(String value) {
this.cmonId = value;
return this;
}
/**
* Gets the value of the poolId property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getPoolId() {
return poolId;
}
/**
* Sets the value of the poolId property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public SecuritiesTradeDetails71 setPoolId(String value) {
this.poolId = value;
return this;
}
/**
* Gets the value of the collTxId 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 collTxId property.
*
*
* For example, to add a new item, do as follows:
*
* getCollTxId().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link String }
*
*
* @return
* The value of the collTxId property.
*/
public List getCollTxId() {
if (collTxId == null) {
collTxId = new ArrayList<>();
}
return this.collTxId;
}
/**
* Gets the value of the sctiesMvmntTp property.
*
* @return
* possible object is
* {@link ReceiveDelivery1Code }
*
*/
public ReceiveDelivery1Code getSctiesMvmntTp() {
return sctiesMvmntTp;
}
/**
* Sets the value of the sctiesMvmntTp property.
*
* @param value
* allowed object is
* {@link ReceiveDelivery1Code }
*
*/
public SecuritiesTradeDetails71 setSctiesMvmntTp(ReceiveDelivery1Code value) {
this.sctiesMvmntTp = value;
return this;
}
/**
* Gets the value of the pmt property.
*
* @return
* possible object is
* {@link DeliveryReceiptType2Code }
*
*/
public DeliveryReceiptType2Code getPmt() {
return pmt;
}
/**
* Sets the value of the pmt property.
*
* @param value
* allowed object is
* {@link DeliveryReceiptType2Code }
*
*/
public SecuritiesTradeDetails71 setPmt(DeliveryReceiptType2Code value) {
this.pmt = value;
return this;
}
/**
* Gets the value of the sts property.
*
* @return
* possible object is
* {@link AllegementStatus3Choice }
*
*/
public AllegementStatus3Choice getSts() {
return sts;
}
/**
* Sets the value of the sts property.
*
* @param value
* allowed object is
* {@link AllegementStatus3Choice }
*
*/
public SecuritiesTradeDetails71 setSts(AllegementStatus3Choice value) {
this.sts = value;
return this;
}
/**
* Gets the value of the plcOfTrad property.
*
* @return
* possible object is
* {@link PlaceOfTradeIdentification1 }
*
*/
public PlaceOfTradeIdentification1 getPlcOfTrad() {
return plcOfTrad;
}
/**
* Sets the value of the plcOfTrad property.
*
* @param value
* allowed object is
* {@link PlaceOfTradeIdentification1 }
*
*/
public SecuritiesTradeDetails71 setPlcOfTrad(PlaceOfTradeIdentification1 value) {
this.plcOfTrad = value;
return this;
}
/**
* Gets the value of the plcOfClr property.
*
* @return
* possible object is
* {@link PlaceOfClearingIdentification1 }
*
*/
public PlaceOfClearingIdentification1 getPlcOfClr() {
return plcOfClr;
}
/**
* Sets the value of the plcOfClr property.
*
* @param value
* allowed object is
* {@link PlaceOfClearingIdentification1 }
*
*/
public SecuritiesTradeDetails71 setPlcOfClr(PlaceOfClearingIdentification1 value) {
this.plcOfClr = value;
return this;
}
/**
* Gets the value of the tradDt property.
*
* @return
* possible object is
* {@link TradeDate8Choice }
*
*/
public TradeDate8Choice getTradDt() {
return tradDt;
}
/**
* Sets the value of the tradDt property.
*
* @param value
* allowed object is
* {@link TradeDate8Choice }
*
*/
public SecuritiesTradeDetails71 setTradDt(TradeDate8Choice value) {
this.tradDt = value;
return this;
}
/**
* Gets the value of the sttlmDt property.
*
* @return
* possible object is
* {@link SettlementDate17Choice }
*
*/
public SettlementDate17Choice getSttlmDt() {
return sttlmDt;
}
/**
* Sets the value of the sttlmDt property.
*
* @param value
* allowed object is
* {@link SettlementDate17Choice }
*
*/
public SecuritiesTradeDetails71 setSttlmDt(SettlementDate17Choice value) {
this.sttlmDt = value;
return this;
}
/**
* Gets the value of the dealPric property.
*
* @return
* possible object is
* {@link Price7 }
*
*/
public Price7 getDealPric() {
return dealPric;
}
/**
* Sets the value of the dealPric property.
*
* @param value
* allowed object is
* {@link Price7 }
*
*/
public SecuritiesTradeDetails71 setDealPric(Price7 value) {
this.dealPric = value;
return this;
}
/**
* Gets the value of the nbOfDaysAcrd property.
*
* @return
* possible object is
* {@link BigDecimal }
*
*/
public BigDecimal getNbOfDaysAcrd() {
return nbOfDaysAcrd;
}
/**
* Sets the value of the nbOfDaysAcrd property.
*
* @param value
* allowed object is
* {@link BigDecimal }
*
*/
public SecuritiesTradeDetails71 setNbOfDaysAcrd(BigDecimal value) {
this.nbOfDaysAcrd = value;
return this;
}
/**
* Gets the value of the finInstrmId property.
*
* @return
* possible object is
* {@link SecurityIdentification19 }
*
*/
public SecurityIdentification19 getFinInstrmId() {
return finInstrmId;
}
/**
* Sets the value of the finInstrmId property.
*
* @param value
* allowed object is
* {@link SecurityIdentification19 }
*
*/
public SecuritiesTradeDetails71 setFinInstrmId(SecurityIdentification19 value) {
this.finInstrmId = value;
return this;
}
/**
* Gets the value of the finInstrmAttrbts property.
*
* @return
* possible object is
* {@link FinancialInstrumentAttributes91 }
*
*/
public FinancialInstrumentAttributes91 getFinInstrmAttrbts() {
return finInstrmAttrbts;
}
/**
* Sets the value of the finInstrmAttrbts property.
*
* @param value
* allowed object is
* {@link FinancialInstrumentAttributes91 }
*
*/
public SecuritiesTradeDetails71 setFinInstrmAttrbts(FinancialInstrumentAttributes91 value) {
this.finInstrmAttrbts = value;
return this;
}
/**
* Gets the value of the tradTxCond 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 tradTxCond property.
*
*
* For example, to add a new item, do as follows:
*
* getTradTxCond().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link TradeTransactionCondition5Choice }
*
*
* @return
* The value of the tradTxCond property.
*/
public List getTradTxCond() {
if (tradTxCond == null) {
tradTxCond = new ArrayList<>();
}
return this.tradTxCond;
}
/**
* Gets the value of the tpOfPric property.
*
* @return
* possible object is
* {@link TypeOfPrice29Choice }
*
*/
public TypeOfPrice29Choice getTpOfPric() {
return tpOfPric;
}
/**
* Sets the value of the tpOfPric property.
*
* @param value
* allowed object is
* {@link TypeOfPrice29Choice }
*
*/
public SecuritiesTradeDetails71 setTpOfPric(TypeOfPrice29Choice value) {
this.tpOfPric = value;
return this;
}
/**
* Gets the value of the qtyAndAcctDtls property.
*
* @return
* possible object is
* {@link QuantityAndAccount67 }
*
*/
public QuantityAndAccount67 getQtyAndAcctDtls() {
return qtyAndAcctDtls;
}
/**
* Sets the value of the qtyAndAcctDtls property.
*
* @param value
* allowed object is
* {@link QuantityAndAccount67 }
*
*/
public SecuritiesTradeDetails71 setQtyAndAcctDtls(QuantityAndAccount67 value) {
this.qtyAndAcctDtls = value;
return this;
}
/**
* Gets the value of the sctiesFincgDtls property.
*
* @return
* possible object is
* {@link SecuritiesFinancingTransactionDetails38 }
*
*/
public SecuritiesFinancingTransactionDetails38 getSctiesFincgDtls() {
return sctiesFincgDtls;
}
/**
* Sets the value of the sctiesFincgDtls property.
*
* @param value
* allowed object is
* {@link SecuritiesFinancingTransactionDetails38 }
*
*/
public SecuritiesTradeDetails71 setSctiesFincgDtls(SecuritiesFinancingTransactionDetails38 value) {
this.sctiesFincgDtls = value;
return this;
}
/**
* Gets the value of the sttlmParams property.
*
* @return
* possible object is
* {@link SettlementDetails141 }
*
*/
public SettlementDetails141 getSttlmParams() {
return sttlmParams;
}
/**
* Sets the value of the sttlmParams property.
*
* @param value
* allowed object is
* {@link SettlementDetails141 }
*
*/
public SecuritiesTradeDetails71 setSttlmParams(SettlementDetails141 value) {
this.sttlmParams = value;
return this;
}
/**
* Gets the value of the dlvrgSttlmPties property.
*
* @return
* possible object is
* {@link SettlementParties62 }
*
*/
public SettlementParties62 getDlvrgSttlmPties() {
return dlvrgSttlmPties;
}
/**
* Sets the value of the dlvrgSttlmPties property.
*
* @param value
* allowed object is
* {@link SettlementParties62 }
*
*/
public SecuritiesTradeDetails71 setDlvrgSttlmPties(SettlementParties62 value) {
this.dlvrgSttlmPties = value;
return this;
}
/**
* Gets the value of the rcvgSttlmPties property.
*
* @return
* possible object is
* {@link SettlementParties62 }
*
*/
public SettlementParties62 getRcvgSttlmPties() {
return rcvgSttlmPties;
}
/**
* Sets the value of the rcvgSttlmPties property.
*
* @param value
* allowed object is
* {@link SettlementParties62 }
*
*/
public SecuritiesTradeDetails71 setRcvgSttlmPties(SettlementParties62 value) {
this.rcvgSttlmPties = value;
return this;
}
/**
* Gets the value of the sttlmAmt property.
*
* @return
* possible object is
* {@link AmountAndDirection88 }
*
*/
public AmountAndDirection88 getSttlmAmt() {
return sttlmAmt;
}
/**
* Sets the value of the sttlmAmt property.
*
* @param value
* allowed object is
* {@link AmountAndDirection88 }
*
*/
public SecuritiesTradeDetails71 setSttlmAmt(AmountAndDirection88 value) {
this.sttlmAmt = value;
return this;
}
/**
* Gets the value of the othrAmts property.
*
* @return
* possible object is
* {@link OtherAmounts32 }
*
*/
public OtherAmounts32 getOthrAmts() {
return othrAmts;
}
/**
* Sets the value of the othrAmts property.
*
* @param value
* allowed object is
* {@link OtherAmounts32 }
*
*/
public SecuritiesTradeDetails71 setOthrAmts(OtherAmounts32 value) {
this.othrAmts = value;
return this;
}
/**
* Gets the value of the othrBizPties property.
*
* @return
* possible object is
* {@link OtherParties28 }
*
*/
public OtherParties28 getOthrBizPties() {
return othrBizPties;
}
/**
* Sets the value of the othrBizPties property.
*
* @param value
* allowed object is
* {@link OtherParties28 }
*
*/
public SecuritiesTradeDetails71 setOthrBizPties(OtherParties28 value) {
this.othrBizPties = 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 tradId list.
* @see #getTradId()
*
*/
public SecuritiesTradeDetails71 addTradId(String tradId) {
getTradId().add(tradId);
return this;
}
/**
* Adds a new item to the collTxId list.
* @see #getCollTxId()
*
*/
public SecuritiesTradeDetails71 addCollTxId(String collTxId) {
getCollTxId().add(collTxId);
return this;
}
/**
* Adds a new item to the tradTxCond list.
* @see #getTradTxCond()
*
*/
public SecuritiesTradeDetails71 addTradTxCond(TradeTransactionCondition5Choice tradTxCond) {
getTradTxCond().add(tradTxCond);
return this;
}
/**
* Adds a new item to the splmtryData list.
* @see #getSplmtryData()
*
*/
public SecuritiesTradeDetails71 addSplmtryData(SupplementaryData1 splmtryData) {
getSplmtryData().add(splmtryData);
return this;
}
}