com.prowidesoftware.swift.model.mx.dic.Pension3 Maven / Gradle / Ivy
Show all versions of pw-iso20022 Show documentation
package com.prowidesoftware.swift.model.mx.dic;
import java.math.BigDecimal;
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.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;
/**
* Attributes of a pension.
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "Pension3", propOrder = {
"id",
"tp",
"trfScp",
"taxRef",
"drwdwnTrchId",
"drwdwnSts",
"drwdwnTp",
"estmtdVal",
"blckTrf",
"blckTrfRef",
"taxFreeCshPrtcn",
"taxFreeCshAmt",
"valOfPnsnPlcyOrPlanOrSchme",
"rtrmntAgePrtcn",
"rtrmntAge",
"shrg",
"lumpSumTp",
"pnsnOrdr",
"ringFncdDrwdwnAssts",
"mnyPurchsAnlAllwnc",
"sfgrdBnft",
"nonSfgrddGrntedBnfts",
"lftmAllwncPrtcn",
"clntLftmAllwncPrtcn",
"bnftCrstllstnEvtOcrd",
"addtlInf"
})
public class Pension3 {
@XmlElement(name = "Id")
protected PensionPolicy1 id;
@XmlElement(name = "Tp", required = true)
protected PensionSchemeType2Choice tp;
@XmlElement(name = "TrfScp")
protected PensionTransferScope1Choice trfScp;
@XmlElement(name = "TaxRef")
protected List taxRef;
@XmlElement(name = "DrwdwnTrchId")
protected String drwdwnTrchId;
@XmlElement(name = "DrwdwnSts")
protected DrawdownStatus1Choice drwdwnSts;
@XmlElement(name = "DrwdwnTp")
protected DrawdownType2Choice drwdwnTp;
@XmlElement(name = "EstmtdVal")
protected DateAndAmount2 estmtdVal;
@XmlElement(name = "BlckTrf")
protected Boolean blckTrf;
@XmlElement(name = "BlckTrfRef")
protected String blckTrfRef;
@XmlElement(name = "TaxFreeCshPrtcn")
protected Boolean taxFreeCshPrtcn;
@XmlElement(name = "TaxFreeCshAmt")
protected DateAndAmount2 taxFreeCshAmt;
@XmlElement(name = "ValOfPnsnPlcyOrPlanOrSchme")
protected DateAndAmount2 valOfPnsnPlcyOrPlanOrSchme;
@XmlElement(name = "RtrmntAgePrtcn")
protected Boolean rtrmntAgePrtcn;
@XmlElement(name = "RtrmntAge")
protected BigDecimal rtrmntAge;
@XmlElement(name = "Shrg")
protected Boolean shrg;
@XmlElement(name = "LumpSumTp")
protected List lumpSumTp;
@XmlElement(name = "PnsnOrdr")
protected List pnsnOrdr;
@XmlElement(name = "RingFncdDrwdwnAssts")
protected Boolean ringFncdDrwdwnAssts;
@XmlElement(name = "MnyPurchsAnlAllwnc")
protected MoneyPurchaseAnnualAllowance1 mnyPurchsAnlAllwnc;
@XmlElement(name = "SfgrdBnft")
protected Boolean sfgrdBnft;
@XmlElement(name = "NonSfgrddGrntedBnfts")
protected Boolean nonSfgrddGrntedBnfts;
@XmlElement(name = "LftmAllwncPrtcn")
protected Boolean lftmAllwncPrtcn;
@XmlElement(name = "ClntLftmAllwncPrtcn")
protected Boolean clntLftmAllwncPrtcn;
@XmlElement(name = "BnftCrstllstnEvtOcrd")
protected Boolean bnftCrstllstnEvtOcrd;
@XmlElement(name = "AddtlInf")
protected List addtlInf;
/**
* Gets the value of the id property.
*
* @return
* possible object is
* {@link PensionPolicy1 }
*
*/
public PensionPolicy1 getId() {
return id;
}
/**
* Sets the value of the id property.
*
* @param value
* allowed object is
* {@link PensionPolicy1 }
*
*/
public Pension3 setId(PensionPolicy1 value) {
this.id = value;
return this;
}
/**
* Gets the value of the tp property.
*
* @return
* possible object is
* {@link PensionSchemeType2Choice }
*
*/
public PensionSchemeType2Choice getTp() {
return tp;
}
/**
* Sets the value of the tp property.
*
* @param value
* allowed object is
* {@link PensionSchemeType2Choice }
*
*/
public Pension3 setTp(PensionSchemeType2Choice value) {
this.tp = value;
return this;
}
/**
* Gets the value of the trfScp property.
*
* @return
* possible object is
* {@link PensionTransferScope1Choice }
*
*/
public PensionTransferScope1Choice getTrfScp() {
return trfScp;
}
/**
* Sets the value of the trfScp property.
*
* @param value
* allowed object is
* {@link PensionTransferScope1Choice }
*
*/
public Pension3 setTrfScp(PensionTransferScope1Choice value) {
this.trfScp = value;
return this;
}
/**
* Gets the value of the taxRef 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 taxRef property.
*
*
* For example, to add a new item, do as follows:
*
* getTaxRef().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link TaxReference1 }
*
*
* @return
* The value of the taxRef property.
*/
public List getTaxRef() {
if (taxRef == null) {
taxRef = new ArrayList<>();
}
return this.taxRef;
}
/**
* Gets the value of the drwdwnTrchId property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getDrwdwnTrchId() {
return drwdwnTrchId;
}
/**
* Sets the value of the drwdwnTrchId property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public Pension3 setDrwdwnTrchId(String value) {
this.drwdwnTrchId = value;
return this;
}
/**
* Gets the value of the drwdwnSts property.
*
* @return
* possible object is
* {@link DrawdownStatus1Choice }
*
*/
public DrawdownStatus1Choice getDrwdwnSts() {
return drwdwnSts;
}
/**
* Sets the value of the drwdwnSts property.
*
* @param value
* allowed object is
* {@link DrawdownStatus1Choice }
*
*/
public Pension3 setDrwdwnSts(DrawdownStatus1Choice value) {
this.drwdwnSts = value;
return this;
}
/**
* Gets the value of the drwdwnTp property.
*
* @return
* possible object is
* {@link DrawdownType2Choice }
*
*/
public DrawdownType2Choice getDrwdwnTp() {
return drwdwnTp;
}
/**
* Sets the value of the drwdwnTp property.
*
* @param value
* allowed object is
* {@link DrawdownType2Choice }
*
*/
public Pension3 setDrwdwnTp(DrawdownType2Choice value) {
this.drwdwnTp = value;
return this;
}
/**
* Gets the value of the estmtdVal property.
*
* @return
* possible object is
* {@link DateAndAmount2 }
*
*/
public DateAndAmount2 getEstmtdVal() {
return estmtdVal;
}
/**
* Sets the value of the estmtdVal property.
*
* @param value
* allowed object is
* {@link DateAndAmount2 }
*
*/
public Pension3 setEstmtdVal(DateAndAmount2 value) {
this.estmtdVal = value;
return this;
}
/**
* Gets the value of the blckTrf property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean isBlckTrf() {
return blckTrf;
}
/**
* Sets the value of the blckTrf property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public Pension3 setBlckTrf(Boolean value) {
this.blckTrf = value;
return this;
}
/**
* Gets the value of the blckTrfRef property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getBlckTrfRef() {
return blckTrfRef;
}
/**
* Sets the value of the blckTrfRef property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public Pension3 setBlckTrfRef(String value) {
this.blckTrfRef = value;
return this;
}
/**
* Gets the value of the taxFreeCshPrtcn property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean isTaxFreeCshPrtcn() {
return taxFreeCshPrtcn;
}
/**
* Sets the value of the taxFreeCshPrtcn property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public Pension3 setTaxFreeCshPrtcn(Boolean value) {
this.taxFreeCshPrtcn = value;
return this;
}
/**
* Gets the value of the taxFreeCshAmt property.
*
* @return
* possible object is
* {@link DateAndAmount2 }
*
*/
public DateAndAmount2 getTaxFreeCshAmt() {
return taxFreeCshAmt;
}
/**
* Sets the value of the taxFreeCshAmt property.
*
* @param value
* allowed object is
* {@link DateAndAmount2 }
*
*/
public Pension3 setTaxFreeCshAmt(DateAndAmount2 value) {
this.taxFreeCshAmt = value;
return this;
}
/**
* Gets the value of the valOfPnsnPlcyOrPlanOrSchme property.
*
* @return
* possible object is
* {@link DateAndAmount2 }
*
*/
public DateAndAmount2 getValOfPnsnPlcyOrPlanOrSchme() {
return valOfPnsnPlcyOrPlanOrSchme;
}
/**
* Sets the value of the valOfPnsnPlcyOrPlanOrSchme property.
*
* @param value
* allowed object is
* {@link DateAndAmount2 }
*
*/
public Pension3 setValOfPnsnPlcyOrPlanOrSchme(DateAndAmount2 value) {
this.valOfPnsnPlcyOrPlanOrSchme = value;
return this;
}
/**
* Gets the value of the rtrmntAgePrtcn property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean isRtrmntAgePrtcn() {
return rtrmntAgePrtcn;
}
/**
* Sets the value of the rtrmntAgePrtcn property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public Pension3 setRtrmntAgePrtcn(Boolean value) {
this.rtrmntAgePrtcn = value;
return this;
}
/**
* Gets the value of the rtrmntAge property.
*
* @return
* possible object is
* {@link BigDecimal }
*
*/
public BigDecimal getRtrmntAge() {
return rtrmntAge;
}
/**
* Sets the value of the rtrmntAge property.
*
* @param value
* allowed object is
* {@link BigDecimal }
*
*/
public Pension3 setRtrmntAge(BigDecimal value) {
this.rtrmntAge = value;
return this;
}
/**
* Gets the value of the shrg property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean isShrg() {
return shrg;
}
/**
* Sets the value of the shrg property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public Pension3 setShrg(Boolean value) {
this.shrg = value;
return this;
}
/**
* Gets the value of the lumpSumTp 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 lumpSumTp property.
*
*
* For example, to add a new item, do as follows:
*
* getLumpSumTp().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link LumpSumType1Choice }
*
*
* @return
* The value of the lumpSumTp property.
*/
public List getLumpSumTp() {
if (lumpSumTp == null) {
lumpSumTp = new ArrayList<>();
}
return this.lumpSumTp;
}
/**
* Gets the value of the pnsnOrdr 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 pnsnOrdr property.
*
*
* For example, to add a new item, do as follows:
*
* getPnsnOrdr().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link PensionOrder1 }
*
*
* @return
* The value of the pnsnOrdr property.
*/
public List getPnsnOrdr() {
if (pnsnOrdr == null) {
pnsnOrdr = new ArrayList<>();
}
return this.pnsnOrdr;
}
/**
* Gets the value of the ringFncdDrwdwnAssts property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean isRingFncdDrwdwnAssts() {
return ringFncdDrwdwnAssts;
}
/**
* Sets the value of the ringFncdDrwdwnAssts property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public Pension3 setRingFncdDrwdwnAssts(Boolean value) {
this.ringFncdDrwdwnAssts = value;
return this;
}
/**
* Gets the value of the mnyPurchsAnlAllwnc property.
*
* @return
* possible object is
* {@link MoneyPurchaseAnnualAllowance1 }
*
*/
public MoneyPurchaseAnnualAllowance1 getMnyPurchsAnlAllwnc() {
return mnyPurchsAnlAllwnc;
}
/**
* Sets the value of the mnyPurchsAnlAllwnc property.
*
* @param value
* allowed object is
* {@link MoneyPurchaseAnnualAllowance1 }
*
*/
public Pension3 setMnyPurchsAnlAllwnc(MoneyPurchaseAnnualAllowance1 value) {
this.mnyPurchsAnlAllwnc = value;
return this;
}
/**
* Gets the value of the sfgrdBnft property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean isSfgrdBnft() {
return sfgrdBnft;
}
/**
* Sets the value of the sfgrdBnft property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public Pension3 setSfgrdBnft(Boolean value) {
this.sfgrdBnft = value;
return this;
}
/**
* Gets the value of the nonSfgrddGrntedBnfts property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean isNonSfgrddGrntedBnfts() {
return nonSfgrddGrntedBnfts;
}
/**
* Sets the value of the nonSfgrddGrntedBnfts property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public Pension3 setNonSfgrddGrntedBnfts(Boolean value) {
this.nonSfgrddGrntedBnfts = value;
return this;
}
/**
* Gets the value of the lftmAllwncPrtcn property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean isLftmAllwncPrtcn() {
return lftmAllwncPrtcn;
}
/**
* Sets the value of the lftmAllwncPrtcn property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public Pension3 setLftmAllwncPrtcn(Boolean value) {
this.lftmAllwncPrtcn = value;
return this;
}
/**
* Gets the value of the clntLftmAllwncPrtcn property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean isClntLftmAllwncPrtcn() {
return clntLftmAllwncPrtcn;
}
/**
* Sets the value of the clntLftmAllwncPrtcn property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public Pension3 setClntLftmAllwncPrtcn(Boolean value) {
this.clntLftmAllwncPrtcn = value;
return this;
}
/**
* Gets the value of the bnftCrstllstnEvtOcrd property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean isBnftCrstllstnEvtOcrd() {
return bnftCrstllstnEvtOcrd;
}
/**
* Sets the value of the bnftCrstllstnEvtOcrd property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public Pension3 setBnftCrstllstnEvtOcrd(Boolean value) {
this.bnftCrstllstnEvtOcrd = value;
return this;
}
/**
* Gets the value of the addtlInf 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 addtlInf property.
*
*
* For example, to add a new item, do as follows:
*
* getAddtlInf().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link AdditionalInformation15 }
*
*
* @return
* The value of the addtlInf property.
*/
public List getAddtlInf() {
if (addtlInf == null) {
addtlInf = new ArrayList<>();
}
return this.addtlInf;
}
@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 taxRef list.
* @see #getTaxRef()
*
*/
public Pension3 addTaxRef(TaxReference1 taxRef) {
getTaxRef().add(taxRef);
return this;
}
/**
* Adds a new item to the lumpSumTp list.
* @see #getLumpSumTp()
*
*/
public Pension3 addLumpSumTp(LumpSumType1Choice lumpSumTp) {
getLumpSumTp().add(lumpSumTp);
return this;
}
/**
* Adds a new item to the pnsnOrdr list.
* @see #getPnsnOrdr()
*
*/
public Pension3 addPnsnOrdr(PensionOrder1 pnsnOrdr) {
getPnsnOrdr().add(pnsnOrdr);
return this;
}
/**
* Adds a new item to the addtlInf list.
* @see #getAddtlInf()
*
*/
public Pension3 addAddtlInf(AdditionalInformation15 addtlInf) {
getAddtlInf().add(addtlInf);
return this;
}
}