com.prowidesoftware.swift.model.mx.dic.SettlementDetails160 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;
/**
* Details of settlement of a transaction.
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "SettlementDetails160", propOrder = {
"hldInd",
"sttlmTxCond",
"sctiesTxTp",
"sttlgCpcty",
"stmpDtyTaxBsis",
"sctiesRTGS",
"regn",
"bnfclOwnrsh",
"xpsrTp",
"cshClrSys",
"taxCpcty",
"rpTp",
"mktClntSd",
"blckTrad",
"lglRstrctns",
"sttlmSysMtd",
"netgElgblty",
"ccpElgblty",
"lttrOfGrnt",
"prtlSttlmInd",
"elgblForColl"
})
public class SettlementDetails160 {
@XmlElement(name = "HldInd")
protected HoldIndicator7 hldInd;
@XmlElement(name = "SttlmTxCond")
protected List sttlmTxCond;
@XmlElement(name = "SctiesTxTp", required = true)
protected SecuritiesTransactionType42Choice sctiesTxTp;
@XmlElement(name = "SttlgCpcty")
protected SettlingCapacity8Choice sttlgCpcty;
@XmlElement(name = "StmpDtyTaxBsis")
protected GenericIdentification47 stmpDtyTaxBsis;
@XmlElement(name = "SctiesRTGS")
protected SecuritiesRTGS5Choice sctiesRTGS;
@XmlElement(name = "Regn")
protected Registration11Choice regn;
@XmlElement(name = "BnfclOwnrsh")
protected BeneficialOwnership5Choice bnfclOwnrsh;
@XmlElement(name = "XpsrTp")
protected ExposureType17Choice xpsrTp;
@XmlElement(name = "CshClrSys")
protected CashSettlementSystem5Choice cshClrSys;
@XmlElement(name = "TaxCpcty")
protected TaxCapacityParty5Choice taxCpcty;
@XmlElement(name = "RpTp")
protected RepurchaseType24Choice rpTp;
@XmlElement(name = "MktClntSd")
protected MarketClientSide7Choice mktClntSd;
@XmlElement(name = "BlckTrad")
protected BlockTrade5Choice blckTrad;
@XmlElement(name = "LglRstrctns")
protected Restriction6Choice lglRstrctns;
@XmlElement(name = "SttlmSysMtd")
protected SettlementSystemMethod5Choice sttlmSysMtd;
@XmlElement(name = "NetgElgblty")
protected NettingEligibility5Choice netgElgblty;
@XmlElement(name = "CCPElgblty")
protected CentralCounterPartyEligibility5Choice ccpElgblty;
@XmlElement(name = "LttrOfGrnt")
protected LetterOfGuarantee5Choice 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 HoldIndicator7 }
*
*/
public HoldIndicator7 getHldInd() {
return hldInd;
}
/**
* Sets the value of the hldInd property.
*
* @param value
* allowed object is
* {@link HoldIndicator7 }
*
*/
public SettlementDetails160 setHldInd(HoldIndicator7 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 SettlementTransactionCondition28Choice }
*
*
* @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 SecuritiesTransactionType42Choice }
*
*/
public SecuritiesTransactionType42Choice getSctiesTxTp() {
return sctiesTxTp;
}
/**
* Sets the value of the sctiesTxTp property.
*
* @param value
* allowed object is
* {@link SecuritiesTransactionType42Choice }
*
*/
public SettlementDetails160 setSctiesTxTp(SecuritiesTransactionType42Choice value) {
this.sctiesTxTp = value;
return this;
}
/**
* Gets the value of the sttlgCpcty property.
*
* @return
* possible object is
* {@link SettlingCapacity8Choice }
*
*/
public SettlingCapacity8Choice getSttlgCpcty() {
return sttlgCpcty;
}
/**
* Sets the value of the sttlgCpcty property.
*
* @param value
* allowed object is
* {@link SettlingCapacity8Choice }
*
*/
public SettlementDetails160 setSttlgCpcty(SettlingCapacity8Choice value) {
this.sttlgCpcty = value;
return this;
}
/**
* Gets the value of the stmpDtyTaxBsis property.
*
* @return
* possible object is
* {@link GenericIdentification47 }
*
*/
public GenericIdentification47 getStmpDtyTaxBsis() {
return stmpDtyTaxBsis;
}
/**
* Sets the value of the stmpDtyTaxBsis property.
*
* @param value
* allowed object is
* {@link GenericIdentification47 }
*
*/
public SettlementDetails160 setStmpDtyTaxBsis(GenericIdentification47 value) {
this.stmpDtyTaxBsis = value;
return this;
}
/**
* Gets the value of the sctiesRTGS property.
*
* @return
* possible object is
* {@link SecuritiesRTGS5Choice }
*
*/
public SecuritiesRTGS5Choice getSctiesRTGS() {
return sctiesRTGS;
}
/**
* Sets the value of the sctiesRTGS property.
*
* @param value
* allowed object is
* {@link SecuritiesRTGS5Choice }
*
*/
public SettlementDetails160 setSctiesRTGS(SecuritiesRTGS5Choice value) {
this.sctiesRTGS = value;
return this;
}
/**
* Gets the value of the regn property.
*
* @return
* possible object is
* {@link Registration11Choice }
*
*/
public Registration11Choice getRegn() {
return regn;
}
/**
* Sets the value of the regn property.
*
* @param value
* allowed object is
* {@link Registration11Choice }
*
*/
public SettlementDetails160 setRegn(Registration11Choice value) {
this.regn = value;
return this;
}
/**
* Gets the value of the bnfclOwnrsh property.
*
* @return
* possible object is
* {@link BeneficialOwnership5Choice }
*
*/
public BeneficialOwnership5Choice getBnfclOwnrsh() {
return bnfclOwnrsh;
}
/**
* Sets the value of the bnfclOwnrsh property.
*
* @param value
* allowed object is
* {@link BeneficialOwnership5Choice }
*
*/
public SettlementDetails160 setBnfclOwnrsh(BeneficialOwnership5Choice value) {
this.bnfclOwnrsh = value;
return this;
}
/**
* Gets the value of the xpsrTp property.
*
* @return
* possible object is
* {@link ExposureType17Choice }
*
*/
public ExposureType17Choice getXpsrTp() {
return xpsrTp;
}
/**
* Sets the value of the xpsrTp property.
*
* @param value
* allowed object is
* {@link ExposureType17Choice }
*
*/
public SettlementDetails160 setXpsrTp(ExposureType17Choice value) {
this.xpsrTp = value;
return this;
}
/**
* Gets the value of the cshClrSys property.
*
* @return
* possible object is
* {@link CashSettlementSystem5Choice }
*
*/
public CashSettlementSystem5Choice getCshClrSys() {
return cshClrSys;
}
/**
* Sets the value of the cshClrSys property.
*
* @param value
* allowed object is
* {@link CashSettlementSystem5Choice }
*
*/
public SettlementDetails160 setCshClrSys(CashSettlementSystem5Choice value) {
this.cshClrSys = value;
return this;
}
/**
* Gets the value of the taxCpcty property.
*
* @return
* possible object is
* {@link TaxCapacityParty5Choice }
*
*/
public TaxCapacityParty5Choice getTaxCpcty() {
return taxCpcty;
}
/**
* Sets the value of the taxCpcty property.
*
* @param value
* allowed object is
* {@link TaxCapacityParty5Choice }
*
*/
public SettlementDetails160 setTaxCpcty(TaxCapacityParty5Choice value) {
this.taxCpcty = value;
return this;
}
/**
* Gets the value of the rpTp property.
*
* @return
* possible object is
* {@link RepurchaseType24Choice }
*
*/
public RepurchaseType24Choice getRpTp() {
return rpTp;
}
/**
* Sets the value of the rpTp property.
*
* @param value
* allowed object is
* {@link RepurchaseType24Choice }
*
*/
public SettlementDetails160 setRpTp(RepurchaseType24Choice value) {
this.rpTp = value;
return this;
}
/**
* Gets the value of the mktClntSd property.
*
* @return
* possible object is
* {@link MarketClientSide7Choice }
*
*/
public MarketClientSide7Choice getMktClntSd() {
return mktClntSd;
}
/**
* Sets the value of the mktClntSd property.
*
* @param value
* allowed object is
* {@link MarketClientSide7Choice }
*
*/
public SettlementDetails160 setMktClntSd(MarketClientSide7Choice value) {
this.mktClntSd = value;
return this;
}
/**
* Gets the value of the blckTrad property.
*
* @return
* possible object is
* {@link BlockTrade5Choice }
*
*/
public BlockTrade5Choice getBlckTrad() {
return blckTrad;
}
/**
* Sets the value of the blckTrad property.
*
* @param value
* allowed object is
* {@link BlockTrade5Choice }
*
*/
public SettlementDetails160 setBlckTrad(BlockTrade5Choice value) {
this.blckTrad = value;
return this;
}
/**
* Gets the value of the lglRstrctns property.
*
* @return
* possible object is
* {@link Restriction6Choice }
*
*/
public Restriction6Choice getLglRstrctns() {
return lglRstrctns;
}
/**
* Sets the value of the lglRstrctns property.
*
* @param value
* allowed object is
* {@link Restriction6Choice }
*
*/
public SettlementDetails160 setLglRstrctns(Restriction6Choice value) {
this.lglRstrctns = value;
return this;
}
/**
* Gets the value of the sttlmSysMtd property.
*
* @return
* possible object is
* {@link SettlementSystemMethod5Choice }
*
*/
public SettlementSystemMethod5Choice getSttlmSysMtd() {
return sttlmSysMtd;
}
/**
* Sets the value of the sttlmSysMtd property.
*
* @param value
* allowed object is
* {@link SettlementSystemMethod5Choice }
*
*/
public SettlementDetails160 setSttlmSysMtd(SettlementSystemMethod5Choice value) {
this.sttlmSysMtd = value;
return this;
}
/**
* Gets the value of the netgElgblty property.
*
* @return
* possible object is
* {@link NettingEligibility5Choice }
*
*/
public NettingEligibility5Choice getNetgElgblty() {
return netgElgblty;
}
/**
* Sets the value of the netgElgblty property.
*
* @param value
* allowed object is
* {@link NettingEligibility5Choice }
*
*/
public SettlementDetails160 setNetgElgblty(NettingEligibility5Choice value) {
this.netgElgblty = value;
return this;
}
/**
* Gets the value of the ccpElgblty property.
*
* @return
* possible object is
* {@link CentralCounterPartyEligibility5Choice }
*
*/
public CentralCounterPartyEligibility5Choice getCCPElgblty() {
return ccpElgblty;
}
/**
* Sets the value of the ccpElgblty property.
*
* @param value
* allowed object is
* {@link CentralCounterPartyEligibility5Choice }
*
*/
public SettlementDetails160 setCCPElgblty(CentralCounterPartyEligibility5Choice value) {
this.ccpElgblty = value;
return this;
}
/**
* Gets the value of the lttrOfGrnt property.
*
* @return
* possible object is
* {@link LetterOfGuarantee5Choice }
*
*/
public LetterOfGuarantee5Choice getLttrOfGrnt() {
return lttrOfGrnt;
}
/**
* Sets the value of the lttrOfGrnt property.
*
* @param value
* allowed object is
* {@link LetterOfGuarantee5Choice }
*
*/
public SettlementDetails160 setLttrOfGrnt(LetterOfGuarantee5Choice 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 SettlementDetails160 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 SettlementDetails160 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 SettlementDetails160 addSttlmTxCond(SettlementTransactionCondition28Choice sttlmTxCond) {
getSttlmTxCond().add(sttlmTxCond);
return this;
}
}