com.prowidesoftware.swift.model.mx.dic.PaymentSearch3 Maven / Gradle / Ivy
Show all versions of pw-iso20022 Show documentation
package com.prowidesoftware.swift.model.mx.dic;
import java.time.LocalDate;
import java.util.ArrayList;
import java.util.List;
import com.prowidesoftware.swift.model.mx.adapters.IsoDateAdapter;
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 jakarta.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
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 payment.
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "PaymentSearch3", propOrder = {
"txRef",
"trfValDt",
"instrRef",
"instrSts",
"instdAmt",
"instdAmtCcy",
"cdtDbtInd",
"intrBkSttlmAmt",
"intrBkSttlmAmtCcy",
"pmtMtd",
"prty",
"prcgVldtyTm",
"instr",
"pmtTp",
"pmtInstrRef",
"intrBkValDt",
"rltdRef",
"pmtTxPty"
})
public class PaymentSearch3 {
@XmlElement(name = "TxRef")
protected List txRef;
@XmlElement(name = "TrfValDt")
protected List trfValDt;
@XmlElement(name = "InstrRef")
protected List instrRef;
@XmlElement(name = "InstrSts")
protected List instrSts;
@XmlElement(name = "InstdAmt")
protected List instdAmt;
@XmlElement(name = "InstdAmtCcy")
protected List instdAmtCcy;
@XmlElement(name = "CdtDbtInd")
@XmlSchemaType(name = "string")
protected CreditDebitCode cdtDbtInd;
@XmlElement(name = "IntrBkSttlmAmt")
protected List intrBkSttlmAmt;
@XmlElement(name = "IntrBkSttlmAmtCcy")
protected List intrBkSttlmAmtCcy;
@XmlElement(name = "PmtMtd")
protected List pmtMtd;
@XmlElement(name = "Prty")
protected List prty;
@XmlElement(name = "PrcgVldtyTm")
protected List prcgVldtyTm;
@XmlElement(name = "Instr")
@XmlSchemaType(name = "string")
protected List instr;
@XmlElement(name = "PmtTp")
protected List pmtTp;
@XmlElement(name = "PmtInstrRef")
protected List pmtInstrRef;
@XmlElement(name = "IntrBkValDt", type = String.class)
@XmlJavaTypeAdapter(IsoDateAdapter.class)
@XmlSchemaType(name = "date")
protected List intrBkValDt;
@XmlElement(name = "RltdRef")
protected List rltdRef;
@XmlElement(name = "PmtTxPty")
protected PaymentTransactionParty pmtTxPty;
/**
* Gets the value of the txRef 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 txRef property.
*
*
* For example, to add a new item, do as follows:
*
* getTxRef().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link String }
*
*
* @return
* The value of the txRef property.
*/
public List getTxRef() {
if (txRef == null) {
txRef = new ArrayList<>();
}
return this.txRef;
}
/**
* Gets the value of the trfValDt 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 trfValDt property.
*
*
* For example, to add a new item, do as follows:
*
* getTrfValDt().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link DateAndDateTimeSearchChoice }
*
*
* @return
* The value of the trfValDt property.
*/
public List getTrfValDt() {
if (trfValDt == null) {
trfValDt = new ArrayList<>();
}
return this.trfValDt;
}
/**
* Gets the value of the instrRef 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 instrRef property.
*
*
* For example, to add a new item, do as follows:
*
* getInstrRef().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link PaymentIdentification3Choice }
*
*
* @return
* The value of the instrRef property.
*/
public List getInstrRef() {
if (instrRef == null) {
instrRef = new ArrayList<>();
}
return this.instrRef;
}
/**
* Gets the value of the instrSts 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 instrSts property.
*
*
* For example, to add a new item, do as follows:
*
* getInstrSts().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link InstructionStatusSearch3 }
*
*
* @return
* The value of the instrSts property.
*/
public List getInstrSts() {
if (instrSts == null) {
instrSts = new ArrayList<>();
}
return this.instrSts;
}
/**
* Gets the value of the instdAmt 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 instdAmt property.
*
*
* For example, to add a new item, do as follows:
*
* getInstdAmt().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link AmountRangeChoice }
*
*
* @return
* The value of the instdAmt property.
*/
public List getInstdAmt() {
if (instdAmt == null) {
instdAmt = new ArrayList<>();
}
return this.instdAmt;
}
/**
* Gets the value of the instdAmtCcy 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 instdAmtCcy property.
*
*
* For example, to add a new item, do as follows:
*
* getInstdAmtCcy().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link String }
*
*
* @return
* The value of the instdAmtCcy property.
*/
public List getInstdAmtCcy() {
if (instdAmtCcy == null) {
instdAmtCcy = new ArrayList<>();
}
return this.instdAmtCcy;
}
/**
* 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 PaymentSearch3 setCdtDbtInd(CreditDebitCode value) {
this.cdtDbtInd = value;
return this;
}
/**
* Gets the value of the intrBkSttlmAmt 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 intrBkSttlmAmt property.
*
*
* For example, to add a new item, do as follows:
*
* getIntrBkSttlmAmt().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link AmountRangeChoice }
*
*
* @return
* The value of the intrBkSttlmAmt property.
*/
public List getIntrBkSttlmAmt() {
if (intrBkSttlmAmt == null) {
intrBkSttlmAmt = new ArrayList<>();
}
return this.intrBkSttlmAmt;
}
/**
* Gets the value of the intrBkSttlmAmtCcy 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 intrBkSttlmAmtCcy property.
*
*
* For example, to add a new item, do as follows:
*
* getIntrBkSttlmAmtCcy().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link String }
*
*
* @return
* The value of the intrBkSttlmAmtCcy property.
*/
public List getIntrBkSttlmAmtCcy() {
if (intrBkSttlmAmtCcy == null) {
intrBkSttlmAmtCcy = new ArrayList<>();
}
return this.intrBkSttlmAmtCcy;
}
/**
* Gets the value of the pmtMtd 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 pmtMtd property.
*
*
* For example, to add a new item, do as follows:
*
* getPmtMtd().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link PaymentOrigin1Choice }
*
*
* @return
* The value of the pmtMtd property.
*/
public List getPmtMtd() {
if (pmtMtd == null) {
pmtMtd = new ArrayList<>();
}
return this.pmtMtd;
}
/**
* Gets the value of the prty 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 prty property.
*
*
* For example, to add a new item, do as follows:
*
* getPrty().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link PriorityCodeChoice }
*
*
* @return
* The value of the prty property.
*/
public List getPrty() {
if (prty == null) {
prty = new ArrayList<>();
}
return this.prty;
}
/**
* Gets the value of the prcgVldtyTm 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 prcgVldtyTm property.
*
*
* For example, to add a new item, do as follows:
*
* getPrcgVldtyTm().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link DateTimePeriodChoice }
*
*
* @return
* The value of the prcgVldtyTm property.
*/
public List getPrcgVldtyTm() {
if (prcgVldtyTm == null) {
prcgVldtyTm = new ArrayList<>();
}
return this.prcgVldtyTm;
}
/**
* Gets the value of the instr 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 instr property.
*
*
* For example, to add a new item, do as follows:
*
* getInstr().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link Instruction1Code }
*
*
* @return
* The value of the instr property.
*/
public List getInstr() {
if (instr == null) {
instr = new ArrayList<>();
}
return this.instr;
}
/**
* Gets the value of the pmtTp 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 pmtTp property.
*
*
* For example, to add a new item, do as follows:
*
* getPmtTp().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link PaymentType2Choice }
*
*
* @return
* The value of the pmtTp property.
*/
public List getPmtTp() {
if (pmtTp == null) {
pmtTp = new ArrayList<>();
}
return this.pmtTp;
}
/**
* Gets the value of the pmtInstrRef 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 pmtInstrRef property.
*
*
* For example, to add a new item, do as follows:
*
* getPmtInstrRef().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link String }
*
*
* @return
* The value of the pmtInstrRef property.
*/
public List getPmtInstrRef() {
if (pmtInstrRef == null) {
pmtInstrRef = new ArrayList<>();
}
return this.pmtInstrRef;
}
/**
* Gets the value of the intrBkValDt 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 intrBkValDt property.
*
*
* For example, to add a new item, do as follows:
*
* getIntrBkValDt().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link String }
*
*
* @return
* The value of the intrBkValDt property.
*/
public List getIntrBkValDt() {
if (intrBkValDt == null) {
intrBkValDt = new ArrayList<>();
}
return this.intrBkValDt;
}
/**
* Gets the value of the rltdRef 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 rltdRef property.
*
*
* For example, to add a new item, do as follows:
*
* getRltdRef().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link String }
*
*
* @return
* The value of the rltdRef property.
*/
public List getRltdRef() {
if (rltdRef == null) {
rltdRef = new ArrayList<>();
}
return this.rltdRef;
}
/**
* Gets the value of the pmtTxPty property.
*
* @return
* possible object is
* {@link PaymentTransactionParty }
*
*/
public PaymentTransactionParty getPmtTxPty() {
return pmtTxPty;
}
/**
* Sets the value of the pmtTxPty property.
*
* @param value
* allowed object is
* {@link PaymentTransactionParty }
*
*/
public PaymentSearch3 setPmtTxPty(PaymentTransactionParty value) {
this.pmtTxPty = 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 txRef list.
* @see #getTxRef()
*
*/
public PaymentSearch3 addTxRef(String txRef) {
getTxRef().add(txRef);
return this;
}
/**
* Adds a new item to the trfValDt list.
* @see #getTrfValDt()
*
*/
public PaymentSearch3 addTrfValDt(DateAndDateTimeSearchChoice trfValDt) {
getTrfValDt().add(trfValDt);
return this;
}
/**
* Adds a new item to the instrRef list.
* @see #getInstrRef()
*
*/
public PaymentSearch3 addInstrRef(PaymentIdentification3Choice instrRef) {
getInstrRef().add(instrRef);
return this;
}
/**
* Adds a new item to the instrSts list.
* @see #getInstrSts()
*
*/
public PaymentSearch3 addInstrSts(InstructionStatusSearch3 instrSts) {
getInstrSts().add(instrSts);
return this;
}
/**
* Adds a new item to the instdAmt list.
* @see #getInstdAmt()
*
*/
public PaymentSearch3 addInstdAmt(AmountRangeChoice instdAmt) {
getInstdAmt().add(instdAmt);
return this;
}
/**
* Adds a new item to the instdAmtCcy list.
* @see #getInstdAmtCcy()
*
*/
public PaymentSearch3 addInstdAmtCcy(String instdAmtCcy) {
getInstdAmtCcy().add(instdAmtCcy);
return this;
}
/**
* Adds a new item to the intrBkSttlmAmt list.
* @see #getIntrBkSttlmAmt()
*
*/
public PaymentSearch3 addIntrBkSttlmAmt(AmountRangeChoice intrBkSttlmAmt) {
getIntrBkSttlmAmt().add(intrBkSttlmAmt);
return this;
}
/**
* Adds a new item to the intrBkSttlmAmtCcy list.
* @see #getIntrBkSttlmAmtCcy()
*
*/
public PaymentSearch3 addIntrBkSttlmAmtCcy(String intrBkSttlmAmtCcy) {
getIntrBkSttlmAmtCcy().add(intrBkSttlmAmtCcy);
return this;
}
/**
* Adds a new item to the pmtMtd list.
* @see #getPmtMtd()
*
*/
public PaymentSearch3 addPmtMtd(PaymentOrigin1Choice pmtMtd) {
getPmtMtd().add(pmtMtd);
return this;
}
/**
* Adds a new item to the prty list.
* @see #getPrty()
*
*/
public PaymentSearch3 addPrty(PriorityCodeChoice prty) {
getPrty().add(prty);
return this;
}
/**
* Adds a new item to the prcgVldtyTm list.
* @see #getPrcgVldtyTm()
*
*/
public PaymentSearch3 addPrcgVldtyTm(DateTimePeriodChoice prcgVldtyTm) {
getPrcgVldtyTm().add(prcgVldtyTm);
return this;
}
/**
* Adds a new item to the instr list.
* @see #getInstr()
*
*/
public PaymentSearch3 addInstr(Instruction1Code instr) {
getInstr().add(instr);
return this;
}
/**
* Adds a new item to the pmtTp list.
* @see #getPmtTp()
*
*/
public PaymentSearch3 addPmtTp(PaymentType2Choice pmtTp) {
getPmtTp().add(pmtTp);
return this;
}
/**
* Adds a new item to the pmtInstrRef list.
* @see #getPmtInstrRef()
*
*/
public PaymentSearch3 addPmtInstrRef(String pmtInstrRef) {
getPmtInstrRef().add(pmtInstrRef);
return this;
}
/**
* Adds a new item to the intrBkValDt list.
* @see #getIntrBkValDt()
*
*/
public PaymentSearch3 addIntrBkValDt(LocalDate intrBkValDt) {
getIntrBkValDt().add(intrBkValDt);
return this;
}
/**
* Adds a new item to the rltdRef list.
* @see #getRltdRef()
*
*/
public PaymentSearch3 addRltdRef(String rltdRef) {
getRltdRef().add(rltdRef);
return this;
}
}