com.prowidesoftware.swift.model.mx.dic.SettlementDetails23 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 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;
/**
* Parameters which explicitly state the conditions that must be fulfilled before a particular transaction of a financial instrument can be settled. These parameters are defined by the instructing party in compliance with settlement rules in the market the transaction will settle in.
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "SettlementDetails23", propOrder = {
"hldInd",
"sttlmTxCond",
"sctiesTxTp",
"sttlgCpcty",
"stmpDtyTaxBsis",
"sctiesRTGS",
"regn",
"bnfclOwnrsh",
"xpsrTp",
"cshClrSys",
"taxCpcty",
"rpTp",
"mktClntSd",
"blckTrad",
"lglRstrctns",
"sttlmSysMtd",
"netgElgblty",
"ccpElgblty",
"lttrOfGrnt",
"prtlSttlmInd",
"elgblForColl"
})
public class SettlementDetails23 {
@XmlElement(name = "HldInd")
protected HoldIndicator2 hldInd;
@XmlElement(name = "SttlmTxCond")
protected List sttlmTxCond;
@XmlElement(name = "SctiesTxTp", required = true)
protected SecuritiesTransactionType1Choice sctiesTxTp;
@XmlElement(name = "SttlgCpcty")
protected SettlingCapacity1Choice sttlgCpcty;
@XmlElement(name = "StmpDtyTaxBsis")
protected GenericIdentification20 stmpDtyTaxBsis;
@XmlElement(name = "SctiesRTGS")
protected SecuritiesRTGS1Choice sctiesRTGS;
@XmlElement(name = "Regn")
protected Registration1Choice regn;
@XmlElement(name = "BnfclOwnrsh")
protected BeneficialOwnership1Choice bnfclOwnrsh;
@XmlElement(name = "XpsrTp")
protected ExposureType4Choice xpsrTp;
@XmlElement(name = "CshClrSys")
protected CashSettlementSystem1Choice cshClrSys;
@XmlElement(name = "TaxCpcty")
protected TaxCapacityParty1Choice taxCpcty;
@XmlElement(name = "RpTp")
protected RepurchaseType3Choice rpTp;
@XmlElement(name = "MktClntSd")
protected MarketClientSide1Choice mktClntSd;
@XmlElement(name = "BlckTrad")
protected BlockTrade1Choice blckTrad;
@XmlElement(name = "LglRstrctns")
protected Restriction1Choice lglRstrctns;
@XmlElement(name = "SttlmSysMtd")
protected SettlementSystemMethod1Choice sttlmSysMtd;
@XmlElement(name = "NetgElgblty")
protected NettingEligibility1Choice netgElgblty;
@XmlElement(name = "CCPElgblty")
protected CentralCounterPartyEligibility1Choice ccpElgblty;
@XmlElement(name = "LttrOfGrnt")
protected LetterOfGuarantee1Choice lttrOfGrnt;
@XmlElement(name = "PrtlSttlmInd")
@XmlSchemaType(name = "string")
protected SettlementTransactionCondition5Code prtlSttlmInd;
@XmlElement(name = "ElgblForColl")
protected Boolean elgblForColl;
/**
* Gets the value of the hldInd property.
*
* @return
* possible object is
* {@link HoldIndicator2 }
*
*/
public HoldIndicator2 getHldInd() {
return hldInd;
}
/**
* Sets the value of the hldInd property.
*
* @param value
* allowed object is
* {@link HoldIndicator2 }
*
*/
public SettlementDetails23 setHldInd(HoldIndicator2 value) {
this.hldInd = value;
return this;
}
/**
* Gets the value of the sttlmTxCond 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 sttlmTxCond property.
*
*
* For example, to add a new item, do as follows:
*
* getSttlmTxCond().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link SettlementTransactionCondition6Choice }
*
*
* @return
* The value of the sttlmTxCond property.
*/
public List getSttlmTxCond() {
if (sttlmTxCond == null) {
sttlmTxCond = new ArrayList<>();
}
return this.sttlmTxCond;
}
/**
* Gets the value of the sctiesTxTp property.
*
* @return
* possible object is
* {@link SecuritiesTransactionType1Choice }
*
*/
public SecuritiesTransactionType1Choice getSctiesTxTp() {
return sctiesTxTp;
}
/**
* Sets the value of the sctiesTxTp property.
*
* @param value
* allowed object is
* {@link SecuritiesTransactionType1Choice }
*
*/
public SettlementDetails23 setSctiesTxTp(SecuritiesTransactionType1Choice value) {
this.sctiesTxTp = value;
return this;
}
/**
* Gets the value of the sttlgCpcty property.
*
* @return
* possible object is
* {@link SettlingCapacity1Choice }
*
*/
public SettlingCapacity1Choice getSttlgCpcty() {
return sttlgCpcty;
}
/**
* Sets the value of the sttlgCpcty property.
*
* @param value
* allowed object is
* {@link SettlingCapacity1Choice }
*
*/
public SettlementDetails23 setSttlgCpcty(SettlingCapacity1Choice value) {
this.sttlgCpcty = value;
return this;
}
/**
* Gets the value of the stmpDtyTaxBsis property.
*
* @return
* possible object is
* {@link GenericIdentification20 }
*
*/
public GenericIdentification20 getStmpDtyTaxBsis() {
return stmpDtyTaxBsis;
}
/**
* Sets the value of the stmpDtyTaxBsis property.
*
* @param value
* allowed object is
* {@link GenericIdentification20 }
*
*/
public SettlementDetails23 setStmpDtyTaxBsis(GenericIdentification20 value) {
this.stmpDtyTaxBsis = value;
return this;
}
/**
* Gets the value of the sctiesRTGS property.
*
* @return
* possible object is
* {@link SecuritiesRTGS1Choice }
*
*/
public SecuritiesRTGS1Choice getSctiesRTGS() {
return sctiesRTGS;
}
/**
* Sets the value of the sctiesRTGS property.
*
* @param value
* allowed object is
* {@link SecuritiesRTGS1Choice }
*
*/
public SettlementDetails23 setSctiesRTGS(SecuritiesRTGS1Choice value) {
this.sctiesRTGS = value;
return this;
}
/**
* Gets the value of the regn property.
*
* @return
* possible object is
* {@link Registration1Choice }
*
*/
public Registration1Choice getRegn() {
return regn;
}
/**
* Sets the value of the regn property.
*
* @param value
* allowed object is
* {@link Registration1Choice }
*
*/
public SettlementDetails23 setRegn(Registration1Choice value) {
this.regn = value;
return this;
}
/**
* Gets the value of the bnfclOwnrsh property.
*
* @return
* possible object is
* {@link BeneficialOwnership1Choice }
*
*/
public BeneficialOwnership1Choice getBnfclOwnrsh() {
return bnfclOwnrsh;
}
/**
* Sets the value of the bnfclOwnrsh property.
*
* @param value
* allowed object is
* {@link BeneficialOwnership1Choice }
*
*/
public SettlementDetails23 setBnfclOwnrsh(BeneficialOwnership1Choice value) {
this.bnfclOwnrsh = value;
return this;
}
/**
* Gets the value of the xpsrTp property.
*
* @return
* possible object is
* {@link ExposureType4Choice }
*
*/
public ExposureType4Choice getXpsrTp() {
return xpsrTp;
}
/**
* Sets the value of the xpsrTp property.
*
* @param value
* allowed object is
* {@link ExposureType4Choice }
*
*/
public SettlementDetails23 setXpsrTp(ExposureType4Choice value) {
this.xpsrTp = value;
return this;
}
/**
* Gets the value of the cshClrSys property.
*
* @return
* possible object is
* {@link CashSettlementSystem1Choice }
*
*/
public CashSettlementSystem1Choice getCshClrSys() {
return cshClrSys;
}
/**
* Sets the value of the cshClrSys property.
*
* @param value
* allowed object is
* {@link CashSettlementSystem1Choice }
*
*/
public SettlementDetails23 setCshClrSys(CashSettlementSystem1Choice value) {
this.cshClrSys = value;
return this;
}
/**
* Gets the value of the taxCpcty property.
*
* @return
* possible object is
* {@link TaxCapacityParty1Choice }
*
*/
public TaxCapacityParty1Choice getTaxCpcty() {
return taxCpcty;
}
/**
* Sets the value of the taxCpcty property.
*
* @param value
* allowed object is
* {@link TaxCapacityParty1Choice }
*
*/
public SettlementDetails23 setTaxCpcty(TaxCapacityParty1Choice value) {
this.taxCpcty = value;
return this;
}
/**
* Gets the value of the rpTp property.
*
* @return
* possible object is
* {@link RepurchaseType3Choice }
*
*/
public RepurchaseType3Choice getRpTp() {
return rpTp;
}
/**
* Sets the value of the rpTp property.
*
* @param value
* allowed object is
* {@link RepurchaseType3Choice }
*
*/
public SettlementDetails23 setRpTp(RepurchaseType3Choice value) {
this.rpTp = value;
return this;
}
/**
* Gets the value of the mktClntSd property.
*
* @return
* possible object is
* {@link MarketClientSide1Choice }
*
*/
public MarketClientSide1Choice getMktClntSd() {
return mktClntSd;
}
/**
* Sets the value of the mktClntSd property.
*
* @param value
* allowed object is
* {@link MarketClientSide1Choice }
*
*/
public SettlementDetails23 setMktClntSd(MarketClientSide1Choice value) {
this.mktClntSd = value;
return this;
}
/**
* Gets the value of the blckTrad property.
*
* @return
* possible object is
* {@link BlockTrade1Choice }
*
*/
public BlockTrade1Choice getBlckTrad() {
return blckTrad;
}
/**
* Sets the value of the blckTrad property.
*
* @param value
* allowed object is
* {@link BlockTrade1Choice }
*
*/
public SettlementDetails23 setBlckTrad(BlockTrade1Choice value) {
this.blckTrad = value;
return this;
}
/**
* Gets the value of the lglRstrctns property.
*
* @return
* possible object is
* {@link Restriction1Choice }
*
*/
public Restriction1Choice getLglRstrctns() {
return lglRstrctns;
}
/**
* Sets the value of the lglRstrctns property.
*
* @param value
* allowed object is
* {@link Restriction1Choice }
*
*/
public SettlementDetails23 setLglRstrctns(Restriction1Choice value) {
this.lglRstrctns = value;
return this;
}
/**
* Gets the value of the sttlmSysMtd property.
*
* @return
* possible object is
* {@link SettlementSystemMethod1Choice }
*
*/
public SettlementSystemMethod1Choice getSttlmSysMtd() {
return sttlmSysMtd;
}
/**
* Sets the value of the sttlmSysMtd property.
*
* @param value
* allowed object is
* {@link SettlementSystemMethod1Choice }
*
*/
public SettlementDetails23 setSttlmSysMtd(SettlementSystemMethod1Choice value) {
this.sttlmSysMtd = value;
return this;
}
/**
* Gets the value of the netgElgblty property.
*
* @return
* possible object is
* {@link NettingEligibility1Choice }
*
*/
public NettingEligibility1Choice getNetgElgblty() {
return netgElgblty;
}
/**
* Sets the value of the netgElgblty property.
*
* @param value
* allowed object is
* {@link NettingEligibility1Choice }
*
*/
public SettlementDetails23 setNetgElgblty(NettingEligibility1Choice value) {
this.netgElgblty = value;
return this;
}
/**
* Gets the value of the ccpElgblty property.
*
* @return
* possible object is
* {@link CentralCounterPartyEligibility1Choice }
*
*/
public CentralCounterPartyEligibility1Choice getCCPElgblty() {
return ccpElgblty;
}
/**
* Sets the value of the ccpElgblty property.
*
* @param value
* allowed object is
* {@link CentralCounterPartyEligibility1Choice }
*
*/
public SettlementDetails23 setCCPElgblty(CentralCounterPartyEligibility1Choice value) {
this.ccpElgblty = value;
return this;
}
/**
* Gets the value of the lttrOfGrnt property.
*
* @return
* possible object is
* {@link LetterOfGuarantee1Choice }
*
*/
public LetterOfGuarantee1Choice getLttrOfGrnt() {
return lttrOfGrnt;
}
/**
* Sets the value of the lttrOfGrnt property.
*
* @param value
* allowed object is
* {@link LetterOfGuarantee1Choice }
*
*/
public SettlementDetails23 setLttrOfGrnt(LetterOfGuarantee1Choice value) {
this.lttrOfGrnt = value;
return this;
}
/**
* Gets the value of the prtlSttlmInd property.
*
* @return
* possible object is
* {@link SettlementTransactionCondition5Code }
*
*/
public SettlementTransactionCondition5Code getPrtlSttlmInd() {
return prtlSttlmInd;
}
/**
* Sets the value of the prtlSttlmInd property.
*
* @param value
* allowed object is
* {@link SettlementTransactionCondition5Code }
*
*/
public SettlementDetails23 setPrtlSttlmInd(SettlementTransactionCondition5Code value) {
this.prtlSttlmInd = value;
return this;
}
/**
* Gets the value of the elgblForColl property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean isElgblForColl() {
return elgblForColl;
}
/**
* Sets the value of the elgblForColl property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public SettlementDetails23 setElgblForColl(Boolean value) {
this.elgblForColl = 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 sttlmTxCond list.
* @see #getSttlmTxCond()
*
*/
public SettlementDetails23 addSttlmTxCond(SettlementTransactionCondition6Choice sttlmTxCond) {
getSttlmTxCond().add(sttlmTxCond);
return this;
}
}