com.prowidesoftware.swift.model.mx.dic.QuantityAndAccount51 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 = "QuantityAndAccount51", propOrder = {
"sttldQty",
"prevslySttldQty",
"rmngToBeSttldQty",
"prevslySttldAmt",
"rmngToBeSttldAmt",
"dnmtnChc",
"acctOwnr",
"sfkpgAcct",
"cshAcct",
"qtyBrkdwn",
"sfkpgPlc"
})
public class QuantityAndAccount51 {
@XmlElement(name = "SttldQty", required = true)
protected Quantity10Choice sttldQty;
@XmlElement(name = "PrevslySttldQty")
protected FinancialInstrumentQuantity15Choice prevslySttldQty;
@XmlElement(name = "RmngToBeSttldQty")
protected FinancialInstrumentQuantity15Choice rmngToBeSttldQty;
@XmlElement(name = "PrevslySttldAmt")
protected AmountAndDirection57 prevslySttldAmt;
@XmlElement(name = "RmngToBeSttldAmt")
protected AmountAndDirection57 rmngToBeSttldAmt;
@XmlElement(name = "DnmtnChc")
protected String dnmtnChc;
@XmlElement(name = "AcctOwnr")
protected PartyIdentification109 acctOwnr;
@XmlElement(name = "SfkpgAcct", required = true)
protected SecuritiesAccount27 sfkpgAcct;
@XmlElement(name = "CshAcct")
protected CashAccountIdentification6Choice cshAcct;
@XmlElement(name = "QtyBrkdwn")
protected List qtyBrkdwn;
@XmlElement(name = "SfkpgPlc")
protected SafeKeepingPlace2 sfkpgPlc;
/**
* Gets the value of the sttldQty property.
*
* @return
* possible object is
* {@link Quantity10Choice }
*
*/
public Quantity10Choice getSttldQty() {
return sttldQty;
}
/**
* Sets the value of the sttldQty property.
*
* @param value
* allowed object is
* {@link Quantity10Choice }
*
*/
public QuantityAndAccount51 setSttldQty(Quantity10Choice value) {
this.sttldQty = value;
return this;
}
/**
* Gets the value of the prevslySttldQty property.
*
* @return
* possible object is
* {@link FinancialInstrumentQuantity15Choice }
*
*/
public FinancialInstrumentQuantity15Choice getPrevslySttldQty() {
return prevslySttldQty;
}
/**
* Sets the value of the prevslySttldQty property.
*
* @param value
* allowed object is
* {@link FinancialInstrumentQuantity15Choice }
*
*/
public QuantityAndAccount51 setPrevslySttldQty(FinancialInstrumentQuantity15Choice value) {
this.prevslySttldQty = value;
return this;
}
/**
* Gets the value of the rmngToBeSttldQty property.
*
* @return
* possible object is
* {@link FinancialInstrumentQuantity15Choice }
*
*/
public FinancialInstrumentQuantity15Choice getRmngToBeSttldQty() {
return rmngToBeSttldQty;
}
/**
* Sets the value of the rmngToBeSttldQty property.
*
* @param value
* allowed object is
* {@link FinancialInstrumentQuantity15Choice }
*
*/
public QuantityAndAccount51 setRmngToBeSttldQty(FinancialInstrumentQuantity15Choice value) {
this.rmngToBeSttldQty = value;
return this;
}
/**
* Gets the value of the prevslySttldAmt property.
*
* @return
* possible object is
* {@link AmountAndDirection57 }
*
*/
public AmountAndDirection57 getPrevslySttldAmt() {
return prevslySttldAmt;
}
/**
* Sets the value of the prevslySttldAmt property.
*
* @param value
* allowed object is
* {@link AmountAndDirection57 }
*
*/
public QuantityAndAccount51 setPrevslySttldAmt(AmountAndDirection57 value) {
this.prevslySttldAmt = value;
return this;
}
/**
* Gets the value of the rmngToBeSttldAmt property.
*
* @return
* possible object is
* {@link AmountAndDirection57 }
*
*/
public AmountAndDirection57 getRmngToBeSttldAmt() {
return rmngToBeSttldAmt;
}
/**
* Sets the value of the rmngToBeSttldAmt property.
*
* @param value
* allowed object is
* {@link AmountAndDirection57 }
*
*/
public QuantityAndAccount51 setRmngToBeSttldAmt(AmountAndDirection57 value) {
this.rmngToBeSttldAmt = 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 QuantityAndAccount51 setDnmtnChc(String value) {
this.dnmtnChc = value;
return this;
}
/**
* Gets the value of the acctOwnr property.
*
* @return
* possible object is
* {@link PartyIdentification109 }
*
*/
public PartyIdentification109 getAcctOwnr() {
return acctOwnr;
}
/**
* Sets the value of the acctOwnr property.
*
* @param value
* allowed object is
* {@link PartyIdentification109 }
*
*/
public QuantityAndAccount51 setAcctOwnr(PartyIdentification109 value) {
this.acctOwnr = value;
return this;
}
/**
* Gets the value of the sfkpgAcct property.
*
* @return
* possible object is
* {@link SecuritiesAccount27 }
*
*/
public SecuritiesAccount27 getSfkpgAcct() {
return sfkpgAcct;
}
/**
* Sets the value of the sfkpgAcct property.
*
* @param value
* allowed object is
* {@link SecuritiesAccount27 }
*
*/
public QuantityAndAccount51 setSfkpgAcct(SecuritiesAccount27 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 QuantityAndAccount51 setCshAcct(CashAccountIdentification6Choice 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 QuantityBreakdown44 }
*
*
* @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 SafeKeepingPlace2 }
*
*/
public SafeKeepingPlace2 getSfkpgPlc() {
return sfkpgPlc;
}
/**
* Sets the value of the sfkpgPlc property.
*
* @param value
* allowed object is
* {@link SafeKeepingPlace2 }
*
*/
public QuantityAndAccount51 setSfkpgPlc(SafeKeepingPlace2 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 QuantityAndAccount51 addQtyBrkdwn(QuantityBreakdown44 qtyBrkdwn) {
getQtyBrkdwn().add(qtyBrkdwn);
return this;
}
}