
com.prowidesoftware.swift.model.mx.dic.AccountReportRequestV01 Maven / Gradle / Ivy
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
* The AccountReportRequest message is sent from an organisation to a financial institution for reporting purposes. It is a request for an account report.
* Usage
* This message can be sent at any time outside of account opening, maintenance or closing processes.
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "AccountReportRequestV01", propOrder = {
"refs",
"acctId",
"acctSvcrId",
"orgId",
"ctrctDts",
"dgtlSgntr"
})
public class AccountReportRequestV01 {
@XmlElement(name = "Refs", required = true)
protected References4 refs;
@XmlElement(name = "AcctId", required = true)
protected AccountForAction1 acctId;
@XmlElement(name = "AcctSvcrId", required = true)
protected BranchAndFinancialInstitutionIdentification4 acctSvcrId;
@XmlElement(name = "OrgId", required = true)
protected List orgId;
@XmlElement(name = "CtrctDts")
protected AccountContract2 ctrctDts;
@XmlElement(name = "DgtlSgntr")
protected List dgtlSgntr;
/**
* 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 AccountReportRequestV01 setRefs(References4 value) {
this.refs = value;
return this;
}
/**
* Gets the value of the acctId property.
*
* @return
* possible object is
* {@link AccountForAction1 }
*
*/
public AccountForAction1 getAcctId() {
return acctId;
}
/**
* Sets the value of the acctId property.
*
* @param value
* allowed object is
* {@link AccountForAction1 }
*
*/
public AccountReportRequestV01 setAcctId(AccountForAction1 value) {
this.acctId = value;
return this;
}
/**
* Gets the value of the acctSvcrId property.
*
* @return
* possible object is
* {@link BranchAndFinancialInstitutionIdentification4 }
*
*/
public BranchAndFinancialInstitutionIdentification4 getAcctSvcrId() {
return acctSvcrId;
}
/**
* Sets the value of the acctSvcrId property.
*
* @param value
* allowed object is
* {@link BranchAndFinancialInstitutionIdentification4 }
*
*/
public AccountReportRequestV01 setAcctSvcrId(BranchAndFinancialInstitutionIdentification4 value) {
this.acctSvcrId = value;
return this;
}
/**
* Gets the value of the orgId 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 orgId property.
*
*
* For example, to add a new item, do as follows:
*
* getOrgId().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link OrganisationIdentification6 }
*
*
*/
public List getOrgId() {
if (orgId == null) {
orgId = new ArrayList();
}
return this.orgId;
}
/**
* Gets the value of the ctrctDts property.
*
* @return
* possible object is
* {@link AccountContract2 }
*
*/
public AccountContract2 getCtrctDts() {
return ctrctDts;
}
/**
* Sets the value of the ctrctDts property.
*
* @param value
* allowed object is
* {@link AccountContract2 }
*
*/
public AccountReportRequestV01 setCtrctDts(AccountContract2 value) {
this.ctrctDts = 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 JAXB object.
* This is why there is not a 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 PartyAndSignature1 }
*
*
*/
public List getDgtlSgntr() {
if (dgtlSgntr == null) {
dgtlSgntr = new ArrayList();
}
return this.dgtlSgntr;
}
@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 orgId list.
* @see #getOrgId()
*
*/
public AccountReportRequestV01 addOrgId(OrganisationIdentification6 orgId) {
getOrgId().add(orgId);
return this;
}
/**
* Adds a new item to the dgtlSgntr list.
* @see #getDgtlSgntr()
*
*/
public AccountReportRequestV01 addDgtlSgntr(PartyAndSignature1 dgtlSgntr) {
getDgtlSgntr().add(dgtlSgntr);
return this;
}
}