
com.prowidesoftware.swift.model.mx.dic.CreditTransferTransaction9 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;
/**
* Provides further details specific to the individual transaction(s) included in the message.
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "CreditTransferTransaction9", propOrder = {
"cdtId",
"btchBookg",
"pmtTpInf",
"ttlIntrBkSttlmAmt",
"intrBkSttlmDt",
"instgAgt",
"instdAgt",
"intrmyAgt1",
"intrmyAgt1Acct",
"intrmyAgt2",
"intrmyAgt2Acct",
"intrmyAgt3",
"intrmyAgt3Acct",
"cdtrAgt",
"cdtrAgtAcct",
"cdtr",
"cdtrAcct",
"ultmtCdtr",
"instrForCdtrAgt",
"drctDbtTxInf",
"splmtryData"
})
public class CreditTransferTransaction9 {
@XmlElement(name = "CdtId", required = true)
protected String cdtId;
@XmlElement(name = "BtchBookg")
protected Boolean btchBookg;
@XmlElement(name = "PmtTpInf")
protected PaymentTypeInformation21 pmtTpInf;
@XmlElement(name = "TtlIntrBkSttlmAmt")
protected ActiveCurrencyAndAmount ttlIntrBkSttlmAmt;
@XmlElement(name = "IntrBkSttlmDt")
@XmlSchemaType(name = "date")
protected XMLGregorianCalendar intrBkSttlmDt;
@XmlElement(name = "InstgAgt")
protected BranchAndFinancialInstitutionIdentification5 instgAgt;
@XmlElement(name = "InstdAgt")
protected BranchAndFinancialInstitutionIdentification5 instdAgt;
@XmlElement(name = "IntrmyAgt1")
protected BranchAndFinancialInstitutionIdentification5 intrmyAgt1;
@XmlElement(name = "IntrmyAgt1Acct")
protected CashAccount24 intrmyAgt1Acct;
@XmlElement(name = "IntrmyAgt2")
protected BranchAndFinancialInstitutionIdentification5 intrmyAgt2;
@XmlElement(name = "IntrmyAgt2Acct")
protected CashAccount24 intrmyAgt2Acct;
@XmlElement(name = "IntrmyAgt3")
protected BranchAndFinancialInstitutionIdentification5 intrmyAgt3;
@XmlElement(name = "IntrmyAgt3Acct")
protected CashAccount24 intrmyAgt3Acct;
@XmlElement(name = "CdtrAgt")
protected BranchAndFinancialInstitutionIdentification5 cdtrAgt;
@XmlElement(name = "CdtrAgtAcct")
protected CashAccount24 cdtrAgtAcct;
@XmlElement(name = "Cdtr", required = true)
protected BranchAndFinancialInstitutionIdentification5 cdtr;
@XmlElement(name = "CdtrAcct")
protected CashAccount24 cdtrAcct;
@XmlElement(name = "UltmtCdtr")
protected BranchAndFinancialInstitutionIdentification5 ultmtCdtr;
@XmlElement(name = "InstrForCdtrAgt")
protected List instrForCdtrAgt;
@XmlElement(name = "DrctDbtTxInf", required = true)
protected List drctDbtTxInf;
@XmlElement(name = "SplmtryData")
protected List splmtryData;
/**
* Gets the value of the cdtId property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getCdtId() {
return cdtId;
}
/**
* Sets the value of the cdtId property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public CreditTransferTransaction9 setCdtId(String value) {
this.cdtId = 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 CreditTransferTransaction9 setBtchBookg(Boolean value) {
this.btchBookg = value;
return this;
}
/**
* Gets the value of the pmtTpInf property.
*
* @return
* possible object is
* {@link PaymentTypeInformation21 }
*
*/
public PaymentTypeInformation21 getPmtTpInf() {
return pmtTpInf;
}
/**
* Sets the value of the pmtTpInf property.
*
* @param value
* allowed object is
* {@link PaymentTypeInformation21 }
*
*/
public CreditTransferTransaction9 setPmtTpInf(PaymentTypeInformation21 value) {
this.pmtTpInf = value;
return this;
}
/**
* Gets the value of the ttlIntrBkSttlmAmt property.
*
* @return
* possible object is
* {@link ActiveCurrencyAndAmount }
*
*/
public ActiveCurrencyAndAmount getTtlIntrBkSttlmAmt() {
return ttlIntrBkSttlmAmt;
}
/**
* Sets the value of the ttlIntrBkSttlmAmt property.
*
* @param value
* allowed object is
* {@link ActiveCurrencyAndAmount }
*
*/
public CreditTransferTransaction9 setTtlIntrBkSttlmAmt(ActiveCurrencyAndAmount value) {
this.ttlIntrBkSttlmAmt = 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 CreditTransferTransaction9 setIntrBkSttlmDt(XMLGregorianCalendar value) {
this.intrBkSttlmDt = value;
return this;
}
/**
* Gets the value of the instgAgt property.
*
* @return
* possible object is
* {@link BranchAndFinancialInstitutionIdentification5 }
*
*/
public BranchAndFinancialInstitutionIdentification5 getInstgAgt() {
return instgAgt;
}
/**
* Sets the value of the instgAgt property.
*
* @param value
* allowed object is
* {@link BranchAndFinancialInstitutionIdentification5 }
*
*/
public CreditTransferTransaction9 setInstgAgt(BranchAndFinancialInstitutionIdentification5 value) {
this.instgAgt = value;
return this;
}
/**
* Gets the value of the instdAgt property.
*
* @return
* possible object is
* {@link BranchAndFinancialInstitutionIdentification5 }
*
*/
public BranchAndFinancialInstitutionIdentification5 getInstdAgt() {
return instdAgt;
}
/**
* Sets the value of the instdAgt property.
*
* @param value
* allowed object is
* {@link BranchAndFinancialInstitutionIdentification5 }
*
*/
public CreditTransferTransaction9 setInstdAgt(BranchAndFinancialInstitutionIdentification5 value) {
this.instdAgt = value;
return this;
}
/**
* Gets the value of the intrmyAgt1 property.
*
* @return
* possible object is
* {@link BranchAndFinancialInstitutionIdentification5 }
*
*/
public BranchAndFinancialInstitutionIdentification5 getIntrmyAgt1() {
return intrmyAgt1;
}
/**
* Sets the value of the intrmyAgt1 property.
*
* @param value
* allowed object is
* {@link BranchAndFinancialInstitutionIdentification5 }
*
*/
public CreditTransferTransaction9 setIntrmyAgt1(BranchAndFinancialInstitutionIdentification5 value) {
this.intrmyAgt1 = value;
return this;
}
/**
* Gets the value of the intrmyAgt1Acct property.
*
* @return
* possible object is
* {@link CashAccount24 }
*
*/
public CashAccount24 getIntrmyAgt1Acct() {
return intrmyAgt1Acct;
}
/**
* Sets the value of the intrmyAgt1Acct property.
*
* @param value
* allowed object is
* {@link CashAccount24 }
*
*/
public CreditTransferTransaction9 setIntrmyAgt1Acct(CashAccount24 value) {
this.intrmyAgt1Acct = value;
return this;
}
/**
* Gets the value of the intrmyAgt2 property.
*
* @return
* possible object is
* {@link BranchAndFinancialInstitutionIdentification5 }
*
*/
public BranchAndFinancialInstitutionIdentification5 getIntrmyAgt2() {
return intrmyAgt2;
}
/**
* Sets the value of the intrmyAgt2 property.
*
* @param value
* allowed object is
* {@link BranchAndFinancialInstitutionIdentification5 }
*
*/
public CreditTransferTransaction9 setIntrmyAgt2(BranchAndFinancialInstitutionIdentification5 value) {
this.intrmyAgt2 = value;
return this;
}
/**
* Gets the value of the intrmyAgt2Acct property.
*
* @return
* possible object is
* {@link CashAccount24 }
*
*/
public CashAccount24 getIntrmyAgt2Acct() {
return intrmyAgt2Acct;
}
/**
* Sets the value of the intrmyAgt2Acct property.
*
* @param value
* allowed object is
* {@link CashAccount24 }
*
*/
public CreditTransferTransaction9 setIntrmyAgt2Acct(CashAccount24 value) {
this.intrmyAgt2Acct = value;
return this;
}
/**
* Gets the value of the intrmyAgt3 property.
*
* @return
* possible object is
* {@link BranchAndFinancialInstitutionIdentification5 }
*
*/
public BranchAndFinancialInstitutionIdentification5 getIntrmyAgt3() {
return intrmyAgt3;
}
/**
* Sets the value of the intrmyAgt3 property.
*
* @param value
* allowed object is
* {@link BranchAndFinancialInstitutionIdentification5 }
*
*/
public CreditTransferTransaction9 setIntrmyAgt3(BranchAndFinancialInstitutionIdentification5 value) {
this.intrmyAgt3 = value;
return this;
}
/**
* Gets the value of the intrmyAgt3Acct property.
*
* @return
* possible object is
* {@link CashAccount24 }
*
*/
public CashAccount24 getIntrmyAgt3Acct() {
return intrmyAgt3Acct;
}
/**
* Sets the value of the intrmyAgt3Acct property.
*
* @param value
* allowed object is
* {@link CashAccount24 }
*
*/
public CreditTransferTransaction9 setIntrmyAgt3Acct(CashAccount24 value) {
this.intrmyAgt3Acct = value;
return this;
}
/**
* Gets the value of the cdtrAgt property.
*
* @return
* possible object is
* {@link BranchAndFinancialInstitutionIdentification5 }
*
*/
public BranchAndFinancialInstitutionIdentification5 getCdtrAgt() {
return cdtrAgt;
}
/**
* Sets the value of the cdtrAgt property.
*
* @param value
* allowed object is
* {@link BranchAndFinancialInstitutionIdentification5 }
*
*/
public CreditTransferTransaction9 setCdtrAgt(BranchAndFinancialInstitutionIdentification5 value) {
this.cdtrAgt = 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 CreditTransferTransaction9 setCdtrAgtAcct(CashAccount24 value) {
this.cdtrAgtAcct = value;
return this;
}
/**
* Gets the value of the cdtr property.
*
* @return
* possible object is
* {@link BranchAndFinancialInstitutionIdentification5 }
*
*/
public BranchAndFinancialInstitutionIdentification5 getCdtr() {
return cdtr;
}
/**
* Sets the value of the cdtr property.
*
* @param value
* allowed object is
* {@link BranchAndFinancialInstitutionIdentification5 }
*
*/
public CreditTransferTransaction9 setCdtr(BranchAndFinancialInstitutionIdentification5 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 CreditTransferTransaction9 setCdtrAcct(CashAccount24 value) {
this.cdtrAcct = value;
return this;
}
/**
* Gets the value of the ultmtCdtr property.
*
* @return
* possible object is
* {@link BranchAndFinancialInstitutionIdentification5 }
*
*/
public BranchAndFinancialInstitutionIdentification5 getUltmtCdtr() {
return ultmtCdtr;
}
/**
* Sets the value of the ultmtCdtr property.
*
* @param value
* allowed object is
* {@link BranchAndFinancialInstitutionIdentification5 }
*
*/
public CreditTransferTransaction9 setUltmtCdtr(BranchAndFinancialInstitutionIdentification5 value) {
this.ultmtCdtr = value;
return this;
}
/**
* 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 InstructionForCreditorAgent2 }
*
*
*/
public List getInstrForCdtrAgt() {
if (instrForCdtrAgt == null) {
instrForCdtrAgt = new ArrayList();
}
return this.instrForCdtrAgt;
}
/**
* Gets the value of the drctDbtTxInf 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 drctDbtTxInf property.
*
*
* For example, to add a new item, do as follows:
*
* getDrctDbtTxInf().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link DirectDebitTransactionInformation15 }
*
*
*/
public List getDrctDbtTxInf() {
if (drctDbtTxInf == null) {
drctDbtTxInf = new ArrayList();
}
return this.drctDbtTxInf;
}
/**
* 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 instrForCdtrAgt list.
* @see #getInstrForCdtrAgt()
*
*/
public CreditTransferTransaction9 addInstrForCdtrAgt(InstructionForCreditorAgent2 instrForCdtrAgt) {
getInstrForCdtrAgt().add(instrForCdtrAgt);
return this;
}
/**
* Adds a new item to the drctDbtTxInf list.
* @see #getDrctDbtTxInf()
*
*/
public CreditTransferTransaction9 addDrctDbtTxInf(DirectDebitTransactionInformation15 drctDbtTxInf) {
getDrctDbtTxInf().add(drctDbtTxInf);
return this;
}
/**
* Adds a new item to the splmtryData list.
* @see #getSplmtryData()
*
*/
public CreditTransferTransaction9 addSplmtryData(SupplementaryData1 splmtryData) {
getSplmtryData().add(splmtryData);
return this;
}
}