com.prowidesoftware.swift.model.mx.dic.EntryTransaction7 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;
/**
* Identifies the underlying transaction.
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "EntryTransaction7", propOrder = {
"refs",
"amt",
"cdtDbtInd",
"amtDtls",
"avlbty",
"bkTxCd",
"chrgs",
"intrst",
"rltdPties",
"rltdAgts",
"purp",
"rltdRmtInf",
"rmtInf",
"rltdDts",
"rltdPric",
"rltdQties",
"finInstrmId",
"tax",
"rtrInf",
"corpActn",
"sfkpgAcct",
"cshDpst",
"cardTx",
"addtlTxInf",
"splmtryData"
})
public class EntryTransaction7 {
@XmlElement(name = "Refs")
protected TransactionReferences3 refs;
@XmlElement(name = "Amt", required = true)
protected ActiveOrHistoricCurrencyAndAmount amt;
@XmlElement(name = "CdtDbtInd", required = true)
@XmlSchemaType(name = "string")
protected CreditDebitCode cdtDbtInd;
@XmlElement(name = "AmtDtls")
protected AmountAndCurrencyExchange3 amtDtls;
@XmlElement(name = "Avlbty")
protected List avlbty;
@XmlElement(name = "BkTxCd")
protected BankTransactionCodeStructure4 bkTxCd;
@XmlElement(name = "Chrgs")
protected Charges4 chrgs;
@XmlElement(name = "Intrst")
protected TransactionInterest3 intrst;
@XmlElement(name = "RltdPties")
protected TransactionParties3 rltdPties;
@XmlElement(name = "RltdAgts")
protected TransactionAgents3 rltdAgts;
@XmlElement(name = "Purp")
protected Purpose2Choice purp;
@XmlElement(name = "RltdRmtInf")
protected List rltdRmtInf;
@XmlElement(name = "RmtInf")
protected RemittanceInformation10 rmtInf;
@XmlElement(name = "RltdDts")
protected TransactionDates2 rltdDts;
@XmlElement(name = "RltdPric")
protected TransactionPrice3Choice rltdPric;
@XmlElement(name = "RltdQties")
protected List rltdQties;
@XmlElement(name = "FinInstrmId")
protected SecurityIdentification14 finInstrmId;
@XmlElement(name = "Tax")
protected TaxInformation3 tax;
@XmlElement(name = "RtrInf")
protected PaymentReturnReason2 rtrInf;
@XmlElement(name = "CorpActn")
protected CorporateAction9 corpActn;
@XmlElement(name = "SfkpgAcct")
protected SecuritiesAccount13 sfkpgAcct;
@XmlElement(name = "CshDpst")
protected List cshDpst;
@XmlElement(name = "CardTx")
protected CardTransaction2 cardTx;
@XmlElement(name = "AddtlTxInf")
protected String addtlTxInf;
@XmlElement(name = "SplmtryData")
protected List splmtryData;
/**
* Gets the value of the refs property.
*
* @return
* possible object is
* {@link TransactionReferences3 }
*
*/
public TransactionReferences3 getRefs() {
return refs;
}
/**
* Sets the value of the refs property.
*
* @param value
* allowed object is
* {@link TransactionReferences3 }
*
*/
public EntryTransaction7 setRefs(TransactionReferences3 value) {
this.refs = value;
return this;
}
/**
* Gets the value of the amt property.
*
* @return
* possible object is
* {@link ActiveOrHistoricCurrencyAndAmount }
*
*/
public ActiveOrHistoricCurrencyAndAmount getAmt() {
return amt;
}
/**
* Sets the value of the amt property.
*
* @param value
* allowed object is
* {@link ActiveOrHistoricCurrencyAndAmount }
*
*/
public EntryTransaction7 setAmt(ActiveOrHistoricCurrencyAndAmount value) {
this.amt = value;
return this;
}
/**
* Gets the value of the cdtDbtInd property.
*
* @return
* possible object is
* {@link CreditDebitCode }
*
*/
public CreditDebitCode getCdtDbtInd() {
return cdtDbtInd;
}
/**
* Sets the value of the cdtDbtInd property.
*
* @param value
* allowed object is
* {@link CreditDebitCode }
*
*/
public EntryTransaction7 setCdtDbtInd(CreditDebitCode value) {
this.cdtDbtInd = value;
return this;
}
/**
* Gets the value of the amtDtls property.
*
* @return
* possible object is
* {@link AmountAndCurrencyExchange3 }
*
*/
public AmountAndCurrencyExchange3 getAmtDtls() {
return amtDtls;
}
/**
* Sets the value of the amtDtls property.
*
* @param value
* allowed object is
* {@link AmountAndCurrencyExchange3 }
*
*/
public EntryTransaction7 setAmtDtls(AmountAndCurrencyExchange3 value) {
this.amtDtls = value;
return this;
}
/**
* Gets the value of the avlbty 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 avlbty property.
*
*
* For example, to add a new item, do as follows:
*
* getAvlbty().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link CashBalanceAvailability2 }
*
*
*/
public List getAvlbty() {
if (avlbty == null) {
avlbty = new ArrayList();
}
return this.avlbty;
}
/**
* Gets the value of the bkTxCd property.
*
* @return
* possible object is
* {@link BankTransactionCodeStructure4 }
*
*/
public BankTransactionCodeStructure4 getBkTxCd() {
return bkTxCd;
}
/**
* Sets the value of the bkTxCd property.
*
* @param value
* allowed object is
* {@link BankTransactionCodeStructure4 }
*
*/
public EntryTransaction7 setBkTxCd(BankTransactionCodeStructure4 value) {
this.bkTxCd = value;
return this;
}
/**
* Gets the value of the chrgs property.
*
* @return
* possible object is
* {@link Charges4 }
*
*/
public Charges4 getChrgs() {
return chrgs;
}
/**
* Sets the value of the chrgs property.
*
* @param value
* allowed object is
* {@link Charges4 }
*
*/
public EntryTransaction7 setChrgs(Charges4 value) {
this.chrgs = value;
return this;
}
/**
* Gets the value of the intrst property.
*
* @return
* possible object is
* {@link TransactionInterest3 }
*
*/
public TransactionInterest3 getIntrst() {
return intrst;
}
/**
* Sets the value of the intrst property.
*
* @param value
* allowed object is
* {@link TransactionInterest3 }
*
*/
public EntryTransaction7 setIntrst(TransactionInterest3 value) {
this.intrst = value;
return this;
}
/**
* Gets the value of the rltdPties property.
*
* @return
* possible object is
* {@link TransactionParties3 }
*
*/
public TransactionParties3 getRltdPties() {
return rltdPties;
}
/**
* Sets the value of the rltdPties property.
*
* @param value
* allowed object is
* {@link TransactionParties3 }
*
*/
public EntryTransaction7 setRltdPties(TransactionParties3 value) {
this.rltdPties = value;
return this;
}
/**
* Gets the value of the rltdAgts property.
*
* @return
* possible object is
* {@link TransactionAgents3 }
*
*/
public TransactionAgents3 getRltdAgts() {
return rltdAgts;
}
/**
* Sets the value of the rltdAgts property.
*
* @param value
* allowed object is
* {@link TransactionAgents3 }
*
*/
public EntryTransaction7 setRltdAgts(TransactionAgents3 value) {
this.rltdAgts = 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 EntryTransaction7 setPurp(Purpose2Choice value) {
this.purp = 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 JAXB object.
* This is why there is not a 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 RemittanceLocation4 }
*
*
*/
public List getRltdRmtInf() {
if (rltdRmtInf == null) {
rltdRmtInf = new ArrayList();
}
return this.rltdRmtInf;
}
/**
* Gets the value of the rmtInf property.
*
* @return
* possible object is
* {@link RemittanceInformation10 }
*
*/
public RemittanceInformation10 getRmtInf() {
return rmtInf;
}
/**
* Sets the value of the rmtInf property.
*
* @param value
* allowed object is
* {@link RemittanceInformation10 }
*
*/
public EntryTransaction7 setRmtInf(RemittanceInformation10 value) {
this.rmtInf = value;
return this;
}
/**
* Gets the value of the rltdDts property.
*
* @return
* possible object is
* {@link TransactionDates2 }
*
*/
public TransactionDates2 getRltdDts() {
return rltdDts;
}
/**
* Sets the value of the rltdDts property.
*
* @param value
* allowed object is
* {@link TransactionDates2 }
*
*/
public EntryTransaction7 setRltdDts(TransactionDates2 value) {
this.rltdDts = value;
return this;
}
/**
* Gets the value of the rltdPric property.
*
* @return
* possible object is
* {@link TransactionPrice3Choice }
*
*/
public TransactionPrice3Choice getRltdPric() {
return rltdPric;
}
/**
* Sets the value of the rltdPric property.
*
* @param value
* allowed object is
* {@link TransactionPrice3Choice }
*
*/
public EntryTransaction7 setRltdPric(TransactionPrice3Choice value) {
this.rltdPric = value;
return this;
}
/**
* Gets the value of the rltdQties 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 rltdQties property.
*
*
* For example, to add a new item, do as follows:
*
* getRltdQties().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link TransactionQuantities2Choice }
*
*
*/
public List getRltdQties() {
if (rltdQties == null) {
rltdQties = new ArrayList();
}
return this.rltdQties;
}
/**
* Gets the value of the finInstrmId property.
*
* @return
* possible object is
* {@link SecurityIdentification14 }
*
*/
public SecurityIdentification14 getFinInstrmId() {
return finInstrmId;
}
/**
* Sets the value of the finInstrmId property.
*
* @param value
* allowed object is
* {@link SecurityIdentification14 }
*
*/
public EntryTransaction7 setFinInstrmId(SecurityIdentification14 value) {
this.finInstrmId = value;
return this;
}
/**
* 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 EntryTransaction7 setTax(TaxInformation3 value) {
this.tax = value;
return this;
}
/**
* Gets the value of the rtrInf property.
*
* @return
* possible object is
* {@link PaymentReturnReason2 }
*
*/
public PaymentReturnReason2 getRtrInf() {
return rtrInf;
}
/**
* Sets the value of the rtrInf property.
*
* @param value
* allowed object is
* {@link PaymentReturnReason2 }
*
*/
public EntryTransaction7 setRtrInf(PaymentReturnReason2 value) {
this.rtrInf = value;
return this;
}
/**
* Gets the value of the corpActn property.
*
* @return
* possible object is
* {@link CorporateAction9 }
*
*/
public CorporateAction9 getCorpActn() {
return corpActn;
}
/**
* Sets the value of the corpActn property.
*
* @param value
* allowed object is
* {@link CorporateAction9 }
*
*/
public EntryTransaction7 setCorpActn(CorporateAction9 value) {
this.corpActn = value;
return this;
}
/**
* Gets the value of the sfkpgAcct property.
*
* @return
* possible object is
* {@link SecuritiesAccount13 }
*
*/
public SecuritiesAccount13 getSfkpgAcct() {
return sfkpgAcct;
}
/**
* Sets the value of the sfkpgAcct property.
*
* @param value
* allowed object is
* {@link SecuritiesAccount13 }
*
*/
public EntryTransaction7 setSfkpgAcct(SecuritiesAccount13 value) {
this.sfkpgAcct = value;
return this;
}
/**
* Gets the value of the cshDpst 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 cshDpst property.
*
*
* For example, to add a new item, do as follows:
*
* getCshDpst().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link CashDeposit1 }
*
*
*/
public List getCshDpst() {
if (cshDpst == null) {
cshDpst = new ArrayList();
}
return this.cshDpst;
}
/**
* Gets the value of the cardTx property.
*
* @return
* possible object is
* {@link CardTransaction2 }
*
*/
public CardTransaction2 getCardTx() {
return cardTx;
}
/**
* Sets the value of the cardTx property.
*
* @param value
* allowed object is
* {@link CardTransaction2 }
*
*/
public EntryTransaction7 setCardTx(CardTransaction2 value) {
this.cardTx = value;
return this;
}
/**
* Gets the value of the addtlTxInf property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getAddtlTxInf() {
return addtlTxInf;
}
/**
* Sets the value of the addtlTxInf property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public EntryTransaction7 setAddtlTxInf(String value) {
this.addtlTxInf = value;
return this;
}
/**
* 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 avlbty list.
* @see #getAvlbty()
*
*/
public EntryTransaction7 addAvlbty(CashBalanceAvailability2 avlbty) {
getAvlbty().add(avlbty);
return this;
}
/**
* Adds a new item to the rltdRmtInf list.
* @see #getRltdRmtInf()
*
*/
public EntryTransaction7 addRltdRmtInf(RemittanceLocation4 rltdRmtInf) {
getRltdRmtInf().add(rltdRmtInf);
return this;
}
/**
* Adds a new item to the rltdQties list.
* @see #getRltdQties()
*
*/
public EntryTransaction7 addRltdQties(TransactionQuantities2Choice rltdQties) {
getRltdQties().add(rltdQties);
return this;
}
/**
* Adds a new item to the cshDpst list.
* @see #getCshDpst()
*
*/
public EntryTransaction7 addCshDpst(CashDeposit1 cshDpst) {
getCshDpst().add(cshDpst);
return this;
}
/**
* Adds a new item to the splmtryData list.
* @see #getSplmtryData()
*
*/
public EntryTransaction7 addSplmtryData(SupplementaryData1 splmtryData) {
getSplmtryData().add(splmtryData);
return this;
}
}