com.prowidesoftware.swift.model.mx.dic.AccountClosingAmendmentRequestV01 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 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 AccountClosingAmendmentRequest message is sent from an organisation to a financial institution as part of the account closing process. It is sent in response to a request from the financial institution to send additional information.
* Usage
* This message may only be sent in response to a request from the financial institution to send additional information.
* It could be sent together with other related documents.
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "AccountClosingAmendmentRequestV01", propOrder = {
"refs",
"acctId",
"acctSvcrId",
"orgId",
"ctrctDts",
"balTrfAcct",
"trfAcctSvcrId",
"dgtlSgntr"
})
public class AccountClosingAmendmentRequestV01 {
@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 AccountContract4 ctrctDts;
@XmlElement(name = "BalTrfAcct")
protected AccountForAction1 balTrfAcct;
@XmlElement(name = "TrfAcctSvcrId")
protected BranchAndFinancialInstitutionIdentification4 trfAcctSvcrId;
@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 AccountClosingAmendmentRequestV01 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 AccountClosingAmendmentRequestV01 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 AccountClosingAmendmentRequestV01 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 AccountContract4 }
*
*/
public AccountContract4 getCtrctDts() {
return ctrctDts;
}
/**
* Sets the value of the ctrctDts property.
*
* @param value
* allowed object is
* {@link AccountContract4 }
*
*/
public AccountClosingAmendmentRequestV01 setCtrctDts(AccountContract4 value) {
this.ctrctDts = value;
return this;
}
/**
* Gets the value of the balTrfAcct property.
*
* @return
* possible object is
* {@link AccountForAction1 }
*
*/
public AccountForAction1 getBalTrfAcct() {
return balTrfAcct;
}
/**
* Sets the value of the balTrfAcct property.
*
* @param value
* allowed object is
* {@link AccountForAction1 }
*
*/
public AccountClosingAmendmentRequestV01 setBalTrfAcct(AccountForAction1 value) {
this.balTrfAcct = value;
return this;
}
/**
* Gets the value of the trfAcctSvcrId property.
*
* @return
* possible object is
* {@link BranchAndFinancialInstitutionIdentification4 }
*
*/
public BranchAndFinancialInstitutionIdentification4 getTrfAcctSvcrId() {
return trfAcctSvcrId;
}
/**
* Sets the value of the trfAcctSvcrId property.
*
* @param value
* allowed object is
* {@link BranchAndFinancialInstitutionIdentification4 }
*
*/
public AccountClosingAmendmentRequestV01 setTrfAcctSvcrId(BranchAndFinancialInstitutionIdentification4 value) {
this.trfAcctSvcrId = 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 AccountClosingAmendmentRequestV01 addOrgId(OrganisationIdentification6 orgId) {
getOrgId().add(orgId);
return this;
}
/**
* Adds a new item to the dgtlSgntr list.
* @see #getDgtlSgntr()
*
*/
public AccountClosingAmendmentRequestV01 addDgtlSgntr(PartyAndSignature1 dgtlSgntr) {
getDgtlSgntr().add(dgtlSgntr);
return this;
}
}