com.prowidesoftware.swift.model.mx.dic.DirectDebitTransactionInformation18 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.XmlSchemaType;
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;
/**
* Provides further details specific to the individual direct debit transaction(s) included in the message.
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "DirectDebitTransactionInformation18", propOrder = {
"pmtId",
"pmtTpInf",
"instdAmt",
"chrgBr",
"drctDbtTx",
"ultmtCdtr",
"dbtrAgt",
"dbtrAgtAcct",
"dbtr",
"dbtrAcct",
"ultmtDbtr",
"instrForCdtrAgt",
"purp",
"rgltryRptg",
"tax",
"rltdRmtInf",
"rmtInf",
"splmtryData"
})
public class DirectDebitTransactionInformation18 {
@XmlElement(name = "PmtId", required = true)
protected PaymentIdentification1 pmtId;
@XmlElement(name = "PmtTpInf")
protected PaymentTypeInformation24 pmtTpInf;
@XmlElement(name = "InstdAmt", required = true)
protected ActiveOrHistoricCurrencyAndAmount instdAmt;
@XmlElement(name = "ChrgBr")
@XmlSchemaType(name = "string")
protected ChargeBearerType1Code chrgBr;
@XmlElement(name = "DrctDbtTx")
protected DirectDebitTransaction8 drctDbtTx;
@XmlElement(name = "UltmtCdtr")
protected PartyIdentification43 ultmtCdtr;
@XmlElement(name = "DbtrAgt", required = true)
protected BranchAndFinancialInstitutionIdentification5 dbtrAgt;
@XmlElement(name = "DbtrAgtAcct")
protected CashAccount24 dbtrAgtAcct;
@XmlElement(name = "Dbtr", required = true)
protected PartyIdentification43 dbtr;
@XmlElement(name = "DbtrAcct", required = true)
protected CashAccount24 dbtrAcct;
@XmlElement(name = "UltmtDbtr")
protected PartyIdentification43 ultmtDbtr;
@XmlElement(name = "InstrForCdtrAgt")
protected String instrForCdtrAgt;
@XmlElement(name = "Purp")
protected Purpose2Choice purp;
@XmlElement(name = "RgltryRptg")
protected List rgltryRptg;
@XmlElement(name = "Tax")
protected TaxInformation3 tax;
@XmlElement(name = "RltdRmtInf")
protected List rltdRmtInf;
@XmlElement(name = "RmtInf")
protected RemittanceInformation10 rmtInf;
@XmlElement(name = "SplmtryData")
protected List splmtryData;
/**
* Gets the value of the pmtId property.
*
* @return
* possible object is
* {@link PaymentIdentification1 }
*
*/
public PaymentIdentification1 getPmtId() {
return pmtId;
}
/**
* Sets the value of the pmtId property.
*
* @param value
* allowed object is
* {@link PaymentIdentification1 }
*
*/
public DirectDebitTransactionInformation18 setPmtId(PaymentIdentification1 value) {
this.pmtId = value;
return this;
}
/**
* Gets the value of the pmtTpInf property.
*
* @return
* possible object is
* {@link PaymentTypeInformation24 }
*
*/
public PaymentTypeInformation24 getPmtTpInf() {
return pmtTpInf;
}
/**
* Sets the value of the pmtTpInf property.
*
* @param value
* allowed object is
* {@link PaymentTypeInformation24 }
*
*/
public DirectDebitTransactionInformation18 setPmtTpInf(PaymentTypeInformation24 value) {
this.pmtTpInf = value;
return this;
}
/**
* Gets the value of the instdAmt property.
*
* @return
* possible object is
* {@link ActiveOrHistoricCurrencyAndAmount }
*
*/
public ActiveOrHistoricCurrencyAndAmount getInstdAmt() {
return instdAmt;
}
/**
* Sets the value of the instdAmt property.
*
* @param value
* allowed object is
* {@link ActiveOrHistoricCurrencyAndAmount }
*
*/
public DirectDebitTransactionInformation18 setInstdAmt(ActiveOrHistoricCurrencyAndAmount value) {
this.instdAmt = value;
return this;
}
/**
* Gets the value of the chrgBr property.
*
* @return
* possible object is
* {@link ChargeBearerType1Code }
*
*/
public ChargeBearerType1Code getChrgBr() {
return chrgBr;
}
/**
* Sets the value of the chrgBr property.
*
* @param value
* allowed object is
* {@link ChargeBearerType1Code }
*
*/
public DirectDebitTransactionInformation18 setChrgBr(ChargeBearerType1Code value) {
this.chrgBr = value;
return this;
}
/**
* Gets the value of the drctDbtTx property.
*
* @return
* possible object is
* {@link DirectDebitTransaction8 }
*
*/
public DirectDebitTransaction8 getDrctDbtTx() {
return drctDbtTx;
}
/**
* Sets the value of the drctDbtTx property.
*
* @param value
* allowed object is
* {@link DirectDebitTransaction8 }
*
*/
public DirectDebitTransactionInformation18 setDrctDbtTx(DirectDebitTransaction8 value) {
this.drctDbtTx = 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 DirectDebitTransactionInformation18 setUltmtCdtr(PartyIdentification43 value) {
this.ultmtCdtr = 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 DirectDebitTransactionInformation18 setDbtrAgt(BranchAndFinancialInstitutionIdentification5 value) {
this.dbtrAgt = value;
return this;
}
/**
* Gets the value of the dbtrAgtAcct property.
*
* @return
* possible object is
* {@link CashAccount24 }
*
*/
public CashAccount24 getDbtrAgtAcct() {
return dbtrAgtAcct;
}
/**
* Sets the value of the dbtrAgtAcct property.
*
* @param value
* allowed object is
* {@link CashAccount24 }
*
*/
public DirectDebitTransactionInformation18 setDbtrAgtAcct(CashAccount24 value) {
this.dbtrAgtAcct = 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 DirectDebitTransactionInformation18 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 DirectDebitTransactionInformation18 setDbtrAcct(CashAccount24 value) {
this.dbtrAcct = 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 DirectDebitTransactionInformation18 setUltmtDbtr(PartyIdentification43 value) {
this.ultmtDbtr = value;
return this;
}
/**
* Gets the value of the instrForCdtrAgt property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getInstrForCdtrAgt() {
return instrForCdtrAgt;
}
/**
* Sets the value of the instrForCdtrAgt property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public DirectDebitTransactionInformation18 setInstrForCdtrAgt(String value) {
this.instrForCdtrAgt = value;
return this;
}
/**
* Gets the value of the purp property.
*
* @return
* possible object is
* {@link Purpose2Choice }
*
*/
public Purpose2Choice getPurp() {
return purp;
}
/**
* Sets the value of the purp property.
*
* @param value
* allowed object is
* {@link Purpose2Choice }
*
*/
public DirectDebitTransactionInformation18 setPurp(Purpose2Choice value) {
this.purp = value;
return this;
}
/**
* Gets the value of the rgltryRptg 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 rgltryRptg property.
*
*
* For example, to add a new item, do as follows:
*
* getRgltryRptg().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link RegulatoryReporting3 }
*
*
*/
public List getRgltryRptg() {
if (rgltryRptg == null) {
rgltryRptg = new ArrayList();
}
return this.rgltryRptg;
}
/**
* Gets the value of the tax property.
*
* @return
* possible object is
* {@link TaxInformation3 }
*
*/
public TaxInformation3 getTax() {
return tax;
}
/**
* Sets the value of the tax property.
*
* @param value
* allowed object is
* {@link TaxInformation3 }
*
*/
public DirectDebitTransactionInformation18 setTax(TaxInformation3 value) {
this.tax = value;
return this;
}
/**
* Gets the value of the rltdRmtInf 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 rltdRmtInf property.
*
*
* For example, to add a new item, do as follows:
*
* getRltdRmtInf().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link RemittanceLocation4 }
*
*
*/
public List getRltdRmtInf() {
if (rltdRmtInf == null) {
rltdRmtInf = new ArrayList();
}
return this.rltdRmtInf;
}
/**
* Gets the value of the rmtInf property.
*
* @return
* possible object is
* {@link RemittanceInformation10 }
*
*/
public RemittanceInformation10 getRmtInf() {
return rmtInf;
}
/**
* Sets the value of the rmtInf property.
*
* @param value
* allowed object is
* {@link RemittanceInformation10 }
*
*/
public DirectDebitTransactionInformation18 setRmtInf(RemittanceInformation10 value) {
this.rmtInf = 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 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 rgltryRptg list.
* @see #getRgltryRptg()
*
*/
public DirectDebitTransactionInformation18 addRgltryRptg(RegulatoryReporting3 rgltryRptg) {
getRgltryRptg().add(rgltryRptg);
return this;
}
/**
* Adds a new item to the rltdRmtInf list.
* @see #getRltdRmtInf()
*
*/
public DirectDebitTransactionInformation18 addRltdRmtInf(RemittanceLocation4 rltdRmtInf) {
getRltdRmtInf().add(rltdRmtInf);
return this;
}
/**
* Adds a new item to the splmtryData list.
* @see #getSplmtryData()
*
*/
public DirectDebitTransactionInformation18 addSplmtryData(SupplementaryData1 splmtryData) {
getSplmtryData().add(splmtryData);
return this;
}
}