com.prowidesoftware.swift.model.mx.dic.TradeLeg9 Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pw-iso20022 Show documentation
Show all versions of pw-iso20022 Show documentation
Prowide Library for ISO 20022 messages
The newest version!
package com.prowidesoftware.swift.model.mx.dic;
import java.time.OffsetDateTime;
import com.prowidesoftware.swift.model.mx.adapters.IsoDateTimeAdapter;
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 jakarta.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
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;
/**
* Provides the trade leg details.
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "TradeLeg9", propOrder = {
"mrgnAcct",
"dlvryAcct",
"tradLegId",
"tradId",
"tradExctnId",
"ordrId",
"allcnId",
"nonClrMmb",
"tradDt",
"txDtAndTm",
"sttlmDt",
"finInstrmId",
"tradgCcy",
"buySellInd",
"tradQty",
"dealPric",
"acrdIntrstAmt",
"plcOfTrad",
"plcOfListg",
"tradTp",
"derivRltdTrad",
"brkr",
"tradgPty",
"tradRegnOrgn",
"tradgPtyAcct",
"tradgCpcty",
"tradPstngCd",
"sfkpgPlc",
"sfkpgAcct",
"sttlmDtls",
"clrDtls",
"grssAmt"
})
public class TradeLeg9 {
@XmlElement(name = "MrgnAcct")
protected SecuritiesAccount19 mrgnAcct;
@XmlElement(name = "DlvryAcct")
protected SecuritiesAccount19 dlvryAcct;
@XmlElement(name = "TradLegId", required = true)
protected String tradLegId;
@XmlElement(name = "TradId")
protected String tradId;
@XmlElement(name = "TradExctnId", required = true)
protected String tradExctnId;
@XmlElement(name = "OrdrId")
protected String ordrId;
@XmlElement(name = "AllcnId")
protected String allcnId;
@XmlElement(name = "NonClrMmb")
protected PartyIdentificationAndAccount31 nonClrMmb;
@XmlElement(name = "TradDt", required = true, type = String.class)
@XmlJavaTypeAdapter(IsoDateTimeAdapter.class)
@XmlSchemaType(name = "dateTime")
protected OffsetDateTime tradDt;
@XmlElement(name = "TxDtAndTm", type = String.class)
@XmlJavaTypeAdapter(IsoDateTimeAdapter.class)
@XmlSchemaType(name = "dateTime")
protected OffsetDateTime txDtAndTm;
@XmlElement(name = "SttlmDt")
protected DateFormat15Choice sttlmDt;
@XmlElement(name = "FinInstrmId", required = true)
protected SecurityIdentification14 finInstrmId;
@XmlElement(name = "TradgCcy")
protected String tradgCcy;
@XmlElement(name = "BuySellInd", required = true)
@XmlSchemaType(name = "string")
protected Side1Code buySellInd;
@XmlElement(name = "TradQty", required = true)
protected FinancialInstrumentQuantity1Choice tradQty;
@XmlElement(name = "DealPric", required = true)
protected Price4 dealPric;
@XmlElement(name = "AcrdIntrstAmt")
protected AmountAndDirection21 acrdIntrstAmt;
@XmlElement(name = "PlcOfTrad", required = true)
protected MarketIdentification84 plcOfTrad;
@XmlElement(name = "PlcOfListg")
protected MarketIdentification85 plcOfListg;
@XmlElement(name = "TradTp", required = true)
@XmlSchemaType(name = "string")
protected TradeType1Code tradTp;
@XmlElement(name = "DerivRltdTrad")
protected Boolean derivRltdTrad;
@XmlElement(name = "Brkr")
protected PartyIdentificationAndAccount100 brkr;
@XmlElement(name = "TradgPty", required = true)
protected PartyIdentification35Choice tradgPty;
@XmlElement(name = "TradRegnOrgn")
protected String tradRegnOrgn;
@XmlElement(name = "TradgPtyAcct")
protected SecuritiesAccount19 tradgPtyAcct;
@XmlElement(name = "TradgCpcty", required = true)
@XmlSchemaType(name = "string")
protected TradingCapacity5Code tradgCpcty;
@XmlElement(name = "TradPstngCd")
@XmlSchemaType(name = "string")
protected TradePosting1Code tradPstngCd;
@XmlElement(name = "SfkpgPlc")
protected SafekeepingPlaceFormat7Choice sfkpgPlc;
@XmlElement(name = "SfkpgAcct")
protected SecuritiesAccount19 sfkpgAcct;
@XmlElement(name = "SttlmDtls")
protected Settlement1 sttlmDtls;
@XmlElement(name = "ClrDtls")
protected Clearing4 clrDtls;
@XmlElement(name = "GrssAmt")
protected AmountAndDirection21 grssAmt;
/**
* Gets the value of the mrgnAcct property.
*
* @return
* possible object is
* {@link SecuritiesAccount19 }
*
*/
public SecuritiesAccount19 getMrgnAcct() {
return mrgnAcct;
}
/**
* Sets the value of the mrgnAcct property.
*
* @param value
* allowed object is
* {@link SecuritiesAccount19 }
*
*/
public TradeLeg9 setMrgnAcct(SecuritiesAccount19 value) {
this.mrgnAcct = value;
return this;
}
/**
* Gets the value of the dlvryAcct property.
*
* @return
* possible object is
* {@link SecuritiesAccount19 }
*
*/
public SecuritiesAccount19 getDlvryAcct() {
return dlvryAcct;
}
/**
* Sets the value of the dlvryAcct property.
*
* @param value
* allowed object is
* {@link SecuritiesAccount19 }
*
*/
public TradeLeg9 setDlvryAcct(SecuritiesAccount19 value) {
this.dlvryAcct = value;
return this;
}
/**
* Gets the value of the tradLegId property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getTradLegId() {
return tradLegId;
}
/**
* Sets the value of the tradLegId property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public TradeLeg9 setTradLegId(String value) {
this.tradLegId = value;
return this;
}
/**
* Gets the value of the tradId property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getTradId() {
return tradId;
}
/**
* Sets the value of the tradId property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public TradeLeg9 setTradId(String value) {
this.tradId = value;
return this;
}
/**
* Gets the value of the tradExctnId property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getTradExctnId() {
return tradExctnId;
}
/**
* Sets the value of the tradExctnId property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public TradeLeg9 setTradExctnId(String value) {
this.tradExctnId = value;
return this;
}
/**
* Gets the value of the ordrId property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getOrdrId() {
return ordrId;
}
/**
* Sets the value of the ordrId property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public TradeLeg9 setOrdrId(String value) {
this.ordrId = value;
return this;
}
/**
* Gets the value of the allcnId property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getAllcnId() {
return allcnId;
}
/**
* Sets the value of the allcnId property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public TradeLeg9 setAllcnId(String value) {
this.allcnId = value;
return this;
}
/**
* Gets the value of the nonClrMmb property.
*
* @return
* possible object is
* {@link PartyIdentificationAndAccount31 }
*
*/
public PartyIdentificationAndAccount31 getNonClrMmb() {
return nonClrMmb;
}
/**
* Sets the value of the nonClrMmb property.
*
* @param value
* allowed object is
* {@link PartyIdentificationAndAccount31 }
*
*/
public TradeLeg9 setNonClrMmb(PartyIdentificationAndAccount31 value) {
this.nonClrMmb = value;
return this;
}
/**
* Gets the value of the tradDt property.
*
* @return
* possible object is
* {@link String }
*
*/
public OffsetDateTime getTradDt() {
return tradDt;
}
/**
* Sets the value of the tradDt property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public TradeLeg9 setTradDt(OffsetDateTime value) {
this.tradDt = value;
return this;
}
/**
* Gets the value of the txDtAndTm property.
*
* @return
* possible object is
* {@link String }
*
*/
public OffsetDateTime getTxDtAndTm() {
return txDtAndTm;
}
/**
* Sets the value of the txDtAndTm property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public TradeLeg9 setTxDtAndTm(OffsetDateTime value) {
this.txDtAndTm = value;
return this;
}
/**
* Gets the value of the sttlmDt property.
*
* @return
* possible object is
* {@link DateFormat15Choice }
*
*/
public DateFormat15Choice getSttlmDt() {
return sttlmDt;
}
/**
* Sets the value of the sttlmDt property.
*
* @param value
* allowed object is
* {@link DateFormat15Choice }
*
*/
public TradeLeg9 setSttlmDt(DateFormat15Choice value) {
this.sttlmDt = 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 TradeLeg9 setFinInstrmId(SecurityIdentification14 value) {
this.finInstrmId = value;
return this;
}
/**
* Gets the value of the tradgCcy property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getTradgCcy() {
return tradgCcy;
}
/**
* Sets the value of the tradgCcy property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public TradeLeg9 setTradgCcy(String value) {
this.tradgCcy = value;
return this;
}
/**
* Gets the value of the buySellInd property.
*
* @return
* possible object is
* {@link Side1Code }
*
*/
public Side1Code getBuySellInd() {
return buySellInd;
}
/**
* Sets the value of the buySellInd property.
*
* @param value
* allowed object is
* {@link Side1Code }
*
*/
public TradeLeg9 setBuySellInd(Side1Code value) {
this.buySellInd = value;
return this;
}
/**
* Gets the value of the tradQty property.
*
* @return
* possible object is
* {@link FinancialInstrumentQuantity1Choice }
*
*/
public FinancialInstrumentQuantity1Choice getTradQty() {
return tradQty;
}
/**
* Sets the value of the tradQty property.
*
* @param value
* allowed object is
* {@link FinancialInstrumentQuantity1Choice }
*
*/
public TradeLeg9 setTradQty(FinancialInstrumentQuantity1Choice value) {
this.tradQty = value;
return this;
}
/**
* Gets the value of the dealPric property.
*
* @return
* possible object is
* {@link Price4 }
*
*/
public Price4 getDealPric() {
return dealPric;
}
/**
* Sets the value of the dealPric property.
*
* @param value
* allowed object is
* {@link Price4 }
*
*/
public TradeLeg9 setDealPric(Price4 value) {
this.dealPric = value;
return this;
}
/**
* Gets the value of the acrdIntrstAmt property.
*
* @return
* possible object is
* {@link AmountAndDirection21 }
*
*/
public AmountAndDirection21 getAcrdIntrstAmt() {
return acrdIntrstAmt;
}
/**
* Sets the value of the acrdIntrstAmt property.
*
* @param value
* allowed object is
* {@link AmountAndDirection21 }
*
*/
public TradeLeg9 setAcrdIntrstAmt(AmountAndDirection21 value) {
this.acrdIntrstAmt = value;
return this;
}
/**
* Gets the value of the plcOfTrad property.
*
* @return
* possible object is
* {@link MarketIdentification84 }
*
*/
public MarketIdentification84 getPlcOfTrad() {
return plcOfTrad;
}
/**
* Sets the value of the plcOfTrad property.
*
* @param value
* allowed object is
* {@link MarketIdentification84 }
*
*/
public TradeLeg9 setPlcOfTrad(MarketIdentification84 value) {
this.plcOfTrad = value;
return this;
}
/**
* Gets the value of the plcOfListg property.
*
* @return
* possible object is
* {@link MarketIdentification85 }
*
*/
public MarketIdentification85 getPlcOfListg() {
return plcOfListg;
}
/**
* Sets the value of the plcOfListg property.
*
* @param value
* allowed object is
* {@link MarketIdentification85 }
*
*/
public TradeLeg9 setPlcOfListg(MarketIdentification85 value) {
this.plcOfListg = value;
return this;
}
/**
* Gets the value of the tradTp property.
*
* @return
* possible object is
* {@link TradeType1Code }
*
*/
public TradeType1Code getTradTp() {
return tradTp;
}
/**
* Sets the value of the tradTp property.
*
* @param value
* allowed object is
* {@link TradeType1Code }
*
*/
public TradeLeg9 setTradTp(TradeType1Code value) {
this.tradTp = value;
return this;
}
/**
* Gets the value of the derivRltdTrad property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean isDerivRltdTrad() {
return derivRltdTrad;
}
/**
* Sets the value of the derivRltdTrad property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public TradeLeg9 setDerivRltdTrad(Boolean value) {
this.derivRltdTrad = value;
return this;
}
/**
* Gets the value of the brkr property.
*
* @return
* possible object is
* {@link PartyIdentificationAndAccount100 }
*
*/
public PartyIdentificationAndAccount100 getBrkr() {
return brkr;
}
/**
* Sets the value of the brkr property.
*
* @param value
* allowed object is
* {@link PartyIdentificationAndAccount100 }
*
*/
public TradeLeg9 setBrkr(PartyIdentificationAndAccount100 value) {
this.brkr = value;
return this;
}
/**
* Gets the value of the tradgPty property.
*
* @return
* possible object is
* {@link PartyIdentification35Choice }
*
*/
public PartyIdentification35Choice getTradgPty() {
return tradgPty;
}
/**
* Sets the value of the tradgPty property.
*
* @param value
* allowed object is
* {@link PartyIdentification35Choice }
*
*/
public TradeLeg9 setTradgPty(PartyIdentification35Choice value) {
this.tradgPty = value;
return this;
}
/**
* Gets the value of the tradRegnOrgn property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getTradRegnOrgn() {
return tradRegnOrgn;
}
/**
* Sets the value of the tradRegnOrgn property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public TradeLeg9 setTradRegnOrgn(String value) {
this.tradRegnOrgn = value;
return this;
}
/**
* Gets the value of the tradgPtyAcct property.
*
* @return
* possible object is
* {@link SecuritiesAccount19 }
*
*/
public SecuritiesAccount19 getTradgPtyAcct() {
return tradgPtyAcct;
}
/**
* Sets the value of the tradgPtyAcct property.
*
* @param value
* allowed object is
* {@link SecuritiesAccount19 }
*
*/
public TradeLeg9 setTradgPtyAcct(SecuritiesAccount19 value) {
this.tradgPtyAcct = value;
return this;
}
/**
* Gets the value of the tradgCpcty property.
*
* @return
* possible object is
* {@link TradingCapacity5Code }
*
*/
public TradingCapacity5Code getTradgCpcty() {
return tradgCpcty;
}
/**
* Sets the value of the tradgCpcty property.
*
* @param value
* allowed object is
* {@link TradingCapacity5Code }
*
*/
public TradeLeg9 setTradgCpcty(TradingCapacity5Code value) {
this.tradgCpcty = value;
return this;
}
/**
* Gets the value of the tradPstngCd property.
*
* @return
* possible object is
* {@link TradePosting1Code }
*
*/
public TradePosting1Code getTradPstngCd() {
return tradPstngCd;
}
/**
* Sets the value of the tradPstngCd property.
*
* @param value
* allowed object is
* {@link TradePosting1Code }
*
*/
public TradeLeg9 setTradPstngCd(TradePosting1Code value) {
this.tradPstngCd = value;
return this;
}
/**
* Gets the value of the sfkpgPlc property.
*
* @return
* possible object is
* {@link SafekeepingPlaceFormat7Choice }
*
*/
public SafekeepingPlaceFormat7Choice getSfkpgPlc() {
return sfkpgPlc;
}
/**
* Sets the value of the sfkpgPlc property.
*
* @param value
* allowed object is
* {@link SafekeepingPlaceFormat7Choice }
*
*/
public TradeLeg9 setSfkpgPlc(SafekeepingPlaceFormat7Choice value) {
this.sfkpgPlc = value;
return this;
}
/**
* Gets the value of the sfkpgAcct property.
*
* @return
* possible object is
* {@link SecuritiesAccount19 }
*
*/
public SecuritiesAccount19 getSfkpgAcct() {
return sfkpgAcct;
}
/**
* Sets the value of the sfkpgAcct property.
*
* @param value
* allowed object is
* {@link SecuritiesAccount19 }
*
*/
public TradeLeg9 setSfkpgAcct(SecuritiesAccount19 value) {
this.sfkpgAcct = value;
return this;
}
/**
* Gets the value of the sttlmDtls property.
*
* @return
* possible object is
* {@link Settlement1 }
*
*/
public Settlement1 getSttlmDtls() {
return sttlmDtls;
}
/**
* Sets the value of the sttlmDtls property.
*
* @param value
* allowed object is
* {@link Settlement1 }
*
*/
public TradeLeg9 setSttlmDtls(Settlement1 value) {
this.sttlmDtls = value;
return this;
}
/**
* Gets the value of the clrDtls property.
*
* @return
* possible object is
* {@link Clearing4 }
*
*/
public Clearing4 getClrDtls() {
return clrDtls;
}
/**
* Sets the value of the clrDtls property.
*
* @param value
* allowed object is
* {@link Clearing4 }
*
*/
public TradeLeg9 setClrDtls(Clearing4 value) {
this.clrDtls = value;
return this;
}
/**
* Gets the value of the grssAmt property.
*
* @return
* possible object is
* {@link AmountAndDirection21 }
*
*/
public AmountAndDirection21 getGrssAmt() {
return grssAmt;
}
/**
* Sets the value of the grssAmt property.
*
* @param value
* allowed object is
* {@link AmountAndDirection21 }
*
*/
public TradeLeg9 setGrssAmt(AmountAndDirection21 value) {
this.grssAmt = value;
return this;
}
@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);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy