com.prowidesoftware.swift.model.mx.dic.QuantityAndAccount99 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;
/**
* Details on a quantity, account and other related information.
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "QuantityAndAccount99", propOrder = {
"sttlmQty",
"dnmtnChc",
"cshAcct",
"qtyBrkdwn",
"sfkpgPlc"
})
public class QuantityAndAccount99 {
@XmlElement(name = "SttlmQty", required = true)
protected FinancialInstrumentQuantity33Choice sttlmQty;
@XmlElement(name = "DnmtnChc")
protected String dnmtnChc;
@XmlElement(name = "CshAcct")
protected CashAccountIdentification5Choice cshAcct;
@XmlElement(name = "QtyBrkdwn")
protected List qtyBrkdwn;
@XmlElement(name = "SfkpgPlc")
protected SafeKeepingPlace3 sfkpgPlc;
/**
* Gets the value of the sttlmQty property.
*
* @return
* possible object is
* {@link FinancialInstrumentQuantity33Choice }
*
*/
public FinancialInstrumentQuantity33Choice getSttlmQty() {
return sttlmQty;
}
/**
* Sets the value of the sttlmQty property.
*
* @param value
* allowed object is
* {@link FinancialInstrumentQuantity33Choice }
*
*/
public QuantityAndAccount99 setSttlmQty(FinancialInstrumentQuantity33Choice value) {
this.sttlmQty = value;
return this;
}
/**
* Gets the value of the dnmtnChc property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getDnmtnChc() {
return dnmtnChc;
}
/**
* Sets the value of the dnmtnChc property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public QuantityAndAccount99 setDnmtnChc(String value) {
this.dnmtnChc = value;
return this;
}
/**
* Gets the value of the cshAcct property.
*
* @return
* possible object is
* {@link CashAccountIdentification5Choice }
*
*/
public CashAccountIdentification5Choice getCshAcct() {
return cshAcct;
}
/**
* Sets the value of the cshAcct property.
*
* @param value
* allowed object is
* {@link CashAccountIdentification5Choice }
*
*/
public QuantityAndAccount99 setCshAcct(CashAccountIdentification5Choice value) {
this.cshAcct = value;
return this;
}
/**
* Gets the value of the qtyBrkdwn 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 qtyBrkdwn property.
*
*
* For example, to add a new item, do as follows:
*
* getQtyBrkdwn().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link QuantityBreakdown62 }
*
*
* @return
* The value of the qtyBrkdwn property.
*/
public List getQtyBrkdwn() {
if (qtyBrkdwn == null) {
qtyBrkdwn = new ArrayList<>();
}
return this.qtyBrkdwn;
}
/**
* Gets the value of the sfkpgPlc property.
*
* @return
* possible object is
* {@link SafeKeepingPlace3 }
*
*/
public SafeKeepingPlace3 getSfkpgPlc() {
return sfkpgPlc;
}
/**
* Sets the value of the sfkpgPlc property.
*
* @param value
* allowed object is
* {@link SafeKeepingPlace3 }
*
*/
public QuantityAndAccount99 setSfkpgPlc(SafeKeepingPlace3 value) {
this.sfkpgPlc = 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 qtyBrkdwn list.
* @see #getQtyBrkdwn()
*
*/
public QuantityAndAccount99 addQtyBrkdwn(QuantityBreakdown62 qtyBrkdwn) {
getQtyBrkdwn().add(qtyBrkdwn);
return this;
}
}