com.prowidesoftware.swift.model.mx.dic.SettlementDetails58 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 = "SettlementDetails58", propOrder = {
"hldInd",
"sctiesTxTp",
"sttlmTxCond",
"prtlSttlmInd",
"bnfclOwnrsh",
"cshClrSys",
"mktClntSd",
"regn",
"rpTp",
"sctiesRTGS",
"stmpDtyTaxBsis"
})
public class SettlementDetails58 {
@XmlElement(name = "HldInd")
protected Boolean hldInd;
@XmlElement(name = "SctiesTxTp", required = true)
protected SecuritiesTransactionType15Choice sctiesTxTp;
@XmlElement(name = "SttlmTxCond")
protected List sttlmTxCond;
@XmlElement(name = "PrtlSttlmInd")
@XmlSchemaType(name = "string")
protected SettlementTransactionCondition5Code prtlSttlmInd;
@XmlElement(name = "BnfclOwnrsh")
protected BeneficialOwnership2Choice bnfclOwnrsh;
@XmlElement(name = "CshClrSys")
protected CashSettlementSystem2Choice cshClrSys;
@XmlElement(name = "MktClntSd")
protected MarketClientSide2Choice mktClntSd;
@XmlElement(name = "Regn")
protected Registration2Choice regn;
@XmlElement(name = "RpTp")
protected RepurchaseType10Choice rpTp;
@XmlElement(name = "SctiesRTGS")
protected SecuritiesRTGS2Choice sctiesRTGS;
@XmlElement(name = "StmpDtyTaxBsis")
protected GenericIdentification25 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 SettlementDetails58 setHldInd(Boolean value) {
this.hldInd = value;
return this;
}
/**
* Gets the value of the sctiesTxTp property.
*
* @return
* possible object is
* {@link SecuritiesTransactionType15Choice }
*
*/
public SecuritiesTransactionType15Choice getSctiesTxTp() {
return sctiesTxTp;
}
/**
* Sets the value of the sctiesTxTp property.
*
* @param value
* allowed object is
* {@link SecuritiesTransactionType15Choice }
*
*/
public SettlementDetails58 setSctiesTxTp(SecuritiesTransactionType15Choice 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 SettlementTransactionCondition10Choice }
*
*
* @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 SettlementTransactionCondition5Code }
*
*/
public SettlementTransactionCondition5Code getPrtlSttlmInd() {
return prtlSttlmInd;
}
/**
* Sets the value of the prtlSttlmInd property.
*
* @param value
* allowed object is
* {@link SettlementTransactionCondition5Code }
*
*/
public SettlementDetails58 setPrtlSttlmInd(SettlementTransactionCondition5Code value) {
this.prtlSttlmInd = value;
return this;
}
/**
* Gets the value of the bnfclOwnrsh property.
*
* @return
* possible object is
* {@link BeneficialOwnership2Choice }
*
*/
public BeneficialOwnership2Choice getBnfclOwnrsh() {
return bnfclOwnrsh;
}
/**
* Sets the value of the bnfclOwnrsh property.
*
* @param value
* allowed object is
* {@link BeneficialOwnership2Choice }
*
*/
public SettlementDetails58 setBnfclOwnrsh(BeneficialOwnership2Choice value) {
this.bnfclOwnrsh = value;
return this;
}
/**
* Gets the value of the cshClrSys property.
*
* @return
* possible object is
* {@link CashSettlementSystem2Choice }
*
*/
public CashSettlementSystem2Choice getCshClrSys() {
return cshClrSys;
}
/**
* Sets the value of the cshClrSys property.
*
* @param value
* allowed object is
* {@link CashSettlementSystem2Choice }
*
*/
public SettlementDetails58 setCshClrSys(CashSettlementSystem2Choice value) {
this.cshClrSys = value;
return this;
}
/**
* Gets the value of the mktClntSd property.
*
* @return
* possible object is
* {@link MarketClientSide2Choice }
*
*/
public MarketClientSide2Choice getMktClntSd() {
return mktClntSd;
}
/**
* Sets the value of the mktClntSd property.
*
* @param value
* allowed object is
* {@link MarketClientSide2Choice }
*
*/
public SettlementDetails58 setMktClntSd(MarketClientSide2Choice value) {
this.mktClntSd = value;
return this;
}
/**
* Gets the value of the regn property.
*
* @return
* possible object is
* {@link Registration2Choice }
*
*/
public Registration2Choice getRegn() {
return regn;
}
/**
* Sets the value of the regn property.
*
* @param value
* allowed object is
* {@link Registration2Choice }
*
*/
public SettlementDetails58 setRegn(Registration2Choice value) {
this.regn = value;
return this;
}
/**
* Gets the value of the rpTp property.
*
* @return
* possible object is
* {@link RepurchaseType10Choice }
*
*/
public RepurchaseType10Choice getRpTp() {
return rpTp;
}
/**
* Sets the value of the rpTp property.
*
* @param value
* allowed object is
* {@link RepurchaseType10Choice }
*
*/
public SettlementDetails58 setRpTp(RepurchaseType10Choice value) {
this.rpTp = value;
return this;
}
/**
* Gets the value of the sctiesRTGS property.
*
* @return
* possible object is
* {@link SecuritiesRTGS2Choice }
*
*/
public SecuritiesRTGS2Choice getSctiesRTGS() {
return sctiesRTGS;
}
/**
* Sets the value of the sctiesRTGS property.
*
* @param value
* allowed object is
* {@link SecuritiesRTGS2Choice }
*
*/
public SettlementDetails58 setSctiesRTGS(SecuritiesRTGS2Choice value) {
this.sctiesRTGS = value;
return this;
}
/**
* Gets the value of the stmpDtyTaxBsis property.
*
* @return
* possible object is
* {@link GenericIdentification25 }
*
*/
public GenericIdentification25 getStmpDtyTaxBsis() {
return stmpDtyTaxBsis;
}
/**
* Sets the value of the stmpDtyTaxBsis property.
*
* @param value
* allowed object is
* {@link GenericIdentification25 }
*
*/
public SettlementDetails58 setStmpDtyTaxBsis(GenericIdentification25 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 SettlementDetails58 addSttlmTxCond(SettlementTransactionCondition10Choice sttlmTxCond) {
getSttlmTxCond().add(sttlmTxCond);
return this;
}
}