com.prowidesoftware.swift.model.mx.dic.SettlementDetails25 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.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 = "SettlementDetails25", propOrder = {
"hldInd",
"sctiesTxTp",
"sttlmTxCond",
"prtlSttlmInd",
"bnfclOwnrsh",
"cshClrSys",
"mktClntSd",
"regn",
"rpTp",
"sctiesRTGS",
"stmpDtyTaxBsis"
})
public class SettlementDetails25 {
@XmlElement(name = "HldInd")
protected Boolean hldInd;
@XmlElement(name = "SctiesTxTp", required = true)
protected SecuritiesTransactionType7Choice sctiesTxTp;
@XmlElement(name = "SttlmTxCond")
protected List sttlmTxCond;
@XmlElement(name = "PrtlSttlmInd")
protected Boolean prtlSttlmInd;
@XmlElement(name = "BnfclOwnrsh")
protected BeneficialOwnership1Choice bnfclOwnrsh;
@XmlElement(name = "CshClrSys")
protected CashSettlementSystem1Choice cshClrSys;
@XmlElement(name = "MktClntSd")
protected MarketClientSide1Choice mktClntSd;
@XmlElement(name = "Regn")
protected Registration1Choice regn;
@XmlElement(name = "RpTp")
protected RepurchaseType8Choice rpTp;
@XmlElement(name = "SctiesRTGS")
protected SecuritiesRTGS1Choice sctiesRTGS;
@XmlElement(name = "StmpDtyTaxBsis")
protected GenericIdentification20 stmpDtyTaxBsis;
/**
* Gets the value of the hldInd property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean isHldInd() {
return hldInd;
}
/**
* Sets the value of the hldInd property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public SettlementDetails25 setHldInd(Boolean value) {
this.hldInd = value;
return this;
}
/**
* Gets the value of the sctiesTxTp property.
*
* @return
* possible object is
* {@link SecuritiesTransactionType7Choice }
*
*/
public SecuritiesTransactionType7Choice getSctiesTxTp() {
return sctiesTxTp;
}
/**
* Sets the value of the sctiesTxTp property.
*
* @param value
* allowed object is
* {@link SecuritiesTransactionType7Choice }
*
*/
public SettlementDetails25 setSctiesTxTp(SecuritiesTransactionType7Choice value) {
this.sctiesTxTp = 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 SettlementTransactionCondition5Choice }
*
*
* @return
* The value of the sttlmTxCond property.
*/
public List getSttlmTxCond() {
if (sttlmTxCond == null) {
sttlmTxCond = new ArrayList<>();
}
return this.sttlmTxCond;
}
/**
* Gets the value of the prtlSttlmInd property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean isPrtlSttlmInd() {
return prtlSttlmInd;
}
/**
* Sets the value of the prtlSttlmInd property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public SettlementDetails25 setPrtlSttlmInd(Boolean value) {
this.prtlSttlmInd = 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 SettlementDetails25 setBnfclOwnrsh(BeneficialOwnership1Choice value) {
this.bnfclOwnrsh = 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 SettlementDetails25 setCshClrSys(CashSettlementSystem1Choice value) {
this.cshClrSys = 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 SettlementDetails25 setMktClntSd(MarketClientSide1Choice value) {
this.mktClntSd = 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 SettlementDetails25 setRegn(Registration1Choice value) {
this.regn = value;
return this;
}
/**
* Gets the value of the rpTp property.
*
* @return
* possible object is
* {@link RepurchaseType8Choice }
*
*/
public RepurchaseType8Choice getRpTp() {
return rpTp;
}
/**
* Sets the value of the rpTp property.
*
* @param value
* allowed object is
* {@link RepurchaseType8Choice }
*
*/
public SettlementDetails25 setRpTp(RepurchaseType8Choice value) {
this.rpTp = 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 SettlementDetails25 setSctiesRTGS(SecuritiesRTGS1Choice value) {
this.sctiesRTGS = 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 SettlementDetails25 setStmpDtyTaxBsis(GenericIdentification20 value) {
this.stmpDtyTaxBsis = 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 SettlementDetails25 addSttlmTxCond(SettlementTransactionCondition5Choice sttlmTxCond) {
getSttlmTxCond().add(sttlmTxCond);
return this;
}
}