com.prowidesoftware.swift.model.mx.dic.RedemptionExecution4 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.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;
/**
* Execution of a redemption order.
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "RedemptionExecution4", propOrder = {
"ordrRef",
"dealRef",
"ordrTp",
"finInstrmDtls",
"unitsNb",
"rndg",
"netAmt",
"hldgsRedRate",
"grssAmt",
"tradDtTm",
"pricDtls",
"prtlyExctdInd",
"cumDvddInd",
"intrmPrftAmt",
"fxDtls",
"incmPref",
"grp1Or2Units",
"chrgGnlDtls",
"comssnGnlDtls",
"taxGnlDtls",
"sttlmAndCtdyDtls",
"physDlvryInd",
"physDlvryDtls",
"reqdSttlmCcy",
"reqdNAVCcy",
"cshSttlmDtls"
})
public class RedemptionExecution4 {
@XmlElement(name = "OrdrRef", required = true)
protected String ordrRef;
@XmlElement(name = "DealRef", required = true)
protected String dealRef;
@XmlElement(name = "OrdrTp")
protected List ordrTp;
@XmlElement(name = "FinInstrmDtls", required = true)
protected FinancialInstrument6 finInstrmDtls;
@XmlElement(name = "UnitsNb", required = true)
protected FinancialInstrumentQuantity1 unitsNb;
@XmlElement(name = "Rndg")
@XmlSchemaType(name = "string")
protected RoundingDirection2Code rndg;
@XmlElement(name = "NetAmt", required = true)
protected ActiveCurrencyAndAmount netAmt;
@XmlElement(name = "HldgsRedRate")
protected BigDecimal hldgsRedRate;
@XmlElement(name = "GrssAmt")
protected ActiveCurrencyAndAmount grssAmt;
@XmlElement(name = "TradDtTm", required = true)
protected DateAndDateTimeChoice tradDtTm;
@XmlElement(name = "PricDtls", required = true)
protected UnitPrice5 pricDtls;
@XmlElement(name = "PrtlyExctdInd")
protected boolean prtlyExctdInd;
@XmlElement(name = "CumDvddInd")
protected boolean cumDvddInd;
@XmlElement(name = "IntrmPrftAmt")
protected ProfitAndLoss1Choice intrmPrftAmt;
@XmlElement(name = "FXDtls")
protected List fxDtls;
@XmlElement(name = "IncmPref")
@XmlSchemaType(name = "string")
protected IncomePreference1Code incmPref;
@XmlElement(name = "Grp1Or2Units")
@XmlSchemaType(name = "string")
protected UKTaxGroupUnitCode grp1Or2Units;
@XmlElement(name = "ChrgGnlDtls")
protected TotalCharges2 chrgGnlDtls;
@XmlElement(name = "ComssnGnlDtls")
protected TotalCommissions2 comssnGnlDtls;
@XmlElement(name = "TaxGnlDtls")
protected TotalTaxes2 taxGnlDtls;
@XmlElement(name = "SttlmAndCtdyDtls")
protected FundSettlementParameters4 sttlmAndCtdyDtls;
@XmlElement(name = "PhysDlvryInd")
protected boolean physDlvryInd;
@XmlElement(name = "PhysDlvryDtls")
protected DeliveryParameters3 physDlvryDtls;
@XmlElement(name = "ReqdSttlmCcy")
protected String reqdSttlmCcy;
@XmlElement(name = "ReqdNAVCcy")
protected String reqdNAVCcy;
@XmlElement(name = "CshSttlmDtls")
protected PaymentTransaction15 cshSttlmDtls;
/**
* Gets the value of the ordrRef property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getOrdrRef() {
return ordrRef;
}
/**
* Sets the value of the ordrRef property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public RedemptionExecution4 setOrdrRef(String value) {
this.ordrRef = value;
return this;
}
/**
* Gets the value of the dealRef property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getDealRef() {
return dealRef;
}
/**
* Sets the value of the dealRef property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public RedemptionExecution4 setDealRef(String value) {
this.dealRef = value;
return this;
}
/**
* Gets the value of the ordrTp 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 ordrTp property.
*
*
* For example, to add a new item, do as follows:
*
* getOrdrTp().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link FundOrderType1 }
*
*
* @return
* The value of the ordrTp property.
*/
public List getOrdrTp() {
if (ordrTp == null) {
ordrTp = new ArrayList<>();
}
return this.ordrTp;
}
/**
* Gets the value of the finInstrmDtls property.
*
* @return
* possible object is
* {@link FinancialInstrument6 }
*
*/
public FinancialInstrument6 getFinInstrmDtls() {
return finInstrmDtls;
}
/**
* Sets the value of the finInstrmDtls property.
*
* @param value
* allowed object is
* {@link FinancialInstrument6 }
*
*/
public RedemptionExecution4 setFinInstrmDtls(FinancialInstrument6 value) {
this.finInstrmDtls = value;
return this;
}
/**
* Gets the value of the unitsNb property.
*
* @return
* possible object is
* {@link FinancialInstrumentQuantity1 }
*
*/
public FinancialInstrumentQuantity1 getUnitsNb() {
return unitsNb;
}
/**
* Sets the value of the unitsNb property.
*
* @param value
* allowed object is
* {@link FinancialInstrumentQuantity1 }
*
*/
public RedemptionExecution4 setUnitsNb(FinancialInstrumentQuantity1 value) {
this.unitsNb = value;
return this;
}
/**
* Gets the value of the rndg property.
*
* @return
* possible object is
* {@link RoundingDirection2Code }
*
*/
public RoundingDirection2Code getRndg() {
return rndg;
}
/**
* Sets the value of the rndg property.
*
* @param value
* allowed object is
* {@link RoundingDirection2Code }
*
*/
public RedemptionExecution4 setRndg(RoundingDirection2Code value) {
this.rndg = value;
return this;
}
/**
* Gets the value of the netAmt property.
*
* @return
* possible object is
* {@link ActiveCurrencyAndAmount }
*
*/
public ActiveCurrencyAndAmount getNetAmt() {
return netAmt;
}
/**
* Sets the value of the netAmt property.
*
* @param value
* allowed object is
* {@link ActiveCurrencyAndAmount }
*
*/
public RedemptionExecution4 setNetAmt(ActiveCurrencyAndAmount value) {
this.netAmt = value;
return this;
}
/**
* Gets the value of the hldgsRedRate property.
*
* @return
* possible object is
* {@link BigDecimal }
*
*/
public BigDecimal getHldgsRedRate() {
return hldgsRedRate;
}
/**
* Sets the value of the hldgsRedRate property.
*
* @param value
* allowed object is
* {@link BigDecimal }
*
*/
public RedemptionExecution4 setHldgsRedRate(BigDecimal value) {
this.hldgsRedRate = value;
return this;
}
/**
* Gets the value of the grssAmt property.
*
* @return
* possible object is
* {@link ActiveCurrencyAndAmount }
*
*/
public ActiveCurrencyAndAmount getGrssAmt() {
return grssAmt;
}
/**
* Sets the value of the grssAmt property.
*
* @param value
* allowed object is
* {@link ActiveCurrencyAndAmount }
*
*/
public RedemptionExecution4 setGrssAmt(ActiveCurrencyAndAmount value) {
this.grssAmt = value;
return this;
}
/**
* Gets the value of the tradDtTm property.
*
* @return
* possible object is
* {@link DateAndDateTimeChoice }
*
*/
public DateAndDateTimeChoice getTradDtTm() {
return tradDtTm;
}
/**
* Sets the value of the tradDtTm property.
*
* @param value
* allowed object is
* {@link DateAndDateTimeChoice }
*
*/
public RedemptionExecution4 setTradDtTm(DateAndDateTimeChoice value) {
this.tradDtTm = value;
return this;
}
/**
* Gets the value of the pricDtls property.
*
* @return
* possible object is
* {@link UnitPrice5 }
*
*/
public UnitPrice5 getPricDtls() {
return pricDtls;
}
/**
* Sets the value of the pricDtls property.
*
* @param value
* allowed object is
* {@link UnitPrice5 }
*
*/
public RedemptionExecution4 setPricDtls(UnitPrice5 value) {
this.pricDtls = value;
return this;
}
/**
* Gets the value of the prtlyExctdInd property.
*
*/
public boolean isPrtlyExctdInd() {
return prtlyExctdInd;
}
/**
* Sets the value of the prtlyExctdInd property.
*
*/
public RedemptionExecution4 setPrtlyExctdInd(boolean value) {
this.prtlyExctdInd = value;
return this;
}
/**
* Gets the value of the cumDvddInd property.
*
*/
public boolean isCumDvddInd() {
return cumDvddInd;
}
/**
* Sets the value of the cumDvddInd property.
*
*/
public RedemptionExecution4 setCumDvddInd(boolean value) {
this.cumDvddInd = value;
return this;
}
/**
* Gets the value of the intrmPrftAmt property.
*
* @return
* possible object is
* {@link ProfitAndLoss1Choice }
*
*/
public ProfitAndLoss1Choice getIntrmPrftAmt() {
return intrmPrftAmt;
}
/**
* Sets the value of the intrmPrftAmt property.
*
* @param value
* allowed object is
* {@link ProfitAndLoss1Choice }
*
*/
public RedemptionExecution4 setIntrmPrftAmt(ProfitAndLoss1Choice value) {
this.intrmPrftAmt = value;
return this;
}
/**
* Gets the value of the fxDtls 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 fxDtls property.
*
*
* For example, to add a new item, do as follows:
*
* getFXDtls().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link ForeignExchangeTerms4 }
*
*
* @return
* The value of the fxDtls property.
*/
public List getFXDtls() {
if (fxDtls == null) {
fxDtls = new ArrayList<>();
}
return this.fxDtls;
}
/**
* Gets the value of the incmPref property.
*
* @return
* possible object is
* {@link IncomePreference1Code }
*
*/
public IncomePreference1Code getIncmPref() {
return incmPref;
}
/**
* Sets the value of the incmPref property.
*
* @param value
* allowed object is
* {@link IncomePreference1Code }
*
*/
public RedemptionExecution4 setIncmPref(IncomePreference1Code value) {
this.incmPref = value;
return this;
}
/**
* Gets the value of the grp1Or2Units property.
*
* @return
* possible object is
* {@link UKTaxGroupUnitCode }
*
*/
public UKTaxGroupUnitCode getGrp1Or2Units() {
return grp1Or2Units;
}
/**
* Sets the value of the grp1Or2Units property.
*
* @param value
* allowed object is
* {@link UKTaxGroupUnitCode }
*
*/
public RedemptionExecution4 setGrp1Or2Units(UKTaxGroupUnitCode value) {
this.grp1Or2Units = value;
return this;
}
/**
* Gets the value of the chrgGnlDtls property.
*
* @return
* possible object is
* {@link TotalCharges2 }
*
*/
public TotalCharges2 getChrgGnlDtls() {
return chrgGnlDtls;
}
/**
* Sets the value of the chrgGnlDtls property.
*
* @param value
* allowed object is
* {@link TotalCharges2 }
*
*/
public RedemptionExecution4 setChrgGnlDtls(TotalCharges2 value) {
this.chrgGnlDtls = value;
return this;
}
/**
* Gets the value of the comssnGnlDtls property.
*
* @return
* possible object is
* {@link TotalCommissions2 }
*
*/
public TotalCommissions2 getComssnGnlDtls() {
return comssnGnlDtls;
}
/**
* Sets the value of the comssnGnlDtls property.
*
* @param value
* allowed object is
* {@link TotalCommissions2 }
*
*/
public RedemptionExecution4 setComssnGnlDtls(TotalCommissions2 value) {
this.comssnGnlDtls = value;
return this;
}
/**
* Gets the value of the taxGnlDtls property.
*
* @return
* possible object is
* {@link TotalTaxes2 }
*
*/
public TotalTaxes2 getTaxGnlDtls() {
return taxGnlDtls;
}
/**
* Sets the value of the taxGnlDtls property.
*
* @param value
* allowed object is
* {@link TotalTaxes2 }
*
*/
public RedemptionExecution4 setTaxGnlDtls(TotalTaxes2 value) {
this.taxGnlDtls = value;
return this;
}
/**
* Gets the value of the sttlmAndCtdyDtls property.
*
* @return
* possible object is
* {@link FundSettlementParameters4 }
*
*/
public FundSettlementParameters4 getSttlmAndCtdyDtls() {
return sttlmAndCtdyDtls;
}
/**
* Sets the value of the sttlmAndCtdyDtls property.
*
* @param value
* allowed object is
* {@link FundSettlementParameters4 }
*
*/
public RedemptionExecution4 setSttlmAndCtdyDtls(FundSettlementParameters4 value) {
this.sttlmAndCtdyDtls = value;
return this;
}
/**
* Gets the value of the physDlvryInd property.
*
*/
public boolean isPhysDlvryInd() {
return physDlvryInd;
}
/**
* Sets the value of the physDlvryInd property.
*
*/
public RedemptionExecution4 setPhysDlvryInd(boolean value) {
this.physDlvryInd = value;
return this;
}
/**
* Gets the value of the physDlvryDtls property.
*
* @return
* possible object is
* {@link DeliveryParameters3 }
*
*/
public DeliveryParameters3 getPhysDlvryDtls() {
return physDlvryDtls;
}
/**
* Sets the value of the physDlvryDtls property.
*
* @param value
* allowed object is
* {@link DeliveryParameters3 }
*
*/
public RedemptionExecution4 setPhysDlvryDtls(DeliveryParameters3 value) {
this.physDlvryDtls = value;
return this;
}
/**
* Gets the value of the reqdSttlmCcy property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getReqdSttlmCcy() {
return reqdSttlmCcy;
}
/**
* Sets the value of the reqdSttlmCcy property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public RedemptionExecution4 setReqdSttlmCcy(String value) {
this.reqdSttlmCcy = value;
return this;
}
/**
* Gets the value of the reqdNAVCcy property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getReqdNAVCcy() {
return reqdNAVCcy;
}
/**
* Sets the value of the reqdNAVCcy property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public RedemptionExecution4 setReqdNAVCcy(String value) {
this.reqdNAVCcy = value;
return this;
}
/**
* Gets the value of the cshSttlmDtls property.
*
* @return
* possible object is
* {@link PaymentTransaction15 }
*
*/
public PaymentTransaction15 getCshSttlmDtls() {
return cshSttlmDtls;
}
/**
* Sets the value of the cshSttlmDtls property.
*
* @param value
* allowed object is
* {@link PaymentTransaction15 }
*
*/
public RedemptionExecution4 setCshSttlmDtls(PaymentTransaction15 value) {
this.cshSttlmDtls = 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 ordrTp list.
* @see #getOrdrTp()
*
*/
public RedemptionExecution4 addOrdrTp(FundOrderType1 ordrTp) {
getOrdrTp().add(ordrTp);
return this;
}
/**
* Adds a new item to the fXDtls list.
* @see #getFXDtls()
*
*/
public RedemptionExecution4 addFXDtls(ForeignExchangeTerms4 fXDtls) {
getFXDtls().add(fXDtls);
return this;
}
}