com.prowidesoftware.swift.model.mx.dic.SecuritiesTransactionPostingReportV10 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;
/**
* Scope
* SecuritiesTransactionPostingReport is sent by an account servicer to an account owner to provide the details of increases and decreases of holdings which occurred during a specified period, for all or selected securities in the specified safekeeping account or sub-safekeeping account which the account servicer holds for the account owner.
* The account servicer/owner relationship may be:
* - a central securities depository or another settlement market infrastructure acting on behalf of its participants
* - an agent (sub-custodian) acting on behalf of its global custodian customer, or
* - a custodian acting on behalf of an investment management institution or a broker/dealer.
*
* Usage
* This message may be used as a trade date based or a settlement date based statement.
* The message may also be used to:
* - re-send a message previously sent,
* - provide a third party with a copy of a message for information,
* - re-send to a third party a copy of a message for information using the relevant elements in the Business Application Header.
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "SecuritiesTransactionPostingReportV10", propOrder = {
"pgntn",
"stmtGnlDtls",
"acctOwnr",
"sfkpgAcct",
"intrmyInf",
"finInstrmDtls",
"subAcctDtls"
})
public class SecuritiesTransactionPostingReportV10 {
@XmlElement(name = "Pgntn", required = true)
protected Pagination1 pgntn;
@XmlElement(name = "StmtGnlDtls", required = true)
protected Statement79 stmtGnlDtls;
@XmlElement(name = "AcctOwnr")
protected PartyIdentification144 acctOwnr;
@XmlElement(name = "SfkpgAcct", required = true)
protected SecuritiesAccount36 sfkpgAcct;
@XmlElement(name = "IntrmyInf")
protected List intrmyInf;
@XmlElement(name = "FinInstrmDtls")
protected List finInstrmDtls;
@XmlElement(name = "SubAcctDtls")
protected List subAcctDtls;
/**
* Gets the value of the pgntn property.
*
* @return
* possible object is
* {@link Pagination1 }
*
*/
public Pagination1 getPgntn() {
return pgntn;
}
/**
* Sets the value of the pgntn property.
*
* @param value
* allowed object is
* {@link Pagination1 }
*
*/
public SecuritiesTransactionPostingReportV10 setPgntn(Pagination1 value) {
this.pgntn = value;
return this;
}
/**
* Gets the value of the stmtGnlDtls property.
*
* @return
* possible object is
* {@link Statement79 }
*
*/
public Statement79 getStmtGnlDtls() {
return stmtGnlDtls;
}
/**
* Sets the value of the stmtGnlDtls property.
*
* @param value
* allowed object is
* {@link Statement79 }
*
*/
public SecuritiesTransactionPostingReportV10 setStmtGnlDtls(Statement79 value) {
this.stmtGnlDtls = value;
return this;
}
/**
* Gets the value of the acctOwnr property.
*
* @return
* possible object is
* {@link PartyIdentification144 }
*
*/
public PartyIdentification144 getAcctOwnr() {
return acctOwnr;
}
/**
* Sets the value of the acctOwnr property.
*
* @param value
* allowed object is
* {@link PartyIdentification144 }
*
*/
public SecuritiesTransactionPostingReportV10 setAcctOwnr(PartyIdentification144 value) {
this.acctOwnr = value;
return this;
}
/**
* Gets the value of the sfkpgAcct property.
*
* @return
* possible object is
* {@link SecuritiesAccount36 }
*
*/
public SecuritiesAccount36 getSfkpgAcct() {
return sfkpgAcct;
}
/**
* Sets the value of the sfkpgAcct property.
*
* @param value
* allowed object is
* {@link SecuritiesAccount36 }
*
*/
public SecuritiesTransactionPostingReportV10 setSfkpgAcct(SecuritiesAccount36 value) {
this.sfkpgAcct = value;
return this;
}
/**
* Gets the value of the intrmyInf 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 intrmyInf property.
*
*
* For example, to add a new item, do as follows:
*
* getIntrmyInf().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link Intermediary44 }
*
*
*/
public List getIntrmyInf() {
if (intrmyInf == null) {
intrmyInf = new ArrayList();
}
return this.intrmyInf;
}
/**
* Gets the value of the finInstrmDtls 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 finInstrmDtls property.
*
*
* For example, to add a new item, do as follows:
*
* getFinInstrmDtls().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link FinancialInstrumentDetails35 }
*
*
*/
public List getFinInstrmDtls() {
if (finInstrmDtls == null) {
finInstrmDtls = new ArrayList();
}
return this.finInstrmDtls;
}
/**
* Gets the value of the subAcctDtls 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 subAcctDtls property.
*
*
* For example, to add a new item, do as follows:
*
* getSubAcctDtls().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link SubAccountIdentification60 }
*
*
*/
public List getSubAcctDtls() {
if (subAcctDtls == null) {
subAcctDtls = new ArrayList();
}
return this.subAcctDtls;
}
@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 intrmyInf list.
* @see #getIntrmyInf()
*
*/
public SecuritiesTransactionPostingReportV10 addIntrmyInf(Intermediary44 intrmyInf) {
getIntrmyInf().add(intrmyInf);
return this;
}
/**
* Adds a new item to the finInstrmDtls list.
* @see #getFinInstrmDtls()
*
*/
public SecuritiesTransactionPostingReportV10 addFinInstrmDtls(FinancialInstrumentDetails35 finInstrmDtls) {
getFinInstrmDtls().add(finInstrmDtls);
return this;
}
/**
* Adds a new item to the subAcctDtls list.
* @see #getSubAcctDtls()
*
*/
public SecuritiesTransactionPostingReportV10 addSubAcctDtls(SubAccountIdentification60 subAcctDtls) {
getSubAcctDtls().add(subAcctDtls);
return this;
}
}