
com.prowidesoftware.swift.model.mx.dic.AccountRequestAcknowledgementV03 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;
/**
* The AccountRequestAcknowledgement message is sent from a financial institution to an organisation. This message is sent in response to a request message from the organisation. It is sent after the request has been validated from an authentication and authorisation point of view. The business content has not yet been validated at this stage.
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "AccountRequestAcknowledgementV03", propOrder = {
"refs",
"fr",
"acctId",
"orgId",
"acctSvcrId",
"dgtlSgntr",
"splmtryData"
})
public class AccountRequestAcknowledgementV03 {
@XmlElement(name = "Refs", required = true)
protected References5 refs;
@XmlElement(name = "Fr")
protected OrganisationIdentification29 fr;
@XmlElement(name = "AcctId")
protected List acctId;
@XmlElement(name = "OrgId", required = true)
protected OrganisationIdentification29 orgId;
@XmlElement(name = "AcctSvcrId", required = true)
protected BranchAndFinancialInstitutionIdentification6 acctSvcrId;
@XmlElement(name = "DgtlSgntr")
protected List dgtlSgntr;
@XmlElement(name = "SplmtryData")
protected List splmtryData;
/**
* Gets the value of the refs property.
*
* @return
* possible object is
* {@link References5 }
*
*/
public References5 getRefs() {
return refs;
}
/**
* Sets the value of the refs property.
*
* @param value
* allowed object is
* {@link References5 }
*
*/
public AccountRequestAcknowledgementV03 setRefs(References5 value) {
this.refs = value;
return this;
}
/**
* Gets the value of the fr property.
*
* @return
* possible object is
* {@link OrganisationIdentification29 }
*
*/
public OrganisationIdentification29 getFr() {
return fr;
}
/**
* Sets the value of the fr property.
*
* @param value
* allowed object is
* {@link OrganisationIdentification29 }
*
*/
public AccountRequestAcknowledgementV03 setFr(OrganisationIdentification29 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 JAXB object.
* This is why there is not a 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 }
*
*
*/
public List getAcctId() {
if (acctId == null) {
acctId = new ArrayList();
}
return this.acctId;
}
/**
* Gets the value of the orgId property.
*
* @return
* possible object is
* {@link OrganisationIdentification29 }
*
*/
public OrganisationIdentification29 getOrgId() {
return orgId;
}
/**
* Sets the value of the orgId property.
*
* @param value
* allowed object is
* {@link OrganisationIdentification29 }
*
*/
public AccountRequestAcknowledgementV03 setOrgId(OrganisationIdentification29 value) {
this.orgId = value;
return this;
}
/**
* Gets the value of the acctSvcrId property.
*
* @return
* possible object is
* {@link BranchAndFinancialInstitutionIdentification6 }
*
*/
public BranchAndFinancialInstitutionIdentification6 getAcctSvcrId() {
return acctSvcrId;
}
/**
* Sets the value of the acctSvcrId property.
*
* @param value
* allowed object is
* {@link BranchAndFinancialInstitutionIdentification6 }
*
*/
public AccountRequestAcknowledgementV03 setAcctSvcrId(BranchAndFinancialInstitutionIdentification6 value) {
this.acctSvcrId = 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 PartyAndSignature3 }
*
*
*/
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 JAXB object.
* This is why there is not a 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 }
*
*
*/
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 AccountRequestAcknowledgementV03 addAcctId(AccountForAction1 acctId) {
getAcctId().add(acctId);
return this;
}
/**
* Adds a new item to the dgtlSgntr list.
* @see #getDgtlSgntr()
*
*/
public AccountRequestAcknowledgementV03 addDgtlSgntr(PartyAndSignature3 dgtlSgntr) {
getDgtlSgntr().add(dgtlSgntr);
return this;
}
/**
* Adds a new item to the splmtryData list.
* @see #getSplmtryData()
*
*/
public AccountRequestAcknowledgementV03 addSplmtryData(SupplementaryData1 splmtryData) {
getSplmtryData().add(splmtryData);
return this;
}
}