com.prowidesoftware.swift.model.mx.dic.CreditTransferTransactionInformation10 Maven / Gradle / Ivy
package com.prowidesoftware.swift.model.mx.dic;
import java.util.ArrayList;
import java.util.List;
import jakarta.xml.bind.annotation.XmlAccessType;
import jakarta.xml.bind.annotation.XmlAccessorType;
import jakarta.xml.bind.annotation.XmlElement;
import jakarta.xml.bind.annotation.XmlSchemaType;
import jakarta.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 elements used to provide information specific to the individual transaction(s) included in the message.
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "CreditTransferTransactionInformation10", propOrder = {
"pmtId",
"pmtTpInf",
"amt",
"xchgRateInf",
"chrgBr",
"chqInstr",
"ultmtDbtr",
"intrmyAgt1",
"intrmyAgt1Acct",
"intrmyAgt2",
"intrmyAgt2Acct",
"intrmyAgt3",
"intrmyAgt3Acct",
"cdtrAgt",
"cdtrAgtAcct",
"cdtr",
"cdtrAcct",
"ultmtCdtr",
"instrForCdtrAgt",
"instrForDbtrAgt",
"purp",
"rgltryRptg",
"tax",
"rltdRmtInf",
"rmtInf"
})
public class CreditTransferTransactionInformation10 {
@XmlElement(name = "PmtId", required = true)
protected PaymentIdentification1 pmtId;
@XmlElement(name = "PmtTpInf")
protected PaymentTypeInformation19 pmtTpInf;
@XmlElement(name = "Amt", required = true)
protected AmountType3Choice amt;
@XmlElement(name = "XchgRateInf")
protected ExchangeRateInformation1 xchgRateInf;
@XmlElement(name = "ChrgBr")
@XmlSchemaType(name = "string")
protected ChargeBearerType1Code chrgBr;
@XmlElement(name = "ChqInstr")
protected Cheque6 chqInstr;
@XmlElement(name = "UltmtDbtr")
protected PartyIdentification32 ultmtDbtr;
@XmlElement(name = "IntrmyAgt1")
protected BranchAndFinancialInstitutionIdentification4 intrmyAgt1;
@XmlElement(name = "IntrmyAgt1Acct")
protected CashAccount16 intrmyAgt1Acct;
@XmlElement(name = "IntrmyAgt2")
protected BranchAndFinancialInstitutionIdentification4 intrmyAgt2;
@XmlElement(name = "IntrmyAgt2Acct")
protected CashAccount16 intrmyAgt2Acct;
@XmlElement(name = "IntrmyAgt3")
protected BranchAndFinancialInstitutionIdentification4 intrmyAgt3;
@XmlElement(name = "IntrmyAgt3Acct")
protected CashAccount16 intrmyAgt3Acct;
@XmlElement(name = "CdtrAgt")
protected BranchAndFinancialInstitutionIdentification4 cdtrAgt;
@XmlElement(name = "CdtrAgtAcct")
protected CashAccount16 cdtrAgtAcct;
@XmlElement(name = "Cdtr")
protected PartyIdentification32 cdtr;
@XmlElement(name = "CdtrAcct")
protected CashAccount16 cdtrAcct;
@XmlElement(name = "UltmtCdtr")
protected PartyIdentification32 ultmtCdtr;
@XmlElement(name = "InstrForCdtrAgt")
protected List instrForCdtrAgt;
@XmlElement(name = "InstrForDbtrAgt")
protected String instrForDbtrAgt;
@XmlElement(name = "Purp")
protected Purpose2Choice purp;
@XmlElement(name = "RgltryRptg")
protected List rgltryRptg;
@XmlElement(name = "Tax")
protected TaxInformation3 tax;
@XmlElement(name = "RltdRmtInf")
protected List rltdRmtInf;
@XmlElement(name = "RmtInf")
protected RemittanceInformation5 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 CreditTransferTransactionInformation10 setPmtId(PaymentIdentification1 value) {
this.pmtId = value;
return this;
}
/**
* Gets the value of the pmtTpInf property.
*
* @return
* possible object is
* {@link PaymentTypeInformation19 }
*
*/
public PaymentTypeInformation19 getPmtTpInf() {
return pmtTpInf;
}
/**
* Sets the value of the pmtTpInf property.
*
* @param value
* allowed object is
* {@link PaymentTypeInformation19 }
*
*/
public CreditTransferTransactionInformation10 setPmtTpInf(PaymentTypeInformation19 value) {
this.pmtTpInf = value;
return this;
}
/**
* Gets the value of the amt property.
*
* @return
* possible object is
* {@link AmountType3Choice }
*
*/
public AmountType3Choice getAmt() {
return amt;
}
/**
* Sets the value of the amt property.
*
* @param value
* allowed object is
* {@link AmountType3Choice }
*
*/
public CreditTransferTransactionInformation10 setAmt(AmountType3Choice value) {
this.amt = value;
return this;
}
/**
* Gets the value of the xchgRateInf property.
*
* @return
* possible object is
* {@link ExchangeRateInformation1 }
*
*/
public ExchangeRateInformation1 getXchgRateInf() {
return xchgRateInf;
}
/**
* Sets the value of the xchgRateInf property.
*
* @param value
* allowed object is
* {@link ExchangeRateInformation1 }
*
*/
public CreditTransferTransactionInformation10 setXchgRateInf(ExchangeRateInformation1 value) {
this.xchgRateInf = 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 CreditTransferTransactionInformation10 setChrgBr(ChargeBearerType1Code value) {
this.chrgBr = value;
return this;
}
/**
* Gets the value of the chqInstr property.
*
* @return
* possible object is
* {@link Cheque6 }
*
*/
public Cheque6 getChqInstr() {
return chqInstr;
}
/**
* Sets the value of the chqInstr property.
*
* @param value
* allowed object is
* {@link Cheque6 }
*
*/
public CreditTransferTransactionInformation10 setChqInstr(Cheque6 value) {
this.chqInstr = value;
return this;
}
/**
* Gets the value of the ultmtDbtr property.
*
* @return
* possible object is
* {@link PartyIdentification32 }
*
*/
public PartyIdentification32 getUltmtDbtr() {
return ultmtDbtr;
}
/**
* Sets the value of the ultmtDbtr property.
*
* @param value
* allowed object is
* {@link PartyIdentification32 }
*
*/
public CreditTransferTransactionInformation10 setUltmtDbtr(PartyIdentification32 value) {
this.ultmtDbtr = value;
return this;
}
/**
* Gets the value of the intrmyAgt1 property.
*
* @return
* possible object is
* {@link BranchAndFinancialInstitutionIdentification4 }
*
*/
public BranchAndFinancialInstitutionIdentification4 getIntrmyAgt1() {
return intrmyAgt1;
}
/**
* Sets the value of the intrmyAgt1 property.
*
* @param value
* allowed object is
* {@link BranchAndFinancialInstitutionIdentification4 }
*
*/
public CreditTransferTransactionInformation10 setIntrmyAgt1(BranchAndFinancialInstitutionIdentification4 value) {
this.intrmyAgt1 = value;
return this;
}
/**
* Gets the value of the intrmyAgt1Acct property.
*
* @return
* possible object is
* {@link CashAccount16 }
*
*/
public CashAccount16 getIntrmyAgt1Acct() {
return intrmyAgt1Acct;
}
/**
* Sets the value of the intrmyAgt1Acct property.
*
* @param value
* allowed object is
* {@link CashAccount16 }
*
*/
public CreditTransferTransactionInformation10 setIntrmyAgt1Acct(CashAccount16 value) {
this.intrmyAgt1Acct = value;
return this;
}
/**
* Gets the value of the intrmyAgt2 property.
*
* @return
* possible object is
* {@link BranchAndFinancialInstitutionIdentification4 }
*
*/
public BranchAndFinancialInstitutionIdentification4 getIntrmyAgt2() {
return intrmyAgt2;
}
/**
* Sets the value of the intrmyAgt2 property.
*
* @param value
* allowed object is
* {@link BranchAndFinancialInstitutionIdentification4 }
*
*/
public CreditTransferTransactionInformation10 setIntrmyAgt2(BranchAndFinancialInstitutionIdentification4 value) {
this.intrmyAgt2 = value;
return this;
}
/**
* Gets the value of the intrmyAgt2Acct property.
*
* @return
* possible object is
* {@link CashAccount16 }
*
*/
public CashAccount16 getIntrmyAgt2Acct() {
return intrmyAgt2Acct;
}
/**
* Sets the value of the intrmyAgt2Acct property.
*
* @param value
* allowed object is
* {@link CashAccount16 }
*
*/
public CreditTransferTransactionInformation10 setIntrmyAgt2Acct(CashAccount16 value) {
this.intrmyAgt2Acct = value;
return this;
}
/**
* Gets the value of the intrmyAgt3 property.
*
* @return
* possible object is
* {@link BranchAndFinancialInstitutionIdentification4 }
*
*/
public BranchAndFinancialInstitutionIdentification4 getIntrmyAgt3() {
return intrmyAgt3;
}
/**
* Sets the value of the intrmyAgt3 property.
*
* @param value
* allowed object is
* {@link BranchAndFinancialInstitutionIdentification4 }
*
*/
public CreditTransferTransactionInformation10 setIntrmyAgt3(BranchAndFinancialInstitutionIdentification4 value) {
this.intrmyAgt3 = value;
return this;
}
/**
* Gets the value of the intrmyAgt3Acct property.
*
* @return
* possible object is
* {@link CashAccount16 }
*
*/
public CashAccount16 getIntrmyAgt3Acct() {
return intrmyAgt3Acct;
}
/**
* Sets the value of the intrmyAgt3Acct property.
*
* @param value
* allowed object is
* {@link CashAccount16 }
*
*/
public CreditTransferTransactionInformation10 setIntrmyAgt3Acct(CashAccount16 value) {
this.intrmyAgt3Acct = value;
return this;
}
/**
* Gets the value of the cdtrAgt property.
*
* @return
* possible object is
* {@link BranchAndFinancialInstitutionIdentification4 }
*
*/
public BranchAndFinancialInstitutionIdentification4 getCdtrAgt() {
return cdtrAgt;
}
/**
* Sets the value of the cdtrAgt property.
*
* @param value
* allowed object is
* {@link BranchAndFinancialInstitutionIdentification4 }
*
*/
public CreditTransferTransactionInformation10 setCdtrAgt(BranchAndFinancialInstitutionIdentification4 value) {
this.cdtrAgt = value;
return this;
}
/**
* Gets the value of the cdtrAgtAcct property.
*
* @return
* possible object is
* {@link CashAccount16 }
*
*/
public CashAccount16 getCdtrAgtAcct() {
return cdtrAgtAcct;
}
/**
* Sets the value of the cdtrAgtAcct property.
*
* @param value
* allowed object is
* {@link CashAccount16 }
*
*/
public CreditTransferTransactionInformation10 setCdtrAgtAcct(CashAccount16 value) {
this.cdtrAgtAcct = value;
return this;
}
/**
* Gets the value of the cdtr property.
*
* @return
* possible object is
* {@link PartyIdentification32 }
*
*/
public PartyIdentification32 getCdtr() {
return cdtr;
}
/**
* Sets the value of the cdtr property.
*
* @param value
* allowed object is
* {@link PartyIdentification32 }
*
*/
public CreditTransferTransactionInformation10 setCdtr(PartyIdentification32 value) {
this.cdtr = value;
return this;
}
/**
* Gets the value of the cdtrAcct property.
*
* @return
* possible object is
* {@link CashAccount16 }
*
*/
public CashAccount16 getCdtrAcct() {
return cdtrAcct;
}
/**
* Sets the value of the cdtrAcct property.
*
* @param value
* allowed object is
* {@link CashAccount16 }
*
*/
public CreditTransferTransactionInformation10 setCdtrAcct(CashAccount16 value) {
this.cdtrAcct = value;
return this;
}
/**
* Gets the value of the ultmtCdtr property.
*
* @return
* possible object is
* {@link PartyIdentification32 }
*
*/
public PartyIdentification32 getUltmtCdtr() {
return ultmtCdtr;
}
/**
* Sets the value of the ultmtCdtr property.
*
* @param value
* allowed object is
* {@link PartyIdentification32 }
*
*/
public CreditTransferTransactionInformation10 setUltmtCdtr(PartyIdentification32 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 Jakarta XML Binding object.
* This is why there is not a {@code 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 }
*
*
* @return
* The value of the instrForCdtrAgt property.
*/
public List getInstrForCdtrAgt() {
if (instrForCdtrAgt == null) {
instrForCdtrAgt = new ArrayList<>();
}
return this.instrForCdtrAgt;
}
/**
* 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 CreditTransferTransactionInformation10 setInstrForDbtrAgt(String value) {
this.instrForDbtrAgt = 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 CreditTransferTransactionInformation10 setPurp(Purpose2Choice 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 Jakarta XML Binding object.
* This is why there is not a {@code 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 RegulatoryReporting3 }
*
*
* @return
* The value of the rgltryRptg property.
*/
public List getRgltryRptg() {
if (rgltryRptg == null) {
rgltryRptg = new ArrayList<>();
}
return this.rgltryRptg;
}
/**
* Gets the value of the tax property.
*
* @return
* possible object is
* {@link TaxInformation3 }
*
*/
public TaxInformation3 getTax() {
return tax;
}
/**
* Sets the value of the tax property.
*
* @param value
* allowed object is
* {@link TaxInformation3 }
*
*/
public CreditTransferTransactionInformation10 setTax(TaxInformation3 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 Jakarta XML Binding object.
* This is why there is not a {@code 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 RemittanceLocation2 }
*
*
* @return
* The value of the rltdRmtInf property.
*/
public List getRltdRmtInf() {
if (rltdRmtInf == null) {
rltdRmtInf = new ArrayList<>();
}
return this.rltdRmtInf;
}
/**
* Gets the value of the rmtInf property.
*
* @return
* possible object is
* {@link RemittanceInformation5 }
*
*/
public RemittanceInformation5 getRmtInf() {
return rmtInf;
}
/**
* Sets the value of the rmtInf property.
*
* @param value
* allowed object is
* {@link RemittanceInformation5 }
*
*/
public CreditTransferTransactionInformation10 setRmtInf(RemittanceInformation5 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 instrForCdtrAgt list.
* @see #getInstrForCdtrAgt()
*
*/
public CreditTransferTransactionInformation10 addInstrForCdtrAgt(InstructionForCreditorAgent1 instrForCdtrAgt) {
getInstrForCdtrAgt().add(instrForCdtrAgt);
return this;
}
/**
* Adds a new item to the rgltryRptg list.
* @see #getRgltryRptg()
*
*/
public CreditTransferTransactionInformation10 addRgltryRptg(RegulatoryReporting3 rgltryRptg) {
getRgltryRptg().add(rgltryRptg);
return this;
}
/**
* Adds a new item to the rltdRmtInf list.
* @see #getRltdRmtInf()
*
*/
public CreditTransferTransactionInformation10 addRltdRmtInf(RemittanceLocation2 rltdRmtInf) {
getRltdRmtInf().add(rltdRmtInf);
return this;
}
}