com.prowidesoftware.swift.model.mx.dic.PaymentInstruction34 Maven / Gradle / Ivy
Show all versions of pw-iso20022 Show documentation
package com.prowidesoftware.swift.model.mx.dic;
import java.math.BigDecimal;
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 javax.xml.datatype.XMLGregorianCalendar;
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;
/**
* Characteristics that apply to the debit side of the payment transactions included in the credit transfer initiation.
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "PaymentInstruction34", propOrder = {
"pmtInfId",
"pmtMtd",
"reqdAdvcTp",
"btchBookg",
"nbOfTxs",
"ctrlSum",
"pmtTpInf",
"reqdExctnDt",
"poolgAdjstmntDt",
"dbtr",
"dbtrAcct",
"dbtrAgt",
"dbtrAgtAcct",
"instrForDbtrAgt",
"ultmtDbtr",
"chrgBr",
"chrgsAcct",
"chrgsAcctAgt",
"cdtTrfTxInf"
})
public class PaymentInstruction34 {
@XmlElement(name = "PmtInfId", required = true)
protected String pmtInfId;
@XmlElement(name = "PmtMtd", required = true)
@XmlSchemaType(name = "string")
protected PaymentMethod3Code pmtMtd;
@XmlElement(name = "ReqdAdvcTp")
protected AdviceType1 reqdAdvcTp;
@XmlElement(name = "BtchBookg")
protected Boolean btchBookg;
@XmlElement(name = "NbOfTxs")
protected String nbOfTxs;
@XmlElement(name = "CtrlSum")
protected BigDecimal ctrlSum;
@XmlElement(name = "PmtTpInf")
protected PaymentTypeInformation26 pmtTpInf;
@XmlElement(name = "ReqdExctnDt", required = true)
protected DateAndDateTime2Choice reqdExctnDt;
@XmlElement(name = "PoolgAdjstmntDt")
@XmlSchemaType(name = "date")
protected XMLGregorianCalendar poolgAdjstmntDt;
@XmlElement(name = "Dbtr", required = true)
protected PartyIdentification135 dbtr;
@XmlElement(name = "DbtrAcct", required = true)
protected CashAccount38 dbtrAcct;
@XmlElement(name = "DbtrAgt", required = true)
protected BranchAndFinancialInstitutionIdentification6 dbtrAgt;
@XmlElement(name = "DbtrAgtAcct")
protected CashAccount38 dbtrAgtAcct;
@XmlElement(name = "InstrForDbtrAgt")
protected String instrForDbtrAgt;
@XmlElement(name = "UltmtDbtr")
protected PartyIdentification135 ultmtDbtr;
@XmlElement(name = "ChrgBr")
@XmlSchemaType(name = "string")
protected ChargeBearerType1Code chrgBr;
@XmlElement(name = "ChrgsAcct")
protected CashAccount38 chrgsAcct;
@XmlElement(name = "ChrgsAcctAgt")
protected BranchAndFinancialInstitutionIdentification6 chrgsAcctAgt;
@XmlElement(name = "CdtTrfTxInf", required = true)
protected List cdtTrfTxInf;
/**
* Gets the value of the pmtInfId property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getPmtInfId() {
return pmtInfId;
}
/**
* Sets the value of the pmtInfId property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public PaymentInstruction34 setPmtInfId(String value) {
this.pmtInfId = value;
return this;
}
/**
* Gets the value of the pmtMtd property.
*
* @return
* possible object is
* {@link PaymentMethod3Code }
*
*/
public PaymentMethod3Code getPmtMtd() {
return pmtMtd;
}
/**
* Sets the value of the pmtMtd property.
*
* @param value
* allowed object is
* {@link PaymentMethod3Code }
*
*/
public PaymentInstruction34 setPmtMtd(PaymentMethod3Code value) {
this.pmtMtd = value;
return this;
}
/**
* Gets the value of the reqdAdvcTp property.
*
* @return
* possible object is
* {@link AdviceType1 }
*
*/
public AdviceType1 getReqdAdvcTp() {
return reqdAdvcTp;
}
/**
* Sets the value of the reqdAdvcTp property.
*
* @param value
* allowed object is
* {@link AdviceType1 }
*
*/
public PaymentInstruction34 setReqdAdvcTp(AdviceType1 value) {
this.reqdAdvcTp = value;
return this;
}
/**
* Gets the value of the btchBookg property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean isBtchBookg() {
return btchBookg;
}
/**
* Sets the value of the btchBookg property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public PaymentInstruction34 setBtchBookg(Boolean value) {
this.btchBookg = value;
return this;
}
/**
* Gets the value of the nbOfTxs property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getNbOfTxs() {
return nbOfTxs;
}
/**
* Sets the value of the nbOfTxs property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public PaymentInstruction34 setNbOfTxs(String value) {
this.nbOfTxs = value;
return this;
}
/**
* Gets the value of the ctrlSum property.
*
* @return
* possible object is
* {@link BigDecimal }
*
*/
public BigDecimal getCtrlSum() {
return ctrlSum;
}
/**
* Sets the value of the ctrlSum property.
*
* @param value
* allowed object is
* {@link BigDecimal }
*
*/
public PaymentInstruction34 setCtrlSum(BigDecimal value) {
this.ctrlSum = value;
return this;
}
/**
* Gets the value of the pmtTpInf property.
*
* @return
* possible object is
* {@link PaymentTypeInformation26 }
*
*/
public PaymentTypeInformation26 getPmtTpInf() {
return pmtTpInf;
}
/**
* Sets the value of the pmtTpInf property.
*
* @param value
* allowed object is
* {@link PaymentTypeInformation26 }
*
*/
public PaymentInstruction34 setPmtTpInf(PaymentTypeInformation26 value) {
this.pmtTpInf = value;
return this;
}
/**
* Gets the value of the reqdExctnDt property.
*
* @return
* possible object is
* {@link DateAndDateTime2Choice }
*
*/
public DateAndDateTime2Choice getReqdExctnDt() {
return reqdExctnDt;
}
/**
* Sets the value of the reqdExctnDt property.
*
* @param value
* allowed object is
* {@link DateAndDateTime2Choice }
*
*/
public PaymentInstruction34 setReqdExctnDt(DateAndDateTime2Choice value) {
this.reqdExctnDt = value;
return this;
}
/**
* Gets the value of the poolgAdjstmntDt property.
*
* @return
* possible object is
* {@link XMLGregorianCalendar }
*
*/
public XMLGregorianCalendar getPoolgAdjstmntDt() {
return poolgAdjstmntDt;
}
/**
* Sets the value of the poolgAdjstmntDt property.
*
* @param value
* allowed object is
* {@link XMLGregorianCalendar }
*
*/
public PaymentInstruction34 setPoolgAdjstmntDt(XMLGregorianCalendar value) {
this.poolgAdjstmntDt = value;
return this;
}
/**
* Gets the value of the dbtr property.
*
* @return
* possible object is
* {@link PartyIdentification135 }
*
*/
public PartyIdentification135 getDbtr() {
return dbtr;
}
/**
* Sets the value of the dbtr property.
*
* @param value
* allowed object is
* {@link PartyIdentification135 }
*
*/
public PaymentInstruction34 setDbtr(PartyIdentification135 value) {
this.dbtr = value;
return this;
}
/**
* Gets the value of the dbtrAcct property.
*
* @return
* possible object is
* {@link CashAccount38 }
*
*/
public CashAccount38 getDbtrAcct() {
return dbtrAcct;
}
/**
* Sets the value of the dbtrAcct property.
*
* @param value
* allowed object is
* {@link CashAccount38 }
*
*/
public PaymentInstruction34 setDbtrAcct(CashAccount38 value) {
this.dbtrAcct = value;
return this;
}
/**
* Gets the value of the dbtrAgt property.
*
* @return
* possible object is
* {@link BranchAndFinancialInstitutionIdentification6 }
*
*/
public BranchAndFinancialInstitutionIdentification6 getDbtrAgt() {
return dbtrAgt;
}
/**
* Sets the value of the dbtrAgt property.
*
* @param value
* allowed object is
* {@link BranchAndFinancialInstitutionIdentification6 }
*
*/
public PaymentInstruction34 setDbtrAgt(BranchAndFinancialInstitutionIdentification6 value) {
this.dbtrAgt = value;
return this;
}
/**
* Gets the value of the dbtrAgtAcct property.
*
* @return
* possible object is
* {@link CashAccount38 }
*
*/
public CashAccount38 getDbtrAgtAcct() {
return dbtrAgtAcct;
}
/**
* Sets the value of the dbtrAgtAcct property.
*
* @param value
* allowed object is
* {@link CashAccount38 }
*
*/
public PaymentInstruction34 setDbtrAgtAcct(CashAccount38 value) {
this.dbtrAgtAcct = value;
return this;
}
/**
* Gets the value of the instrForDbtrAgt property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getInstrForDbtrAgt() {
return instrForDbtrAgt;
}
/**
* Sets the value of the instrForDbtrAgt property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public PaymentInstruction34 setInstrForDbtrAgt(String value) {
this.instrForDbtrAgt = value;
return this;
}
/**
* Gets the value of the ultmtDbtr property.
*
* @return
* possible object is
* {@link PartyIdentification135 }
*
*/
public PartyIdentification135 getUltmtDbtr() {
return ultmtDbtr;
}
/**
* Sets the value of the ultmtDbtr property.
*
* @param value
* allowed object is
* {@link PartyIdentification135 }
*
*/
public PaymentInstruction34 setUltmtDbtr(PartyIdentification135 value) {
this.ultmtDbtr = 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 PaymentInstruction34 setChrgBr(ChargeBearerType1Code value) {
this.chrgBr = value;
return this;
}
/**
* Gets the value of the chrgsAcct property.
*
* @return
* possible object is
* {@link CashAccount38 }
*
*/
public CashAccount38 getChrgsAcct() {
return chrgsAcct;
}
/**
* Sets the value of the chrgsAcct property.
*
* @param value
* allowed object is
* {@link CashAccount38 }
*
*/
public PaymentInstruction34 setChrgsAcct(CashAccount38 value) {
this.chrgsAcct = value;
return this;
}
/**
* Gets the value of the chrgsAcctAgt property.
*
* @return
* possible object is
* {@link BranchAndFinancialInstitutionIdentification6 }
*
*/
public BranchAndFinancialInstitutionIdentification6 getChrgsAcctAgt() {
return chrgsAcctAgt;
}
/**
* Sets the value of the chrgsAcctAgt property.
*
* @param value
* allowed object is
* {@link BranchAndFinancialInstitutionIdentification6 }
*
*/
public PaymentInstruction34 setChrgsAcctAgt(BranchAndFinancialInstitutionIdentification6 value) {
this.chrgsAcctAgt = value;
return this;
}
/**
* Gets the value of the cdtTrfTxInf 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 cdtTrfTxInf property.
*
*
* For example, to add a new item, do as follows:
*
* getCdtTrfTxInf().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link CreditTransferTransaction40 }
*
*
*/
public List getCdtTrfTxInf() {
if (cdtTrfTxInf == null) {
cdtTrfTxInf = new ArrayList();
}
return this.cdtTrfTxInf;
}
@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 cdtTrfTxInf list.
* @see #getCdtTrfTxInf()
*
*/
public PaymentInstruction34 addCdtTrfTxInf(CreditTransferTransaction40 cdtTrfTxInf) {
getCdtTrfTxInf().add(cdtTrfTxInf);
return this;
}
}