com.prowidesoftware.swift.model.mx.dic.DirectDebitTransactionInformation1 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;
/**
* Set of characteristics that apply to the the direct debit transaction(s).
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "DirectDebitTransactionInformation1", propOrder = {
"pmtId",
"pmtTpInf",
"instdAmt",
"chrgBr",
"drctDbtTx",
"ultmtCdtr",
"dbtrAgt",
"dbtrAgtAcct",
"dbtr",
"dbtrAcct",
"ultmtDbtr",
"instrForCdtrAgt",
"purp",
"rgltryRptg",
"tax",
"rltdRmtInf",
"rmtInf"
})
public class DirectDebitTransactionInformation1 {
@XmlElement(name = "PmtId", required = true)
protected PaymentIdentification1 pmtId;
@XmlElement(name = "PmtTpInf")
protected PaymentTypeInformation2 pmtTpInf;
@XmlElement(name = "InstdAmt", required = true)
protected CurrencyAndAmount instdAmt;
@XmlElement(name = "ChrgBr")
@XmlSchemaType(name = "string")
protected ChargeBearerType1Code chrgBr;
@XmlElement(name = "DrctDbtTx")
protected DirectDebitTransaction1 drctDbtTx;
@XmlElement(name = "UltmtCdtr")
protected PartyIdentification8 ultmtCdtr;
@XmlElement(name = "DbtrAgt", required = true)
protected BranchAndFinancialInstitutionIdentification3 dbtrAgt;
@XmlElement(name = "DbtrAgtAcct")
protected CashAccount7 dbtrAgtAcct;
@XmlElement(name = "Dbtr", required = true)
protected PartyIdentification8 dbtr;
@XmlElement(name = "DbtrAcct", required = true)
protected CashAccount7 dbtrAcct;
@XmlElement(name = "UltmtDbtr")
protected PartyIdentification8 ultmtDbtr;
@XmlElement(name = "InstrForCdtrAgt")
protected String instrForCdtrAgt;
@XmlElement(name = "Purp")
protected Purpose1Choice purp;
@XmlElement(name = "RgltryRptg")
protected List rgltryRptg;
@XmlElement(name = "Tax")
protected TaxInformation2 tax;
@XmlElement(name = "RltdRmtInf")
protected List rltdRmtInf;
@XmlElement(name = "RmtInf")
protected RemittanceInformation1 rmtInf;
/**
* 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 DirectDebitTransactionInformation1 setPmtId(PaymentIdentification1 value) {
this.pmtId = value;
return this;
}
/**
* Gets the value of the pmtTpInf property.
*
* @return
* possible object is
* {@link PaymentTypeInformation2 }
*
*/
public PaymentTypeInformation2 getPmtTpInf() {
return pmtTpInf;
}
/**
* Sets the value of the pmtTpInf property.
*
* @param value
* allowed object is
* {@link PaymentTypeInformation2 }
*
*/
public DirectDebitTransactionInformation1 setPmtTpInf(PaymentTypeInformation2 value) {
this.pmtTpInf = value;
return this;
}
/**
* Gets the value of the instdAmt property.
*
* @return
* possible object is
* {@link CurrencyAndAmount }
*
*/
public CurrencyAndAmount getInstdAmt() {
return instdAmt;
}
/**
* Sets the value of the instdAmt property.
*
* @param value
* allowed object is
* {@link CurrencyAndAmount }
*
*/
public DirectDebitTransactionInformation1 setInstdAmt(CurrencyAndAmount 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 DirectDebitTransactionInformation1 setChrgBr(ChargeBearerType1Code value) {
this.chrgBr = value;
return this;
}
/**
* Gets the value of the drctDbtTx property.
*
* @return
* possible object is
* {@link DirectDebitTransaction1 }
*
*/
public DirectDebitTransaction1 getDrctDbtTx() {
return drctDbtTx;
}
/**
* Sets the value of the drctDbtTx property.
*
* @param value
* allowed object is
* {@link DirectDebitTransaction1 }
*
*/
public DirectDebitTransactionInformation1 setDrctDbtTx(DirectDebitTransaction1 value) {
this.drctDbtTx = value;
return this;
}
/**
* Gets the value of the ultmtCdtr property.
*
* @return
* possible object is
* {@link PartyIdentification8 }
*
*/
public PartyIdentification8 getUltmtCdtr() {
return ultmtCdtr;
}
/**
* Sets the value of the ultmtCdtr property.
*
* @param value
* allowed object is
* {@link PartyIdentification8 }
*
*/
public DirectDebitTransactionInformation1 setUltmtCdtr(PartyIdentification8 value) {
this.ultmtCdtr = value;
return this;
}
/**
* Gets the value of the dbtrAgt property.
*
* @return
* possible object is
* {@link BranchAndFinancialInstitutionIdentification3 }
*
*/
public BranchAndFinancialInstitutionIdentification3 getDbtrAgt() {
return dbtrAgt;
}
/**
* Sets the value of the dbtrAgt property.
*
* @param value
* allowed object is
* {@link BranchAndFinancialInstitutionIdentification3 }
*
*/
public DirectDebitTransactionInformation1 setDbtrAgt(BranchAndFinancialInstitutionIdentification3 value) {
this.dbtrAgt = value;
return this;
}
/**
* Gets the value of the dbtrAgtAcct property.
*
* @return
* possible object is
* {@link CashAccount7 }
*
*/
public CashAccount7 getDbtrAgtAcct() {
return dbtrAgtAcct;
}
/**
* Sets the value of the dbtrAgtAcct property.
*
* @param value
* allowed object is
* {@link CashAccount7 }
*
*/
public DirectDebitTransactionInformation1 setDbtrAgtAcct(CashAccount7 value) {
this.dbtrAgtAcct = value;
return this;
}
/**
* Gets the value of the dbtr property.
*
* @return
* possible object is
* {@link PartyIdentification8 }
*
*/
public PartyIdentification8 getDbtr() {
return dbtr;
}
/**
* Sets the value of the dbtr property.
*
* @param value
* allowed object is
* {@link PartyIdentification8 }
*
*/
public DirectDebitTransactionInformation1 setDbtr(PartyIdentification8 value) {
this.dbtr = value;
return this;
}
/**
* Gets the value of the dbtrAcct property.
*
* @return
* possible object is
* {@link CashAccount7 }
*
*/
public CashAccount7 getDbtrAcct() {
return dbtrAcct;
}
/**
* Sets the value of the dbtrAcct property.
*
* @param value
* allowed object is
* {@link CashAccount7 }
*
*/
public DirectDebitTransactionInformation1 setDbtrAcct(CashAccount7 value) {
this.dbtrAcct = value;
return this;
}
/**
* Gets the value of the ultmtDbtr property.
*
* @return
* possible object is
* {@link PartyIdentification8 }
*
*/
public PartyIdentification8 getUltmtDbtr() {
return ultmtDbtr;
}
/**
* Sets the value of the ultmtDbtr property.
*
* @param value
* allowed object is
* {@link PartyIdentification8 }
*
*/
public DirectDebitTransactionInformation1 setUltmtDbtr(PartyIdentification8 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 DirectDebitTransactionInformation1 setInstrForCdtrAgt(String value) {
this.instrForCdtrAgt = value;
return this;
}
/**
* Gets the value of the purp property.
*
* @return
* possible object is
* {@link Purpose1Choice }
*
*/
public Purpose1Choice getPurp() {
return purp;
}
/**
* Sets the value of the purp property.
*
* @param value
* allowed object is
* {@link Purpose1Choice }
*
*/
public DirectDebitTransactionInformation1 setPurp(Purpose1Choice 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 RegulatoryReporting2 }
*
*
*/
public List getRgltryRptg() {
if (rgltryRptg == null) {
rgltryRptg = new ArrayList();
}
return this.rgltryRptg;
}
/**
* Gets the value of the tax property.
*
* @return
* possible object is
* {@link TaxInformation2 }
*
*/
public TaxInformation2 getTax() {
return tax;
}
/**
* Sets the value of the tax property.
*
* @param value
* allowed object is
* {@link TaxInformation2 }
*
*/
public DirectDebitTransactionInformation1 setTax(TaxInformation2 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 RemittanceLocation1 }
*
*
*/
public List getRltdRmtInf() {
if (rltdRmtInf == null) {
rltdRmtInf = new ArrayList();
}
return this.rltdRmtInf;
}
/**
* Gets the value of the rmtInf property.
*
* @return
* possible object is
* {@link RemittanceInformation1 }
*
*/
public RemittanceInformation1 getRmtInf() {
return rmtInf;
}
/**
* Sets the value of the rmtInf property.
*
* @param value
* allowed object is
* {@link RemittanceInformation1 }
*
*/
public DirectDebitTransactionInformation1 setRmtInf(RemittanceInformation1 value) {
this.rmtInf = value;
return this;
}
@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 DirectDebitTransactionInformation1 addRgltryRptg(RegulatoryReporting2 rgltryRptg) {
getRgltryRptg().add(rgltryRptg);
return this;
}
/**
* Adds a new item to the rltdRmtInf list.
* @see #getRltdRmtInf()
*
*/
public DirectDebitTransactionInformation1 addRltdRmtInf(RemittanceLocation1 rltdRmtInf) {
getRltdRmtInf().add(rltdRmtInf);
return this;
}
}