com.prowidesoftware.swift.model.mx.dic.Mandate4 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;
/**
* Information that serves as a basis to debit an account.
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "Mandate4", propOrder = {
"mndtId",
"mndtReqId",
"tp",
"ocrncs",
"colltnAmt",
"maxAmt",
"cdtrSchmeId",
"cdtr",
"cdtrAcct",
"cdtrAgt",
"ultmtCdtr",
"dbtr",
"dbtrAcct",
"dbtrAgt",
"ultmtDbtr",
"rfrdDoc",
"splmtryData"
})
public class Mandate4 {
@XmlElement(name = "MndtId")
protected String mndtId;
@XmlElement(name = "MndtReqId", required = true)
protected String mndtReqId;
@XmlElement(name = "Tp")
protected MandateTypeInformation1 tp;
@XmlElement(name = "Ocrncs")
protected MandateOccurrences2 ocrncs;
@XmlElement(name = "ColltnAmt")
protected ActiveCurrencyAndAmount colltnAmt;
@XmlElement(name = "MaxAmt")
protected ActiveCurrencyAndAmount maxAmt;
@XmlElement(name = "CdtrSchmeId")
protected PartyIdentification43 cdtrSchmeId;
@XmlElement(name = "Cdtr", required = true)
protected PartyIdentification43 cdtr;
@XmlElement(name = "CdtrAcct")
protected CashAccount24 cdtrAcct;
@XmlElement(name = "CdtrAgt")
protected BranchAndFinancialInstitutionIdentification5 cdtrAgt;
@XmlElement(name = "UltmtCdtr")
protected PartyIdentification43 ultmtCdtr;
@XmlElement(name = "Dbtr", required = true)
protected PartyIdentification43 dbtr;
@XmlElement(name = "DbtrAcct")
protected CashAccount24 dbtrAcct;
@XmlElement(name = "DbtrAgt", required = true)
protected BranchAndFinancialInstitutionIdentification5 dbtrAgt;
@XmlElement(name = "UltmtDbtr")
protected PartyIdentification43 ultmtDbtr;
@XmlElement(name = "RfrdDoc")
protected ReferredDocumentInformation3 rfrdDoc;
@XmlElement(name = "SplmtryData")
protected List splmtryData;
/**
* Gets the value of the mndtId property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getMndtId() {
return mndtId;
}
/**
* Sets the value of the mndtId property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public Mandate4 setMndtId(String value) {
this.mndtId = value;
return this;
}
/**
* Gets the value of the mndtReqId property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getMndtReqId() {
return mndtReqId;
}
/**
* Sets the value of the mndtReqId property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public Mandate4 setMndtReqId(String value) {
this.mndtReqId = value;
return this;
}
/**
* Gets the value of the tp property.
*
* @return
* possible object is
* {@link MandateTypeInformation1 }
*
*/
public MandateTypeInformation1 getTp() {
return tp;
}
/**
* Sets the value of the tp property.
*
* @param value
* allowed object is
* {@link MandateTypeInformation1 }
*
*/
public Mandate4 setTp(MandateTypeInformation1 value) {
this.tp = value;
return this;
}
/**
* Gets the value of the ocrncs property.
*
* @return
* possible object is
* {@link MandateOccurrences2 }
*
*/
public MandateOccurrences2 getOcrncs() {
return ocrncs;
}
/**
* Sets the value of the ocrncs property.
*
* @param value
* allowed object is
* {@link MandateOccurrences2 }
*
*/
public Mandate4 setOcrncs(MandateOccurrences2 value) {
this.ocrncs = value;
return this;
}
/**
* Gets the value of the colltnAmt property.
*
* @return
* possible object is
* {@link ActiveCurrencyAndAmount }
*
*/
public ActiveCurrencyAndAmount getColltnAmt() {
return colltnAmt;
}
/**
* Sets the value of the colltnAmt property.
*
* @param value
* allowed object is
* {@link ActiveCurrencyAndAmount }
*
*/
public Mandate4 setColltnAmt(ActiveCurrencyAndAmount value) {
this.colltnAmt = value;
return this;
}
/**
* Gets the value of the maxAmt property.
*
* @return
* possible object is
* {@link ActiveCurrencyAndAmount }
*
*/
public ActiveCurrencyAndAmount getMaxAmt() {
return maxAmt;
}
/**
* Sets the value of the maxAmt property.
*
* @param value
* allowed object is
* {@link ActiveCurrencyAndAmount }
*
*/
public Mandate4 setMaxAmt(ActiveCurrencyAndAmount value) {
this.maxAmt = value;
return this;
}
/**
* Gets the value of the cdtrSchmeId property.
*
* @return
* possible object is
* {@link PartyIdentification43 }
*
*/
public PartyIdentification43 getCdtrSchmeId() {
return cdtrSchmeId;
}
/**
* Sets the value of the cdtrSchmeId property.
*
* @param value
* allowed object is
* {@link PartyIdentification43 }
*
*/
public Mandate4 setCdtrSchmeId(PartyIdentification43 value) {
this.cdtrSchmeId = value;
return this;
}
/**
* Gets the value of the cdtr property.
*
* @return
* possible object is
* {@link PartyIdentification43 }
*
*/
public PartyIdentification43 getCdtr() {
return cdtr;
}
/**
* Sets the value of the cdtr property.
*
* @param value
* allowed object is
* {@link PartyIdentification43 }
*
*/
public Mandate4 setCdtr(PartyIdentification43 value) {
this.cdtr = value;
return this;
}
/**
* Gets the value of the cdtrAcct property.
*
* @return
* possible object is
* {@link CashAccount24 }
*
*/
public CashAccount24 getCdtrAcct() {
return cdtrAcct;
}
/**
* Sets the value of the cdtrAcct property.
*
* @param value
* allowed object is
* {@link CashAccount24 }
*
*/
public Mandate4 setCdtrAcct(CashAccount24 value) {
this.cdtrAcct = value;
return this;
}
/**
* Gets the value of the cdtrAgt property.
*
* @return
* possible object is
* {@link BranchAndFinancialInstitutionIdentification5 }
*
*/
public BranchAndFinancialInstitutionIdentification5 getCdtrAgt() {
return cdtrAgt;
}
/**
* Sets the value of the cdtrAgt property.
*
* @param value
* allowed object is
* {@link BranchAndFinancialInstitutionIdentification5 }
*
*/
public Mandate4 setCdtrAgt(BranchAndFinancialInstitutionIdentification5 value) {
this.cdtrAgt = value;
return this;
}
/**
* Gets the value of the ultmtCdtr property.
*
* @return
* possible object is
* {@link PartyIdentification43 }
*
*/
public PartyIdentification43 getUltmtCdtr() {
return ultmtCdtr;
}
/**
* Sets the value of the ultmtCdtr property.
*
* @param value
* allowed object is
* {@link PartyIdentification43 }
*
*/
public Mandate4 setUltmtCdtr(PartyIdentification43 value) {
this.ultmtCdtr = value;
return this;
}
/**
* Gets the value of the dbtr property.
*
* @return
* possible object is
* {@link PartyIdentification43 }
*
*/
public PartyIdentification43 getDbtr() {
return dbtr;
}
/**
* Sets the value of the dbtr property.
*
* @param value
* allowed object is
* {@link PartyIdentification43 }
*
*/
public Mandate4 setDbtr(PartyIdentification43 value) {
this.dbtr = value;
return this;
}
/**
* Gets the value of the dbtrAcct property.
*
* @return
* possible object is
* {@link CashAccount24 }
*
*/
public CashAccount24 getDbtrAcct() {
return dbtrAcct;
}
/**
* Sets the value of the dbtrAcct property.
*
* @param value
* allowed object is
* {@link CashAccount24 }
*
*/
public Mandate4 setDbtrAcct(CashAccount24 value) {
this.dbtrAcct = value;
return this;
}
/**
* Gets the value of the dbtrAgt property.
*
* @return
* possible object is
* {@link BranchAndFinancialInstitutionIdentification5 }
*
*/
public BranchAndFinancialInstitutionIdentification5 getDbtrAgt() {
return dbtrAgt;
}
/**
* Sets the value of the dbtrAgt property.
*
* @param value
* allowed object is
* {@link BranchAndFinancialInstitutionIdentification5 }
*
*/
public Mandate4 setDbtrAgt(BranchAndFinancialInstitutionIdentification5 value) {
this.dbtrAgt = value;
return this;
}
/**
* Gets the value of the ultmtDbtr property.
*
* @return
* possible object is
* {@link PartyIdentification43 }
*
*/
public PartyIdentification43 getUltmtDbtr() {
return ultmtDbtr;
}
/**
* Sets the value of the ultmtDbtr property.
*
* @param value
* allowed object is
* {@link PartyIdentification43 }
*
*/
public Mandate4 setUltmtDbtr(PartyIdentification43 value) {
this.ultmtDbtr = value;
return this;
}
/**
* Gets the value of the rfrdDoc property.
*
* @return
* possible object is
* {@link ReferredDocumentInformation3 }
*
*/
public ReferredDocumentInformation3 getRfrdDoc() {
return rfrdDoc;
}
/**
* Sets the value of the rfrdDoc property.
*
* @param value
* allowed object is
* {@link ReferredDocumentInformation3 }
*
*/
public Mandate4 setRfrdDoc(ReferredDocumentInformation3 value) {
this.rfrdDoc = value;
return this;
}
/**
* 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 splmtryData list.
* @see #getSplmtryData()
*
*/
public Mandate4 addSplmtryData(SupplementaryData1 splmtryData) {
getSplmtryData().add(splmtryData);
return this;
}
}