com.prowidesoftware.swift.model.mx.dic.AccountOpeningAmendmentRequestV05 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 AccountOpeningAmendmentRequest message is sent from an organisation to a financial institution as part of the account opening process. It is sent in response to a request from the financial institution to send additional information.
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "AccountOpeningAmendmentRequestV05", propOrder = {
"refs",
"fr",
"ctrctDts",
"undrlygMstrAgrmt",
"acct",
"acctSvcrId",
"org",
"mndt",
"grp",
"refAcct",
"dgtlSgntr",
"splmtryData"
})
public class AccountOpeningAmendmentRequestV05 {
@XmlElement(name = "Refs", required = true)
protected References4 refs;
@XmlElement(name = "Fr")
protected OrganisationIdentification39 fr;
@XmlElement(name = "CtrctDts")
protected AccountContract2 ctrctDts;
@XmlElement(name = "UndrlygMstrAgrmt")
protected ContractDocument1 undrlygMstrAgrmt;
@XmlElement(name = "Acct", required = true)
protected CustomerAccount4 acct;
@XmlElement(name = "AcctSvcrId", required = true)
protected BranchAndFinancialInstitutionIdentification8 acctSvcrId;
@XmlElement(name = "Org", required = true)
protected Organisation42 org;
@XmlElement(name = "Mndt")
protected List mndt;
@XmlElement(name = "Grp")
protected List grp;
@XmlElement(name = "RefAcct")
protected CashAccount40 refAcct;
@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 AccountOpeningAmendmentRequestV05 setRefs(References4 value) {
this.refs = value;
return this;
}
/**
* Gets the value of the fr property.
*
* @return
* possible object is
* {@link OrganisationIdentification39 }
*
*/
public OrganisationIdentification39 getFr() {
return fr;
}
/**
* Sets the value of the fr property.
*
* @param value
* allowed object is
* {@link OrganisationIdentification39 }
*
*/
public AccountOpeningAmendmentRequestV05 setFr(OrganisationIdentification39 value) {
this.fr = value;
return this;
}
/**
* 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 AccountOpeningAmendmentRequestV05 setCtrctDts(AccountContract2 value) {
this.ctrctDts = value;
return this;
}
/**
* Gets the value of the undrlygMstrAgrmt property.
*
* @return
* possible object is
* {@link ContractDocument1 }
*
*/
public ContractDocument1 getUndrlygMstrAgrmt() {
return undrlygMstrAgrmt;
}
/**
* Sets the value of the undrlygMstrAgrmt property.
*
* @param value
* allowed object is
* {@link ContractDocument1 }
*
*/
public AccountOpeningAmendmentRequestV05 setUndrlygMstrAgrmt(ContractDocument1 value) {
this.undrlygMstrAgrmt = value;
return this;
}
/**
* Gets the value of the acct property.
*
* @return
* possible object is
* {@link CustomerAccount4 }
*
*/
public CustomerAccount4 getAcct() {
return acct;
}
/**
* Sets the value of the acct property.
*
* @param value
* allowed object is
* {@link CustomerAccount4 }
*
*/
public AccountOpeningAmendmentRequestV05 setAcct(CustomerAccount4 value) {
this.acct = value;
return this;
}
/**
* Gets the value of the acctSvcrId property.
*
* @return
* possible object is
* {@link BranchAndFinancialInstitutionIdentification8 }
*
*/
public BranchAndFinancialInstitutionIdentification8 getAcctSvcrId() {
return acctSvcrId;
}
/**
* Sets the value of the acctSvcrId property.
*
* @param value
* allowed object is
* {@link BranchAndFinancialInstitutionIdentification8 }
*
*/
public AccountOpeningAmendmentRequestV05 setAcctSvcrId(BranchAndFinancialInstitutionIdentification8 value) {
this.acctSvcrId = value;
return this;
}
/**
* Gets the value of the org property.
*
* @return
* possible object is
* {@link Organisation42 }
*
*/
public Organisation42 getOrg() {
return org;
}
/**
* Sets the value of the org property.
*
* @param value
* allowed object is
* {@link Organisation42 }
*
*/
public AccountOpeningAmendmentRequestV05 setOrg(Organisation42 value) {
this.org = value;
return this;
}
/**
* Gets the value of the mndt 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 mndt property.
*
*
* For example, to add a new item, do as follows:
*
* getMndt().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link OperationMandate7 }
*
*
* @return
* The value of the mndt property.
*/
public List getMndt() {
if (mndt == null) {
mndt = new ArrayList<>();
}
return this.mndt;
}
/**
* Gets the value of the grp 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 grp property.
*
*
* For example, to add a new item, do as follows:
*
* getGrp().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link Group6 }
*
*
* @return
* The value of the grp property.
*/
public List getGrp() {
if (grp == null) {
grp = new ArrayList<>();
}
return this.grp;
}
/**
* Gets the value of the refAcct property.
*
* @return
* possible object is
* {@link CashAccount40 }
*
*/
public CashAccount40 getRefAcct() {
return refAcct;
}
/**
* Sets the value of the refAcct property.
*
* @param value
* allowed object is
* {@link CashAccount40 }
*
*/
public AccountOpeningAmendmentRequestV05 setRefAcct(CashAccount40 value) {
this.refAcct = 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 PartyAndSignature4 }
*
*
* @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 mndt list.
* @see #getMndt()
*
*/
public AccountOpeningAmendmentRequestV05 addMndt(OperationMandate7 mndt) {
getMndt().add(mndt);
return this;
}
/**
* Adds a new item to the grp list.
* @see #getGrp()
*
*/
public AccountOpeningAmendmentRequestV05 addGrp(Group6 grp) {
getGrp().add(grp);
return this;
}
/**
* Adds a new item to the dgtlSgntr list.
* @see #getDgtlSgntr()
*
*/
public AccountOpeningAmendmentRequestV05 addDgtlSgntr(PartyAndSignature4 dgtlSgntr) {
getDgtlSgntr().add(dgtlSgntr);
return this;
}
/**
* Adds a new item to the splmtryData list.
* @see #getSplmtryData()
*
*/
public AccountOpeningAmendmentRequestV05 addSplmtryData(SupplementaryData1 splmtryData) {
getSplmtryData().add(splmtryData);
return this;
}
}