com.prowidesoftware.swift.model.mx.dic.QuantityAndAccount60 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 = "QuantityAndAccount60", propOrder = {
"sttlmQty",
"dnmtnChc",
"acctOwnr",
"sfkpgAcct",
"cshAcct",
"sfkpgPlc",
"qtyBrkdwn"
})
public class QuantityAndAccount60 {
@XmlElement(name = "SttlmQty")
protected Quantity10Choice sttlmQty;
@XmlElement(name = "DnmtnChc")
protected String dnmtnChc;
@XmlElement(name = "AcctOwnr")
protected PartyIdentification119 acctOwnr;
@XmlElement(name = "SfkpgAcct")
protected SecuritiesAccount30 sfkpgAcct;
@XmlElement(name = "CshAcct")
protected CashAccountIdentification6Choice cshAcct;
@XmlElement(name = "SfkpgPlc")
protected SafeKeepingPlace2 sfkpgPlc;
@XmlElement(name = "QtyBrkdwn")
protected List qtyBrkdwn;
/**
* Gets the value of the sttlmQty property.
*
* @return
* possible object is
* {@link Quantity10Choice }
*
*/
public Quantity10Choice getSttlmQty() {
return sttlmQty;
}
/**
* Sets the value of the sttlmQty property.
*
* @param value
* allowed object is
* {@link Quantity10Choice }
*
*/
public QuantityAndAccount60 setSttlmQty(Quantity10Choice 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 QuantityAndAccount60 setDnmtnChc(String value) {
this.dnmtnChc = value;
return this;
}
/**
* Gets the value of the acctOwnr property.
*
* @return
* possible object is
* {@link PartyIdentification119 }
*
*/
public PartyIdentification119 getAcctOwnr() {
return acctOwnr;
}
/**
* Sets the value of the acctOwnr property.
*
* @param value
* allowed object is
* {@link PartyIdentification119 }
*
*/
public QuantityAndAccount60 setAcctOwnr(PartyIdentification119 value) {
this.acctOwnr = value;
return this;
}
/**
* Gets the value of the sfkpgAcct property.
*
* @return
* possible object is
* {@link SecuritiesAccount30 }
*
*/
public SecuritiesAccount30 getSfkpgAcct() {
return sfkpgAcct;
}
/**
* Sets the value of the sfkpgAcct property.
*
* @param value
* allowed object is
* {@link SecuritiesAccount30 }
*
*/
public QuantityAndAccount60 setSfkpgAcct(SecuritiesAccount30 value) {
this.sfkpgAcct = value;
return this;
}
/**
* Gets the value of the cshAcct property.
*
* @return
* possible object is
* {@link CashAccountIdentification6Choice }
*
*/
public CashAccountIdentification6Choice getCshAcct() {
return cshAcct;
}
/**
* Sets the value of the cshAcct property.
*
* @param value
* allowed object is
* {@link CashAccountIdentification6Choice }
*
*/
public QuantityAndAccount60 setCshAcct(CashAccountIdentification6Choice value) {
this.cshAcct = value;
return this;
}
/**
* Gets the value of the sfkpgPlc property.
*
* @return
* possible object is
* {@link SafeKeepingPlace2 }
*
*/
public SafeKeepingPlace2 getSfkpgPlc() {
return sfkpgPlc;
}
/**
* Sets the value of the sfkpgPlc property.
*
* @param value
* allowed object is
* {@link SafeKeepingPlace2 }
*
*/
public QuantityAndAccount60 setSfkpgPlc(SafeKeepingPlace2 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 QuantityBreakdown38 }
*
*
* @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 QuantityAndAccount60 addQtyBrkdwn(QuantityBreakdown38 qtyBrkdwn) {
getQtyBrkdwn().add(qtyBrkdwn);
return this;
}
}