com.prowidesoftware.swift.model.mx.dic.QuantityAndAccount65 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 the quantity, account and other related information involved in a transaction.
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "QuantityAndAccount65", propOrder = {
"sttlmQty",
"dnmtnChc",
"acctOwnr",
"sfkpgAcct",
"cshAcct",
"sfkpgPlc",
"qtyBrkdwn"
})
public class QuantityAndAccount65 {
@XmlElement(name = "SttlmQty", required = true)
protected Quantity6Choice sttlmQty;
@XmlElement(name = "DnmtnChc")
protected String dnmtnChc;
@XmlElement(name = "AcctOwnr")
protected PartyIdentification98 acctOwnr;
@XmlElement(name = "SfkpgAcct", required = true)
protected SecuritiesAccount19 sfkpgAcct;
@XmlElement(name = "CshAcct")
protected CashAccountIdentification5Choice cshAcct;
@XmlElement(name = "SfkpgPlc")
protected SafeKeepingPlace1 sfkpgPlc;
@XmlElement(name = "QtyBrkdwn")
protected List qtyBrkdwn;
/**
* Gets the value of the sttlmQty property.
*
* @return
* possible object is
* {@link Quantity6Choice }
*
*/
public Quantity6Choice getSttlmQty() {
return sttlmQty;
}
/**
* Sets the value of the sttlmQty property.
*
* @param value
* allowed object is
* {@link Quantity6Choice }
*
*/
public QuantityAndAccount65 setSttlmQty(Quantity6Choice 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 QuantityAndAccount65 setDnmtnChc(String value) {
this.dnmtnChc = value;
return this;
}
/**
* Gets the value of the acctOwnr property.
*
* @return
* possible object is
* {@link PartyIdentification98 }
*
*/
public PartyIdentification98 getAcctOwnr() {
return acctOwnr;
}
/**
* Sets the value of the acctOwnr property.
*
* @param value
* allowed object is
* {@link PartyIdentification98 }
*
*/
public QuantityAndAccount65 setAcctOwnr(PartyIdentification98 value) {
this.acctOwnr = value;
return this;
}
/**
* Gets the value of the sfkpgAcct property.
*
* @return
* possible object is
* {@link SecuritiesAccount19 }
*
*/
public SecuritiesAccount19 getSfkpgAcct() {
return sfkpgAcct;
}
/**
* Sets the value of the sfkpgAcct property.
*
* @param value
* allowed object is
* {@link SecuritiesAccount19 }
*
*/
public QuantityAndAccount65 setSfkpgAcct(SecuritiesAccount19 value) {
this.sfkpgAcct = 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 QuantityAndAccount65 setCshAcct(CashAccountIdentification5Choice value) {
this.cshAcct = value;
return this;
}
/**
* Gets the value of the sfkpgPlc property.
*
* @return
* possible object is
* {@link SafeKeepingPlace1 }
*
*/
public SafeKeepingPlace1 getSfkpgPlc() {
return sfkpgPlc;
}
/**
* Sets the value of the sfkpgPlc property.
*
* @param value
* allowed object is
* {@link SafeKeepingPlace1 }
*
*/
public QuantityAndAccount65 setSfkpgPlc(SafeKeepingPlace1 value) {
this.sfkpgPlc = 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 QuantityBreakdown46 }
*
*
* @return
* The value of the qtyBrkdwn property.
*/
public List getQtyBrkdwn() {
if (qtyBrkdwn == null) {
qtyBrkdwn = new ArrayList<>();
}
return this.qtyBrkdwn;
}
@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 QuantityAndAccount65 addQtyBrkdwn(QuantityBreakdown46 qtyBrkdwn) {
getQtyBrkdwn().add(qtyBrkdwn);
return this;
}
}