com.prowidesoftware.swift.model.mx.dic.PaymentInstruction31 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;
/**
* Instruction to pay an amount of money to an ultimate beneficiary, on behalf of an originator. This instruction may have to be forwarded several times to complete the settlement chain.
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "PaymentInstruction31", propOrder = {
"pmtInfId",
"pmtMtd",
"pmtTpInf",
"reqdExctnDt",
"xpryDt",
"pmtCond",
"dbtr",
"dbtrAcct",
"dbtrAgt",
"ultmtDbtr",
"chrgBr",
"cdtTrfTx"
})
public class PaymentInstruction31 {
@XmlElement(name = "PmtInfId")
protected String pmtInfId;
@XmlElement(name = "PmtMtd", required = true)
@XmlSchemaType(name = "string")
protected PaymentMethod7Code pmtMtd;
@XmlElement(name = "PmtTpInf")
protected PaymentTypeInformation26 pmtTpInf;
@XmlElement(name = "ReqdExctnDt", required = true)
protected DateAndDateTime2Choice reqdExctnDt;
@XmlElement(name = "XpryDt")
protected DateAndDateTime2Choice xpryDt;
@XmlElement(name = "PmtCond")
protected PaymentCondition1 pmtCond;
@XmlElement(name = "Dbtr", required = true)
protected PartyIdentification135 dbtr;
@XmlElement(name = "DbtrAcct")
protected CashAccount38 dbtrAcct;
@XmlElement(name = "DbtrAgt", required = true)
protected BranchAndFinancialInstitutionIdentification6 dbtrAgt;
@XmlElement(name = "UltmtDbtr")
protected PartyIdentification135 ultmtDbtr;
@XmlElement(name = "ChrgBr")
@XmlSchemaType(name = "string")
protected ChargeBearerType1Code chrgBr;
@XmlElement(name = "CdtTrfTx", required = true)
protected List cdtTrfTx;
/**
* 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 PaymentInstruction31 setPmtInfId(String value) {
this.pmtInfId = value;
return this;
}
/**
* Gets the value of the pmtMtd property.
*
* @return
* possible object is
* {@link PaymentMethod7Code }
*
*/
public PaymentMethod7Code getPmtMtd() {
return pmtMtd;
}
/**
* Sets the value of the pmtMtd property.
*
* @param value
* allowed object is
* {@link PaymentMethod7Code }
*
*/
public PaymentInstruction31 setPmtMtd(PaymentMethod7Code value) {
this.pmtMtd = 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 PaymentInstruction31 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 PaymentInstruction31 setReqdExctnDt(DateAndDateTime2Choice value) {
this.reqdExctnDt = value;
return this;
}
/**
* Gets the value of the xpryDt property.
*
* @return
* possible object is
* {@link DateAndDateTime2Choice }
*
*/
public DateAndDateTime2Choice getXpryDt() {
return xpryDt;
}
/**
* Sets the value of the xpryDt property.
*
* @param value
* allowed object is
* {@link DateAndDateTime2Choice }
*
*/
public PaymentInstruction31 setXpryDt(DateAndDateTime2Choice value) {
this.xpryDt = value;
return this;
}
/**
* Gets the value of the pmtCond property.
*
* @return
* possible object is
* {@link PaymentCondition1 }
*
*/
public PaymentCondition1 getPmtCond() {
return pmtCond;
}
/**
* Sets the value of the pmtCond property.
*
* @param value
* allowed object is
* {@link PaymentCondition1 }
*
*/
public PaymentInstruction31 setPmtCond(PaymentCondition1 value) {
this.pmtCond = 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 PaymentInstruction31 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 PaymentInstruction31 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 PaymentInstruction31 setDbtrAgt(BranchAndFinancialInstitutionIdentification6 value) {
this.dbtrAgt = 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 PaymentInstruction31 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 PaymentInstruction31 setChrgBr(ChargeBearerType1Code value) {
this.chrgBr = value;
return this;
}
/**
* Gets the value of the cdtTrfTx 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 cdtTrfTx property.
*
*
* For example, to add a new item, do as follows:
*
* getCdtTrfTx().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link CreditTransferTransaction35 }
*
*
*/
public List getCdtTrfTx() {
if (cdtTrfTx == null) {
cdtTrfTx = new ArrayList();
}
return this.cdtTrfTx;
}
@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 cdtTrfTx list.
* @see #getCdtTrfTx()
*
*/
public PaymentInstruction31 addCdtTrfTx(CreditTransferTransaction35 cdtTrfTx) {
getCdtTrfTx().add(cdtTrfTx);
return this;
}
}