com.prowidesoftware.swift.model.mx.dic.CashAccountEntrySearch3 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;
/**
* Defines the criteria used to search for a cash entry.
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "CashAccountEntrySearch3", propOrder = {
"acctId",
"ntryAmt",
"ntryAmtCcy",
"cdtDbtInd",
"ntrySts",
"ntryDt",
"acctOwnr",
"acctSvcr"
})
public class CashAccountEntrySearch3 {
@XmlElement(name = "AcctId")
protected List acctId;
@XmlElement(name = "NtryAmt")
protected List ntryAmt;
@XmlElement(name = "NtryAmtCcy")
protected List ntryAmtCcy;
@XmlElement(name = "CdtDbtInd")
@XmlSchemaType(name = "string")
protected CreditDebitCode cdtDbtInd;
@XmlElement(name = "NtrySts")
@XmlSchemaType(name = "string")
protected List ntrySts;
@XmlElement(name = "NtryDt")
protected List ntryDt;
@XmlElement(name = "AcctOwnr")
protected BranchAndFinancialInstitutionIdentification5 acctOwnr;
@XmlElement(name = "AcctSvcr")
protected BranchAndFinancialInstitutionIdentification5 acctSvcr;
/**
* Gets the value of the acctId 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 acctId property.
*
*
* For example, to add a new item, do as follows:
*
* getAcctId().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link AccountIdentificationSearchCriteria2Choice }
*
*
* @return
* The value of the acctId property.
*/
public List getAcctId() {
if (acctId == null) {
acctId = new ArrayList<>();
}
return this.acctId;
}
/**
* Gets the value of the ntryAmt 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 ntryAmt property.
*
*
* For example, to add a new item, do as follows:
*
* getNtryAmt().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link ActiveOrHistoricAmountRange1Choice }
*
*
* @return
* The value of the ntryAmt property.
*/
public List getNtryAmt() {
if (ntryAmt == null) {
ntryAmt = new ArrayList<>();
}
return this.ntryAmt;
}
/**
* Gets the value of the ntryAmtCcy 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 ntryAmtCcy property.
*
*
* For example, to add a new item, do as follows:
*
* getNtryAmtCcy().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link String }
*
*
* @return
* The value of the ntryAmtCcy property.
*/
public List getNtryAmtCcy() {
if (ntryAmtCcy == null) {
ntryAmtCcy = new ArrayList<>();
}
return this.ntryAmtCcy;
}
/**
* 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 CashAccountEntrySearch3 setCdtDbtInd(CreditDebitCode value) {
this.cdtDbtInd = value;
return this;
}
/**
* Gets the value of the ntrySts 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 ntrySts property.
*
*
* For example, to add a new item, do as follows:
*
* getNtrySts().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link EntryStatus1Code }
*
*
* @return
* The value of the ntrySts property.
*/
public List getNtrySts() {
if (ntrySts == null) {
ntrySts = new ArrayList<>();
}
return this.ntrySts;
}
/**
* Gets the value of the ntryDt 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 ntryDt property.
*
*
* For example, to add a new item, do as follows:
*
* getNtryDt().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link DateAndDateTimeSearchChoice }
*
*
* @return
* The value of the ntryDt property.
*/
public List getNtryDt() {
if (ntryDt == null) {
ntryDt = new ArrayList<>();
}
return this.ntryDt;
}
/**
* Gets the value of the acctOwnr property.
*
* @return
* possible object is
* {@link BranchAndFinancialInstitutionIdentification5 }
*
*/
public BranchAndFinancialInstitutionIdentification5 getAcctOwnr() {
return acctOwnr;
}
/**
* Sets the value of the acctOwnr property.
*
* @param value
* allowed object is
* {@link BranchAndFinancialInstitutionIdentification5 }
*
*/
public CashAccountEntrySearch3 setAcctOwnr(BranchAndFinancialInstitutionIdentification5 value) {
this.acctOwnr = value;
return this;
}
/**
* Gets the value of the acctSvcr property.
*
* @return
* possible object is
* {@link BranchAndFinancialInstitutionIdentification5 }
*
*/
public BranchAndFinancialInstitutionIdentification5 getAcctSvcr() {
return acctSvcr;
}
/**
* Sets the value of the acctSvcr property.
*
* @param value
* allowed object is
* {@link BranchAndFinancialInstitutionIdentification5 }
*
*/
public CashAccountEntrySearch3 setAcctSvcr(BranchAndFinancialInstitutionIdentification5 value) {
this.acctSvcr = 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 acctId list.
* @see #getAcctId()
*
*/
public CashAccountEntrySearch3 addAcctId(AccountIdentificationSearchCriteria2Choice acctId) {
getAcctId().add(acctId);
return this;
}
/**
* Adds a new item to the ntryAmt list.
* @see #getNtryAmt()
*
*/
public CashAccountEntrySearch3 addNtryAmt(ActiveOrHistoricAmountRange1Choice ntryAmt) {
getNtryAmt().add(ntryAmt);
return this;
}
/**
* Adds a new item to the ntryAmtCcy list.
* @see #getNtryAmtCcy()
*
*/
public CashAccountEntrySearch3 addNtryAmtCcy(String ntryAmtCcy) {
getNtryAmtCcy().add(ntryAmtCcy);
return this;
}
/**
* Adds a new item to the ntrySts list.
* @see #getNtrySts()
*
*/
public CashAccountEntrySearch3 addNtrySts(EntryStatus1Code ntrySts) {
getNtrySts().add(ntrySts);
return this;
}
/**
* Adds a new item to the ntryDt list.
* @see #getNtryDt()
*
*/
public CashAccountEntrySearch3 addNtryDt(DateAndDateTimeSearchChoice ntryDt) {
getNtryDt().add(ntryDt);
return this;
}
}