com.prowidesoftware.swift.model.mx.dic.SecuritiesTradeDetails55 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.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 = "SecuritiesTradeDetails55", propOrder = {
"plcOfTrad",
"plcOfClr",
"tradDt",
"sttlmDt",
"fctvSttlmDt",
"dealPric",
"rptg",
"nbOfDaysAcrd",
"tradTxCond",
"invstrCpcty",
"tradOrgtrRole",
"sttlmInstrPrcgAddtlDtls",
"fxAddtlDtls"
})
public class SecuritiesTradeDetails55 {
@XmlElement(name = "PlcOfTrad")
protected PlaceOfTradeIdentification1 plcOfTrad;
@XmlElement(name = "PlcOfClr")
protected PlaceOfClearingIdentification1 plcOfClr;
@XmlElement(name = "TradDt")
protected TradeDate5Choice tradDt;
@XmlElement(name = "SttlmDt")
protected SettlementDate9Choice sttlmDt;
@XmlElement(name = "FctvSttlmDt", required = true)
protected SettlementDate11Choice fctvSttlmDt;
@XmlElement(name = "DealPric")
protected Price2 dealPric;
@XmlElement(name = "Rptg")
protected List rptg;
@XmlElement(name = "NbOfDaysAcrd")
protected BigDecimal nbOfDaysAcrd;
@XmlElement(name = "TradTxCond")
protected List tradTxCond;
@XmlElement(name = "InvstrCpcty")
protected InvestorCapacity4Choice invstrCpcty;
@XmlElement(name = "TradOrgtrRole")
protected TradeOriginator3Choice tradOrgtrRole;
@XmlElement(name = "SttlmInstrPrcgAddtlDtls")
protected String sttlmInstrPrcgAddtlDtls;
@XmlElement(name = "FxAddtlDtls")
protected String fxAddtlDtls;
/**
* 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 SecuritiesTradeDetails55 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 SecuritiesTradeDetails55 setPlcOfClr(PlaceOfClearingIdentification1 value) {
this.plcOfClr = value;
return this;
}
/**
* Gets the value of the tradDt property.
*
* @return
* possible object is
* {@link TradeDate5Choice }
*
*/
public TradeDate5Choice getTradDt() {
return tradDt;
}
/**
* Sets the value of the tradDt property.
*
* @param value
* allowed object is
* {@link TradeDate5Choice }
*
*/
public SecuritiesTradeDetails55 setTradDt(TradeDate5Choice value) {
this.tradDt = value;
return this;
}
/**
* Gets the value of the sttlmDt property.
*
* @return
* possible object is
* {@link SettlementDate9Choice }
*
*/
public SettlementDate9Choice getSttlmDt() {
return sttlmDt;
}
/**
* Sets the value of the sttlmDt property.
*
* @param value
* allowed object is
* {@link SettlementDate9Choice }
*
*/
public SecuritiesTradeDetails55 setSttlmDt(SettlementDate9Choice value) {
this.sttlmDt = value;
return this;
}
/**
* Gets the value of the fctvSttlmDt property.
*
* @return
* possible object is
* {@link SettlementDate11Choice }
*
*/
public SettlementDate11Choice getFctvSttlmDt() {
return fctvSttlmDt;
}
/**
* Sets the value of the fctvSttlmDt property.
*
* @param value
* allowed object is
* {@link SettlementDate11Choice }
*
*/
public SecuritiesTradeDetails55 setFctvSttlmDt(SettlementDate11Choice value) {
this.fctvSttlmDt = value;
return this;
}
/**
* Gets the value of the dealPric property.
*
* @return
* possible object is
* {@link Price2 }
*
*/
public Price2 getDealPric() {
return dealPric;
}
/**
* Sets the value of the dealPric property.
*
* @param value
* allowed object is
* {@link Price2 }
*
*/
public SecuritiesTradeDetails55 setDealPric(Price2 value) {
this.dealPric = value;
return this;
}
/**
* Gets the value of the rptg 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 rptg property.
*
*
* For example, to add a new item, do as follows:
*
* getRptg().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link Reporting6Choice }
*
*
* @return
* The value of the rptg property.
*/
public List getRptg() {
if (rptg == null) {
rptg = new ArrayList<>();
}
return this.rptg;
}
/**
* 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 SecuritiesTradeDetails55 setNbOfDaysAcrd(BigDecimal value) {
this.nbOfDaysAcrd = 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 invstrCpcty property.
*
* @return
* possible object is
* {@link InvestorCapacity4Choice }
*
*/
public InvestorCapacity4Choice getInvstrCpcty() {
return invstrCpcty;
}
/**
* Sets the value of the invstrCpcty property.
*
* @param value
* allowed object is
* {@link InvestorCapacity4Choice }
*
*/
public SecuritiesTradeDetails55 setInvstrCpcty(InvestorCapacity4Choice value) {
this.invstrCpcty = value;
return this;
}
/**
* Gets the value of the tradOrgtrRole property.
*
* @return
* possible object is
* {@link TradeOriginator3Choice }
*
*/
public TradeOriginator3Choice getTradOrgtrRole() {
return tradOrgtrRole;
}
/**
* Sets the value of the tradOrgtrRole property.
*
* @param value
* allowed object is
* {@link TradeOriginator3Choice }
*
*/
public SecuritiesTradeDetails55 setTradOrgtrRole(TradeOriginator3Choice value) {
this.tradOrgtrRole = value;
return this;
}
/**
* Gets the value of the sttlmInstrPrcgAddtlDtls property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getSttlmInstrPrcgAddtlDtls() {
return sttlmInstrPrcgAddtlDtls;
}
/**
* Sets the value of the sttlmInstrPrcgAddtlDtls property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public SecuritiesTradeDetails55 setSttlmInstrPrcgAddtlDtls(String value) {
this.sttlmInstrPrcgAddtlDtls = value;
return this;
}
/**
* Gets the value of the fxAddtlDtls property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getFxAddtlDtls() {
return fxAddtlDtls;
}
/**
* Sets the value of the fxAddtlDtls property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public SecuritiesTradeDetails55 setFxAddtlDtls(String value) {
this.fxAddtlDtls = 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);
}
/**
* Adds a new item to the rptg list.
* @see #getRptg()
*
*/
public SecuritiesTradeDetails55 addRptg(Reporting6Choice rptg) {
getRptg().add(rptg);
return this;
}
/**
* Adds a new item to the tradTxCond list.
* @see #getTradTxCond()
*
*/
public SecuritiesTradeDetails55 addTradTxCond(TradeTransactionCondition5Choice tradTxCond) {
getTradTxCond().add(tradTxCond);
return this;
}
}