com.prowidesoftware.swift.model.mx.dic.AccountReportRequestV02 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;
/**
* The AccountReportRequest message is sent from an organisation to a financial institution for reporting purposes. It is a request for an account report. This message can be sent at any time outside of account opening, maintenance or closing processes.
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "AccountReportRequestV02", propOrder = {
"refs",
"fr",
"acctId",
"acctSvcrId",
"orgId",
"dgtlSgntr",
"splmtryData"
})
public class AccountReportRequestV02 {
@XmlElement(name = "Refs", required = true)
protected References4 refs;
@XmlElement(name = "Fr")
protected OrganisationIdentification8 fr;
@XmlElement(name = "AcctId", required = true)
protected List acctId;
@XmlElement(name = "AcctSvcrId", required = true)
protected BranchAndFinancialInstitutionIdentification5 acctSvcrId;
@XmlElement(name = "OrgId", required = true)
protected OrganisationIdentification8 orgId;
@XmlElement(name = "DgtlSgntr")
protected List dgtlSgntr;
@XmlElement(name = "SplmtryData")
protected List splmtryData;
/**
* Gets the value of the refs property.
*
* @return
* possible object is
* {@link References4 }
*
*/
public References4 getRefs() {
return refs;
}
/**
* Sets the value of the refs property.
*
* @param value
* allowed object is
* {@link References4 }
*
*/
public AccountReportRequestV02 setRefs(References4 value) {
this.refs = value;
return this;
}
/**
* Gets the value of the fr property.
*
* @return
* possible object is
* {@link OrganisationIdentification8 }
*
*/
public OrganisationIdentification8 getFr() {
return fr;
}
/**
* Sets the value of the fr property.
*
* @param value
* allowed object is
* {@link OrganisationIdentification8 }
*
*/
public AccountReportRequestV02 setFr(OrganisationIdentification8 value) {
this.fr = value;
return this;
}
/**
* Gets the value of the acctId 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 acctId property.
*
*
* For example, to add a new item, do as follows:
*
* getAcctId().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link AccountForAction1 }
*
*
* @return
* The value of the acctId property.
*/
public List getAcctId() {
if (acctId == null) {
acctId = new ArrayList<>();
}
return this.acctId;
}
/**
* Gets the value of the acctSvcrId property.
*
* @return
* possible object is
* {@link BranchAndFinancialInstitutionIdentification5 }
*
*/
public BranchAndFinancialInstitutionIdentification5 getAcctSvcrId() {
return acctSvcrId;
}
/**
* Sets the value of the acctSvcrId property.
*
* @param value
* allowed object is
* {@link BranchAndFinancialInstitutionIdentification5 }
*
*/
public AccountReportRequestV02 setAcctSvcrId(BranchAndFinancialInstitutionIdentification5 value) {
this.acctSvcrId = value;
return this;
}
/**
* Gets the value of the orgId property.
*
* @return
* possible object is
* {@link OrganisationIdentification8 }
*
*/
public OrganisationIdentification8 getOrgId() {
return orgId;
}
/**
* Sets the value of the orgId property.
*
* @param value
* allowed object is
* {@link OrganisationIdentification8 }
*
*/
public AccountReportRequestV02 setOrgId(OrganisationIdentification8 value) {
this.orgId = value;
return this;
}
/**
* Gets the value of the dgtlSgntr 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 dgtlSgntr property.
*
*
* For example, to add a new item, do as follows:
*
* getDgtlSgntr().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link PartyAndSignature2 }
*
*
* @return
* The value of the dgtlSgntr property.
*/
public List getDgtlSgntr() {
if (dgtlSgntr == null) {
dgtlSgntr = new ArrayList<>();
}
return this.dgtlSgntr;
}
/**
* Gets the value of the splmtryData 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 splmtryData property.
*
*
* For example, to add a new item, do as follows:
*
* getSplmtryData().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link SupplementaryData1 }
*
*
* @return
* The value of the splmtryData property.
*/
public List getSplmtryData() {
if (splmtryData == null) {
splmtryData = new ArrayList<>();
}
return this.splmtryData;
}
@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 acctId list.
* @see #getAcctId()
*
*/
public AccountReportRequestV02 addAcctId(AccountForAction1 acctId) {
getAcctId().add(acctId);
return this;
}
/**
* Adds a new item to the dgtlSgntr list.
* @see #getDgtlSgntr()
*
*/
public AccountReportRequestV02 addDgtlSgntr(PartyAndSignature2 dgtlSgntr) {
getDgtlSgntr().add(dgtlSgntr);
return this;
}
/**
* Adds a new item to the splmtryData list.
* @see #getSplmtryData()
*
*/
public AccountReportRequestV02 addSplmtryData(SupplementaryData1 splmtryData) {
getSplmtryData().add(splmtryData);
return this;
}
}