com.prowidesoftware.swift.model.mx.dic.QuantityAndAccount15 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 javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.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 = "QuantityAndAccount15", propOrder = {
"sttldQty",
"prevslySttldQty",
"rmngToBeSttldQty",
"prevslySttldAmt",
"rmngToBeSttldAmt",
"dnmtnChc",
"acctOwnr",
"sfkpgAcct",
"cshAcct",
"qtyBrkdwn",
"sfkpgPlc"
})
public class QuantityAndAccount15 {
@XmlElement(name = "SttldQty", required = true)
protected Quantity6Choice sttldQty;
@XmlElement(name = "PrevslySttldQty")
protected FinancialInstrumentQuantity1Choice prevslySttldQty;
@XmlElement(name = "RmngToBeSttldQty")
protected FinancialInstrumentQuantity1Choice rmngToBeSttldQty;
@XmlElement(name = "PrevslySttldAmt")
protected AmountAndDirection7 prevslySttldAmt;
@XmlElement(name = "RmngToBeSttldAmt")
protected AmountAndDirection7 rmngToBeSttldAmt;
@XmlElement(name = "DnmtnChc")
protected String dnmtnChc;
@XmlElement(name = "AcctOwnr")
protected PartyIdentification36Choice acctOwnr;
@XmlElement(name = "SfkpgAcct", required = true)
protected SecuritiesAccount13 sfkpgAcct;
@XmlElement(name = "CshAcct")
protected CashAccountIdentification5Choice cshAcct;
@XmlElement(name = "QtyBrkdwn")
protected List qtyBrkdwn;
@XmlElement(name = "SfkpgPlc")
protected SafekeepingPlaceFormat3Choice sfkpgPlc;
/**
* Gets the value of the sttldQty property.
*
* @return
* possible object is
* {@link Quantity6Choice }
*
*/
public Quantity6Choice getSttldQty() {
return sttldQty;
}
/**
* Sets the value of the sttldQty property.
*
* @param value
* allowed object is
* {@link Quantity6Choice }
*
*/
public QuantityAndAccount15 setSttldQty(Quantity6Choice value) {
this.sttldQty = value;
return this;
}
/**
* Gets the value of the prevslySttldQty property.
*
* @return
* possible object is
* {@link FinancialInstrumentQuantity1Choice }
*
*/
public FinancialInstrumentQuantity1Choice getPrevslySttldQty() {
return prevslySttldQty;
}
/**
* Sets the value of the prevslySttldQty property.
*
* @param value
* allowed object is
* {@link FinancialInstrumentQuantity1Choice }
*
*/
public QuantityAndAccount15 setPrevslySttldQty(FinancialInstrumentQuantity1Choice value) {
this.prevslySttldQty = value;
return this;
}
/**
* Gets the value of the rmngToBeSttldQty property.
*
* @return
* possible object is
* {@link FinancialInstrumentQuantity1Choice }
*
*/
public FinancialInstrumentQuantity1Choice getRmngToBeSttldQty() {
return rmngToBeSttldQty;
}
/**
* Sets the value of the rmngToBeSttldQty property.
*
* @param value
* allowed object is
* {@link FinancialInstrumentQuantity1Choice }
*
*/
public QuantityAndAccount15 setRmngToBeSttldQty(FinancialInstrumentQuantity1Choice value) {
this.rmngToBeSttldQty = value;
return this;
}
/**
* Gets the value of the prevslySttldAmt property.
*
* @return
* possible object is
* {@link AmountAndDirection7 }
*
*/
public AmountAndDirection7 getPrevslySttldAmt() {
return prevslySttldAmt;
}
/**
* Sets the value of the prevslySttldAmt property.
*
* @param value
* allowed object is
* {@link AmountAndDirection7 }
*
*/
public QuantityAndAccount15 setPrevslySttldAmt(AmountAndDirection7 value) {
this.prevslySttldAmt = value;
return this;
}
/**
* Gets the value of the rmngToBeSttldAmt property.
*
* @return
* possible object is
* {@link AmountAndDirection7 }
*
*/
public AmountAndDirection7 getRmngToBeSttldAmt() {
return rmngToBeSttldAmt;
}
/**
* Sets the value of the rmngToBeSttldAmt property.
*
* @param value
* allowed object is
* {@link AmountAndDirection7 }
*
*/
public QuantityAndAccount15 setRmngToBeSttldAmt(AmountAndDirection7 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 QuantityAndAccount15 setDnmtnChc(String value) {
this.dnmtnChc = value;
return this;
}
/**
* Gets the value of the acctOwnr property.
*
* @return
* possible object is
* {@link PartyIdentification36Choice }
*
*/
public PartyIdentification36Choice getAcctOwnr() {
return acctOwnr;
}
/**
* Sets the value of the acctOwnr property.
*
* @param value
* allowed object is
* {@link PartyIdentification36Choice }
*
*/
public QuantityAndAccount15 setAcctOwnr(PartyIdentification36Choice value) {
this.acctOwnr = value;
return this;
}
/**
* Gets the value of the sfkpgAcct property.
*
* @return
* possible object is
* {@link SecuritiesAccount13 }
*
*/
public SecuritiesAccount13 getSfkpgAcct() {
return sfkpgAcct;
}
/**
* Sets the value of the sfkpgAcct property.
*
* @param value
* allowed object is
* {@link SecuritiesAccount13 }
*
*/
public QuantityAndAccount15 setSfkpgAcct(SecuritiesAccount13 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 QuantityAndAccount15 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 JAXB object.
* This is why there is not a 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 QuantityBreakdown9 }
*
*
*/
public List getQtyBrkdwn() {
if (qtyBrkdwn == null) {
qtyBrkdwn = new ArrayList();
}
return this.qtyBrkdwn;
}
/**
* Gets the value of the sfkpgPlc property.
*
* @return
* possible object is
* {@link SafekeepingPlaceFormat3Choice }
*
*/
public SafekeepingPlaceFormat3Choice getSfkpgPlc() {
return sfkpgPlc;
}
/**
* Sets the value of the sfkpgPlc property.
*
* @param value
* allowed object is
* {@link SafekeepingPlaceFormat3Choice }
*
*/
public QuantityAndAccount15 setSfkpgPlc(SafekeepingPlaceFormat3Choice 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 QuantityAndAccount15 addQtyBrkdwn(QuantityBreakdown9 qtyBrkdwn) {
getQtyBrkdwn().add(qtyBrkdwn);
return this;
}
}