com.prowidesoftware.swift.model.mx.dic.SettlementInformation17 Maven / Gradle / Ivy
Show all versions of pw-iso20022 Show documentation
package com.prowidesoftware.swift.model.mx.dic;
import java.time.YearMonth;
import java.util.ArrayList;
import java.util.List;
import com.prowidesoftware.swift.model.mx.adapters.IsoYearMonthAdapter;
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 jakarta.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
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;
/**
* Settlement of the securities in a securities transaction, that is, the instruction to deliver or receive securities, involving the payment of an amount of money or not.
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "SettlementInformation17", propOrder = {
"sctiesQtyTp",
"ctrctSttlmMnth",
"minDnmtn",
"minMltplQty",
"devtgSttlmUnit"
})
public class SettlementInformation17 {
@XmlElement(name = "SctiesQtyTp")
protected SettlementUnitType3Choice sctiesQtyTp;
@XmlElement(name = "CtrctSttlmMnth", type = String.class)
@XmlJavaTypeAdapter(IsoYearMonthAdapter.class)
@XmlSchemaType(name = "gYearMonth")
protected YearMonth ctrctSttlmMnth;
@XmlElement(name = "MinDnmtn")
protected FinancialInstrumentQuantity1Choice minDnmtn;
@XmlElement(name = "MinMltplQty")
protected FinancialInstrumentQuantity1Choice minMltplQty;
@XmlElement(name = "DevtgSttlmUnit")
protected List devtgSttlmUnit;
/**
* Gets the value of the sctiesQtyTp property.
*
* @return
* possible object is
* {@link SettlementUnitType3Choice }
*
*/
public SettlementUnitType3Choice getSctiesQtyTp() {
return sctiesQtyTp;
}
/**
* Sets the value of the sctiesQtyTp property.
*
* @param value
* allowed object is
* {@link SettlementUnitType3Choice }
*
*/
public SettlementInformation17 setSctiesQtyTp(SettlementUnitType3Choice value) {
this.sctiesQtyTp = value;
return this;
}
/**
* Gets the value of the ctrctSttlmMnth property.
*
* @return
* possible object is
* {@link String }
*
*/
public YearMonth getCtrctSttlmMnth() {
return ctrctSttlmMnth;
}
/**
* Sets the value of the ctrctSttlmMnth property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public SettlementInformation17 setCtrctSttlmMnth(YearMonth value) {
this.ctrctSttlmMnth = value;
return this;
}
/**
* Gets the value of the minDnmtn property.
*
* @return
* possible object is
* {@link FinancialInstrumentQuantity1Choice }
*
*/
public FinancialInstrumentQuantity1Choice getMinDnmtn() {
return minDnmtn;
}
/**
* Sets the value of the minDnmtn property.
*
* @param value
* allowed object is
* {@link FinancialInstrumentQuantity1Choice }
*
*/
public SettlementInformation17 setMinDnmtn(FinancialInstrumentQuantity1Choice value) {
this.minDnmtn = value;
return this;
}
/**
* Gets the value of the minMltplQty property.
*
* @return
* possible object is
* {@link FinancialInstrumentQuantity1Choice }
*
*/
public FinancialInstrumentQuantity1Choice getMinMltplQty() {
return minMltplQty;
}
/**
* Sets the value of the minMltplQty property.
*
* @param value
* allowed object is
* {@link FinancialInstrumentQuantity1Choice }
*
*/
public SettlementInformation17 setMinMltplQty(FinancialInstrumentQuantity1Choice value) {
this.minMltplQty = value;
return this;
}
/**
* Gets the value of the devtgSttlmUnit 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 devtgSttlmUnit property.
*
*
* For example, to add a new item, do as follows:
*
* getDevtgSttlmUnit().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link FinancialInstrumentQuantity1Choice }
*
*
* @return
* The value of the devtgSttlmUnit property.
*/
public List getDevtgSttlmUnit() {
if (devtgSttlmUnit == null) {
devtgSttlmUnit = new ArrayList<>();
}
return this.devtgSttlmUnit;
}
@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 devtgSttlmUnit list.
* @see #getDevtgSttlmUnit()
*
*/
public SettlementInformation17 addDevtgSttlmUnit(FinancialInstrumentQuantity1Choice devtgSttlmUnit) {
getDevtgSttlmUnit().add(devtgSttlmUnit);
return this;
}
}