com.prowidesoftware.swift.model.mx.dic.RequestedModification6 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 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;
/**
* Provide further details on the requested modifications of the underlying payment instruction.
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "RequestedModification6", propOrder = {
"instrId",
"endToEndId",
"txId",
"pmtTpInf",
"reqdExctnDt",
"reqdColltnDt",
"intrBkSttlmDt",
"amt",
"intrBkSttlmAmt",
"chrgBr",
"ultmtDbtr",
"dbtr",
"dbtrAcct",
"dbtrAgtAcct",
"sttlmInf",
"cdtrAgtAcct",
"cdtr",
"cdtrAcct",
"ultmtCdtr",
"purp",
"instrForDbtrAgt",
"instrForNxtAgt",
"instrForCdtrAgt",
"rmtInf"
})
public class RequestedModification6 {
@XmlElement(name = "InstrId")
protected String instrId;
@XmlElement(name = "EndToEndId")
protected String endToEndId;
@XmlElement(name = "TxId")
protected String txId;
@XmlElement(name = "PmtTpInf")
protected PaymentTypeInformation25 pmtTpInf;
@XmlElement(name = "ReqdExctnDt")
protected DateAndDateTimeChoice reqdExctnDt;
@XmlElement(name = "ReqdColltnDt")
@XmlSchemaType(name = "date")
protected XMLGregorianCalendar reqdColltnDt;
@XmlElement(name = "IntrBkSttlmDt")
@XmlSchemaType(name = "date")
protected XMLGregorianCalendar intrBkSttlmDt;
@XmlElement(name = "Amt")
protected AmountType4Choice amt;
@XmlElement(name = "IntrBkSttlmAmt")
protected ActiveOrHistoricCurrencyAndAmount intrBkSttlmAmt;
@XmlElement(name = "ChrgBr")
@XmlSchemaType(name = "string")
protected ChargeBearerType1Code chrgBr;
@XmlElement(name = "UltmtDbtr")
protected PartyIdentification43 ultmtDbtr;
@XmlElement(name = "Dbtr")
protected PartyIdentification43 dbtr;
@XmlElement(name = "DbtrAcct")
protected CashAccount24 dbtrAcct;
@XmlElement(name = "DbtrAgtAcct")
protected CashAccount24 dbtrAgtAcct;
@XmlElement(name = "SttlmInf")
protected SettlementInstruction3 sttlmInf;
@XmlElement(name = "CdtrAgtAcct")
protected CashAccount24 cdtrAgtAcct;
@XmlElement(name = "Cdtr")
protected PartyIdentification43 cdtr;
@XmlElement(name = "CdtrAcct")
protected CashAccount24 cdtrAcct;
@XmlElement(name = "UltmtCdtr")
protected PartyIdentification43 ultmtCdtr;
@XmlElement(name = "Purp")
protected Purpose2Choice purp;
@XmlElement(name = "InstrForDbtrAgt")
protected String instrForDbtrAgt;
@XmlElement(name = "InstrForNxtAgt")
protected List instrForNxtAgt;
@XmlElement(name = "InstrForCdtrAgt")
protected List instrForCdtrAgt;
@XmlElement(name = "RmtInf")
protected RemittanceInformation11 rmtInf;
/**
* Gets the value of the instrId property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getInstrId() {
return instrId;
}
/**
* Sets the value of the instrId property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public RequestedModification6 setInstrId(String value) {
this.instrId = value;
return this;
}
/**
* Gets the value of the endToEndId property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getEndToEndId() {
return endToEndId;
}
/**
* Sets the value of the endToEndId property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public RequestedModification6 setEndToEndId(String value) {
this.endToEndId = value;
return this;
}
/**
* Gets the value of the txId property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getTxId() {
return txId;
}
/**
* Sets the value of the txId property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public RequestedModification6 setTxId(String value) {
this.txId = value;
return this;
}
/**
* Gets the value of the pmtTpInf property.
*
* @return
* possible object is
* {@link PaymentTypeInformation25 }
*
*/
public PaymentTypeInformation25 getPmtTpInf() {
return pmtTpInf;
}
/**
* Sets the value of the pmtTpInf property.
*
* @param value
* allowed object is
* {@link PaymentTypeInformation25 }
*
*/
public RequestedModification6 setPmtTpInf(PaymentTypeInformation25 value) {
this.pmtTpInf = value;
return this;
}
/**
* Gets the value of the reqdExctnDt property.
*
* @return
* possible object is
* {@link DateAndDateTimeChoice }
*
*/
public DateAndDateTimeChoice getReqdExctnDt() {
return reqdExctnDt;
}
/**
* Sets the value of the reqdExctnDt property.
*
* @param value
* allowed object is
* {@link DateAndDateTimeChoice }
*
*/
public RequestedModification6 setReqdExctnDt(DateAndDateTimeChoice value) {
this.reqdExctnDt = value;
return this;
}
/**
* Gets the value of the reqdColltnDt property.
*
* @return
* possible object is
* {@link XMLGregorianCalendar }
*
*/
public XMLGregorianCalendar getReqdColltnDt() {
return reqdColltnDt;
}
/**
* Sets the value of the reqdColltnDt property.
*
* @param value
* allowed object is
* {@link XMLGregorianCalendar }
*
*/
public RequestedModification6 setReqdColltnDt(XMLGregorianCalendar value) {
this.reqdColltnDt = value;
return this;
}
/**
* Gets the value of the intrBkSttlmDt property.
*
* @return
* possible object is
* {@link XMLGregorianCalendar }
*
*/
public XMLGregorianCalendar getIntrBkSttlmDt() {
return intrBkSttlmDt;
}
/**
* Sets the value of the intrBkSttlmDt property.
*
* @param value
* allowed object is
* {@link XMLGregorianCalendar }
*
*/
public RequestedModification6 setIntrBkSttlmDt(XMLGregorianCalendar value) {
this.intrBkSttlmDt = value;
return this;
}
/**
* Gets the value of the amt property.
*
* @return
* possible object is
* {@link AmountType4Choice }
*
*/
public AmountType4Choice getAmt() {
return amt;
}
/**
* Sets the value of the amt property.
*
* @param value
* allowed object is
* {@link AmountType4Choice }
*
*/
public RequestedModification6 setAmt(AmountType4Choice value) {
this.amt = value;
return this;
}
/**
* Gets the value of the intrBkSttlmAmt property.
*
* @return
* possible object is
* {@link ActiveOrHistoricCurrencyAndAmount }
*
*/
public ActiveOrHistoricCurrencyAndAmount getIntrBkSttlmAmt() {
return intrBkSttlmAmt;
}
/**
* Sets the value of the intrBkSttlmAmt property.
*
* @param value
* allowed object is
* {@link ActiveOrHistoricCurrencyAndAmount }
*
*/
public RequestedModification6 setIntrBkSttlmAmt(ActiveOrHistoricCurrencyAndAmount value) {
this.intrBkSttlmAmt = 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 RequestedModification6 setChrgBr(ChargeBearerType1Code value) {
this.chrgBr = 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 RequestedModification6 setUltmtDbtr(PartyIdentification43 value) {
this.ultmtDbtr = 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 RequestedModification6 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 RequestedModification6 setDbtrAcct(CashAccount24 value) {
this.dbtrAcct = 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 RequestedModification6 setDbtrAgtAcct(CashAccount24 value) {
this.dbtrAgtAcct = value;
return this;
}
/**
* Gets the value of the sttlmInf property.
*
* @return
* possible object is
* {@link SettlementInstruction3 }
*
*/
public SettlementInstruction3 getSttlmInf() {
return sttlmInf;
}
/**
* Sets the value of the sttlmInf property.
*
* @param value
* allowed object is
* {@link SettlementInstruction3 }
*
*/
public RequestedModification6 setSttlmInf(SettlementInstruction3 value) {
this.sttlmInf = value;
return this;
}
/**
* Gets the value of the cdtrAgtAcct property.
*
* @return
* possible object is
* {@link CashAccount24 }
*
*/
public CashAccount24 getCdtrAgtAcct() {
return cdtrAgtAcct;
}
/**
* Sets the value of the cdtrAgtAcct property.
*
* @param value
* allowed object is
* {@link CashAccount24 }
*
*/
public RequestedModification6 setCdtrAgtAcct(CashAccount24 value) {
this.cdtrAgtAcct = 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 RequestedModification6 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 RequestedModification6 setCdtrAcct(CashAccount24 value) {
this.cdtrAcct = 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 RequestedModification6 setUltmtCdtr(PartyIdentification43 value) {
this.ultmtCdtr = 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 RequestedModification6 setPurp(Purpose2Choice value) {
this.purp = 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 RequestedModification6 setInstrForDbtrAgt(String value) {
this.instrForDbtrAgt = value;
return this;
}
/**
* Gets the value of the instrForNxtAgt 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 instrForNxtAgt property.
*
*
* For example, to add a new item, do as follows:
*
* getInstrForNxtAgt().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link InstructionForNextAgent1 }
*
*
*/
public List getInstrForNxtAgt() {
if (instrForNxtAgt == null) {
instrForNxtAgt = new ArrayList();
}
return this.instrForNxtAgt;
}
/**
* Gets the value of the instrForCdtrAgt 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 instrForCdtrAgt property.
*
*
* For example, to add a new item, do as follows:
*
* getInstrForCdtrAgt().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link InstructionForCreditorAgent1 }
*
*
*/
public List getInstrForCdtrAgt() {
if (instrForCdtrAgt == null) {
instrForCdtrAgt = new ArrayList();
}
return this.instrForCdtrAgt;
}
/**
* Gets the value of the rmtInf property.
*
* @return
* possible object is
* {@link RemittanceInformation11 }
*
*/
public RemittanceInformation11 getRmtInf() {
return rmtInf;
}
/**
* Sets the value of the rmtInf property.
*
* @param value
* allowed object is
* {@link RemittanceInformation11 }
*
*/
public RequestedModification6 setRmtInf(RemittanceInformation11 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 instrForNxtAgt list.
* @see #getInstrForNxtAgt()
*
*/
public RequestedModification6 addInstrForNxtAgt(InstructionForNextAgent1 instrForNxtAgt) {
getInstrForNxtAgt().add(instrForNxtAgt);
return this;
}
/**
* Adds a new item to the instrForCdtrAgt list.
* @see #getInstrForCdtrAgt()
*
*/
public RequestedModification6 addInstrForCdtrAgt(InstructionForCreditorAgent1 instrForCdtrAgt) {
getInstrForCdtrAgt().add(instrForCdtrAgt);
return this;
}
}