com.prowidesoftware.swift.model.mx.dic.AccountOpeningAmendmentRequestV02 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 = "AccountOpeningAmendmentRequestV02", propOrder = {
"refs",
"fr",
"ctrctDts",
"undrlygMstrAgrmt",
"acct",
"acctSvcrId",
"org",
"mndt",
"grp",
"refAcct",
"dgtlSgntr",
"splmtryData"
})
public class AccountOpeningAmendmentRequestV02 {
@XmlElement(name = "Refs", required = true)
protected References4 refs;
@XmlElement(name = "Fr")
protected OrganisationIdentification8 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 BranchAndFinancialInstitutionIdentification5 acctSvcrId;
@XmlElement(name = "Org", required = true)
protected Organisation12 org;
@XmlElement(name = "Mndt")
protected List mndt;
@XmlElement(name = "Grp")
protected List grp;
@XmlElement(name = "RefAcct")
protected CashAccount24 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 AccountOpeningAmendmentRequestV02 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 AccountOpeningAmendmentRequestV02 setFr(OrganisationIdentification8 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 AccountOpeningAmendmentRequestV02 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 AccountOpeningAmendmentRequestV02 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 AccountOpeningAmendmentRequestV02 setAcct(CustomerAccount4 value) {
this.acct = value;
return this;
}
/**
* 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 AccountOpeningAmendmentRequestV02 setAcctSvcrId(BranchAndFinancialInstitutionIdentification5 value) {
this.acctSvcrId = value;
return this;
}
/**
* Gets the value of the org property.
*
* @return
* possible object is
* {@link Organisation12 }
*
*/
public Organisation12 getOrg() {
return org;
}
/**
* Sets the value of the org property.
*
* @param value
* allowed object is
* {@link Organisation12 }
*
*/
public AccountOpeningAmendmentRequestV02 setOrg(Organisation12 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 OperationMandate2 }
*
*
* @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 Group1 }
*
*
* @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 CashAccount24 }
*
*/
public CashAccount24 getRefAcct() {
return refAcct;
}
/**
* Sets the value of the refAcct property.
*
* @param value
* allowed object is
* {@link CashAccount24 }
*
*/
public AccountOpeningAmendmentRequestV02 setRefAcct(CashAccount24 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 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 mndt list.
* @see #getMndt()
*
*/
public AccountOpeningAmendmentRequestV02 addMndt(OperationMandate2 mndt) {
getMndt().add(mndt);
return this;
}
/**
* Adds a new item to the grp list.
* @see #getGrp()
*
*/
public AccountOpeningAmendmentRequestV02 addGrp(Group1 grp) {
getGrp().add(grp);
return this;
}
/**
* Adds a new item to the dgtlSgntr list.
* @see #getDgtlSgntr()
*
*/
public AccountOpeningAmendmentRequestV02 addDgtlSgntr(PartyAndSignature2 dgtlSgntr) {
getDgtlSgntr().add(dgtlSgntr);
return this;
}
/**
* Adds a new item to the splmtryData list.
* @see #getSplmtryData()
*
*/
public AccountOpeningAmendmentRequestV02 addSplmtryData(SupplementaryData1 splmtryData) {
getSplmtryData().add(splmtryData);
return this;
}
}