com.prowidesoftware.swift.model.mx.dic.RequestForQuote Maven / Gradle / Ivy
package com.prowidesoftware.swift.model.mx.dic;
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 for which one wishes to receive a quote.
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "RequestForQuote", propOrder = {
"qtReqTp",
"qtTp",
"prvsClsgPric",
"finInstrmDtls",
"finInstrmAttrbts",
"stiptns",
"undrlygFinInstrmDtls",
"undrlygFinInstrmAttrbts",
"undrlygStiptns",
"instrmLegGrpDtls",
"tradgSsn",
"tradgPties",
"cshPties",
"rcvgSttlmPties",
"dlvrgSttlmPties",
"othrBizPties"
})
public class RequestForQuote {
@XmlElement(name = "QtReqTp")
@XmlSchemaType(name = "string")
protected QuoteRequestType1Code qtReqTp;
@XmlElement(name = "QtTp")
@XmlSchemaType(name = "string")
protected QuoteType1Code qtTp;
@XmlElement(name = "PrvsClsgPric")
protected Price1 prvsClsgPric;
@XmlElement(name = "FinInstrmDtls", required = true)
protected SecurityIdentification7 finInstrmDtls;
@XmlElement(name = "FinInstrmAttrbts")
protected List finInstrmAttrbts;
@XmlElement(name = "Stiptns")
protected FinancialInstrumentStipulations stiptns;
@XmlElement(name = "UndrlygFinInstrmDtls")
protected List undrlygFinInstrmDtls;
@XmlElement(name = "UndrlygFinInstrmAttrbts")
protected List undrlygFinInstrmAttrbts;
@XmlElement(name = "UndrlygStiptns")
protected List undrlygStiptns;
@XmlElement(name = "InstrmLegGrpDtls")
protected List instrmLegGrpDtls;
@XmlElement(name = "TradgSsn")
protected TradingSession1 tradgSsn;
@XmlElement(name = "TradgPties")
protected List tradgPties;
@XmlElement(name = "CshPties")
protected CashParties1 cshPties;
@XmlElement(name = "RcvgSttlmPties")
protected SettlementParties3 rcvgSttlmPties;
@XmlElement(name = "DlvrgSttlmPties")
protected SettlementParties3 dlvrgSttlmPties;
@XmlElement(name = "OthrBizPties")
protected OtherParties1 othrBizPties;
/**
* Gets the value of the qtReqTp property.
*
* @return
* possible object is
* {@link QuoteRequestType1Code }
*
*/
public QuoteRequestType1Code getQtReqTp() {
return qtReqTp;
}
/**
* Sets the value of the qtReqTp property.
*
* @param value
* allowed object is
* {@link QuoteRequestType1Code }
*
*/
public RequestForQuote setQtReqTp(QuoteRequestType1Code value) {
this.qtReqTp = value;
return this;
}
/**
* Gets the value of the qtTp property.
*
* @return
* possible object is
* {@link QuoteType1Code }
*
*/
public QuoteType1Code getQtTp() {
return qtTp;
}
/**
* Sets the value of the qtTp property.
*
* @param value
* allowed object is
* {@link QuoteType1Code }
*
*/
public RequestForQuote setQtTp(QuoteType1Code value) {
this.qtTp = value;
return this;
}
/**
* Gets the value of the prvsClsgPric property.
*
* @return
* possible object is
* {@link Price1 }
*
*/
public Price1 getPrvsClsgPric() {
return prvsClsgPric;
}
/**
* Sets the value of the prvsClsgPric property.
*
* @param value
* allowed object is
* {@link Price1 }
*
*/
public RequestForQuote setPrvsClsgPric(Price1 value) {
this.prvsClsgPric = value;
return this;
}
/**
* Gets the value of the finInstrmDtls property.
*
* @return
* possible object is
* {@link SecurityIdentification7 }
*
*/
public SecurityIdentification7 getFinInstrmDtls() {
return finInstrmDtls;
}
/**
* Sets the value of the finInstrmDtls property.
*
* @param value
* allowed object is
* {@link SecurityIdentification7 }
*
*/
public RequestForQuote setFinInstrmDtls(SecurityIdentification7 value) {
this.finInstrmDtls = value;
return this;
}
/**
* Gets the value of the finInstrmAttrbts 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 finInstrmAttrbts property.
*
*
* For example, to add a new item, do as follows:
*
* getFinInstrmAttrbts().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link FinancialInstrumentAttributes1 }
*
*
* @return
* The value of the finInstrmAttrbts property.
*/
public List getFinInstrmAttrbts() {
if (finInstrmAttrbts == null) {
finInstrmAttrbts = new ArrayList<>();
}
return this.finInstrmAttrbts;
}
/**
* Gets the value of the stiptns property.
*
* @return
* possible object is
* {@link FinancialInstrumentStipulations }
*
*/
public FinancialInstrumentStipulations getStiptns() {
return stiptns;
}
/**
* Sets the value of the stiptns property.
*
* @param value
* allowed object is
* {@link FinancialInstrumentStipulations }
*
*/
public RequestForQuote setStiptns(FinancialInstrumentStipulations value) {
this.stiptns = value;
return this;
}
/**
* Gets the value of the undrlygFinInstrmDtls 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 undrlygFinInstrmDtls property.
*
*
* For example, to add a new item, do as follows:
*
* getUndrlygFinInstrmDtls().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link SecurityIdentification7 }
*
*
* @return
* The value of the undrlygFinInstrmDtls property.
*/
public List getUndrlygFinInstrmDtls() {
if (undrlygFinInstrmDtls == null) {
undrlygFinInstrmDtls = new ArrayList<>();
}
return this.undrlygFinInstrmDtls;
}
/**
* Gets the value of the undrlygFinInstrmAttrbts 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 undrlygFinInstrmAttrbts property.
*
*
* For example, to add a new item, do as follows:
*
* getUndrlygFinInstrmAttrbts().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link FinancialInstrumentAttributes1 }
*
*
* @return
* The value of the undrlygFinInstrmAttrbts property.
*/
public List getUndrlygFinInstrmAttrbts() {
if (undrlygFinInstrmAttrbts == null) {
undrlygFinInstrmAttrbts = new ArrayList<>();
}
return this.undrlygFinInstrmAttrbts;
}
/**
* Gets the value of the undrlygStiptns 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 undrlygStiptns property.
*
*
* For example, to add a new item, do as follows:
*
* getUndrlygStiptns().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link FinancialInstrumentStipulations }
*
*
* @return
* The value of the undrlygStiptns property.
*/
public List getUndrlygStiptns() {
if (undrlygStiptns == null) {
undrlygStiptns = new ArrayList<>();
}
return this.undrlygStiptns;
}
/**
* Gets the value of the instrmLegGrpDtls 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 instrmLegGrpDtls property.
*
*
* For example, to add a new item, do as follows:
*
* getInstrmLegGrpDtls().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link InstrumentLeg2 }
*
*
* @return
* The value of the instrmLegGrpDtls property.
*/
public List getInstrmLegGrpDtls() {
if (instrmLegGrpDtls == null) {
instrmLegGrpDtls = new ArrayList<>();
}
return this.instrmLegGrpDtls;
}
/**
* Gets the value of the tradgSsn property.
*
* @return
* possible object is
* {@link TradingSession1 }
*
*/
public TradingSession1 getTradgSsn() {
return tradgSsn;
}
/**
* Sets the value of the tradgSsn property.
*
* @param value
* allowed object is
* {@link TradingSession1 }
*
*/
public RequestForQuote setTradgSsn(TradingSession1 value) {
this.tradgSsn = value;
return this;
}
/**
* Gets the value of the tradgPties 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 tradgPties property.
*
*
* For example, to add a new item, do as follows:
*
* getTradgPties().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link Intermediary14 }
*
*
* @return
* The value of the tradgPties property.
*/
public List getTradgPties() {
if (tradgPties == null) {
tradgPties = new ArrayList<>();
}
return this.tradgPties;
}
/**
* Gets the value of the cshPties property.
*
* @return
* possible object is
* {@link CashParties1 }
*
*/
public CashParties1 getCshPties() {
return cshPties;
}
/**
* Sets the value of the cshPties property.
*
* @param value
* allowed object is
* {@link CashParties1 }
*
*/
public RequestForQuote setCshPties(CashParties1 value) {
this.cshPties = value;
return this;
}
/**
* Gets the value of the rcvgSttlmPties property.
*
* @return
* possible object is
* {@link SettlementParties3 }
*
*/
public SettlementParties3 getRcvgSttlmPties() {
return rcvgSttlmPties;
}
/**
* Sets the value of the rcvgSttlmPties property.
*
* @param value
* allowed object is
* {@link SettlementParties3 }
*
*/
public RequestForQuote setRcvgSttlmPties(SettlementParties3 value) {
this.rcvgSttlmPties = value;
return this;
}
/**
* Gets the value of the dlvrgSttlmPties property.
*
* @return
* possible object is
* {@link SettlementParties3 }
*
*/
public SettlementParties3 getDlvrgSttlmPties() {
return dlvrgSttlmPties;
}
/**
* Sets the value of the dlvrgSttlmPties property.
*
* @param value
* allowed object is
* {@link SettlementParties3 }
*
*/
public RequestForQuote setDlvrgSttlmPties(SettlementParties3 value) {
this.dlvrgSttlmPties = value;
return this;
}
/**
* Gets the value of the othrBizPties property.
*
* @return
* possible object is
* {@link OtherParties1 }
*
*/
public OtherParties1 getOthrBizPties() {
return othrBizPties;
}
/**
* Sets the value of the othrBizPties property.
*
* @param value
* allowed object is
* {@link OtherParties1 }
*
*/
public RequestForQuote setOthrBizPties(OtherParties1 value) {
this.othrBizPties = 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 finInstrmAttrbts list.
* @see #getFinInstrmAttrbts()
*
*/
public RequestForQuote addFinInstrmAttrbts(FinancialInstrumentAttributes1 finInstrmAttrbts) {
getFinInstrmAttrbts().add(finInstrmAttrbts);
return this;
}
/**
* Adds a new item to the undrlygFinInstrmDtls list.
* @see #getUndrlygFinInstrmDtls()
*
*/
public RequestForQuote addUndrlygFinInstrmDtls(SecurityIdentification7 undrlygFinInstrmDtls) {
getUndrlygFinInstrmDtls().add(undrlygFinInstrmDtls);
return this;
}
/**
* Adds a new item to the undrlygFinInstrmAttrbts list.
* @see #getUndrlygFinInstrmAttrbts()
*
*/
public RequestForQuote addUndrlygFinInstrmAttrbts(FinancialInstrumentAttributes1 undrlygFinInstrmAttrbts) {
getUndrlygFinInstrmAttrbts().add(undrlygFinInstrmAttrbts);
return this;
}
/**
* Adds a new item to the undrlygStiptns list.
* @see #getUndrlygStiptns()
*
*/
public RequestForQuote addUndrlygStiptns(FinancialInstrumentStipulations undrlygStiptns) {
getUndrlygStiptns().add(undrlygStiptns);
return this;
}
/**
* Adds a new item to the instrmLegGrpDtls list.
* @see #getInstrmLegGrpDtls()
*
*/
public RequestForQuote addInstrmLegGrpDtls(InstrumentLeg2 instrmLegGrpDtls) {
getInstrmLegGrpDtls().add(instrmLegGrpDtls);
return this;
}
/**
* Adds a new item to the tradgPties list.
* @see #getTradgPties()
*
*/
public RequestForQuote addTradgPties(Intermediary14 tradgPties) {
getTradgPties().add(tradgPties);
return this;
}
}