com.prowidesoftware.swift.model.mx.dic.SettlementDetails18 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 javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.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 = "SettlementDetails18", propOrder = {
"sttlmTxCond",
"regn",
"lglRstrctns",
"sctiesRTGS",
"sttlmSysMtd",
"taxCpcty",
"stmpDtyTaxBsis"
})
public class SettlementDetails18 {
@XmlElement(name = "SttlmTxCond")
protected List sttlmTxCond;
@XmlElement(name = "Regn")
protected Registration2Choice regn;
@XmlElement(name = "LglRstrctns")
protected Restriction2Choice lglRstrctns;
@XmlElement(name = "SctiesRTGS")
protected SecuritiesRTGS2Choice sctiesRTGS;
@XmlElement(name = "SttlmSysMtd")
protected SettlementSystemMethod2Choice sttlmSysMtd;
@XmlElement(name = "TaxCpcty")
protected TaxCapacityParty2Choice taxCpcty;
@XmlElement(name = "StmpDtyTaxBsis")
protected GenericIdentification25 stmpDtyTaxBsis;
/**
* 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 JAXB object.
* This is why there is not a 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 SettlementTransactionCondition4Choice }
*
*
*/
public List getSttlmTxCond() {
if (sttlmTxCond == null) {
sttlmTxCond = new ArrayList();
}
return this.sttlmTxCond;
}
/**
* 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 SettlementDetails18 setRegn(Registration2Choice value) {
this.regn = value;
return this;
}
/**
* Gets the value of the lglRstrctns property.
*
* @return
* possible object is
* {@link Restriction2Choice }
*
*/
public Restriction2Choice getLglRstrctns() {
return lglRstrctns;
}
/**
* Sets the value of the lglRstrctns property.
*
* @param value
* allowed object is
* {@link Restriction2Choice }
*
*/
public SettlementDetails18 setLglRstrctns(Restriction2Choice value) {
this.lglRstrctns = 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 SettlementDetails18 setSctiesRTGS(SecuritiesRTGS2Choice value) {
this.sctiesRTGS = value;
return this;
}
/**
* Gets the value of the sttlmSysMtd property.
*
* @return
* possible object is
* {@link SettlementSystemMethod2Choice }
*
*/
public SettlementSystemMethod2Choice getSttlmSysMtd() {
return sttlmSysMtd;
}
/**
* Sets the value of the sttlmSysMtd property.
*
* @param value
* allowed object is
* {@link SettlementSystemMethod2Choice }
*
*/
public SettlementDetails18 setSttlmSysMtd(SettlementSystemMethod2Choice value) {
this.sttlmSysMtd = value;
return this;
}
/**
* Gets the value of the taxCpcty property.
*
* @return
* possible object is
* {@link TaxCapacityParty2Choice }
*
*/
public TaxCapacityParty2Choice getTaxCpcty() {
return taxCpcty;
}
/**
* Sets the value of the taxCpcty property.
*
* @param value
* allowed object is
* {@link TaxCapacityParty2Choice }
*
*/
public SettlementDetails18 setTaxCpcty(TaxCapacityParty2Choice value) {
this.taxCpcty = 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 SettlementDetails18 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 SettlementDetails18 addSttlmTxCond(SettlementTransactionCondition4Choice sttlmTxCond) {
getSttlmTxCond().add(sttlmTxCond);
return this;
}
}