com.prowidesoftware.swift.model.mx.dic.SwitchRedemptionLegExecution2 Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pw-iso20022 Show documentation
Show all versions of pw-iso20022 Show documentation
Prowide Library for ISO 20022 messages
The newest version!
package com.prowidesoftware.swift.model.mx.dic;
import java.math.BigDecimal;
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 the redemption part, in a switch between investment funds or investment fund classes.
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "SwitchRedemptionLegExecution2", propOrder = {
"legId",
"legExctnId",
"finInstrmDtls",
"unitsNb",
"hldgsRedRate",
"netAmt",
"grssAmt",
"tradDtTm",
"pricDtls",
"cumDvddInd",
"intrmPrftAmt",
"incmPref",
"grp1Or2Units",
"reqdSttlmCcy",
"reqdNAVCcy",
"chrgGnlDtls",
"comssnGnlDtls",
"taxGnlDtls",
"sttlmAndCtdyDtls",
"physDlvryInd",
"physDlvryDtls"
})
public class SwitchRedemptionLegExecution2 {
@XmlElement(name = "LegId")
protected String legId;
@XmlElement(name = "LegExctnId")
protected String legExctnId;
@XmlElement(name = "FinInstrmDtls", required = true)
protected FinancialInstrument6 finInstrmDtls;
@XmlElement(name = "UnitsNb", required = true)
protected FinancialInstrumentQuantity1 unitsNb;
@XmlElement(name = "HldgsRedRate")
protected BigDecimal hldgsRedRate;
@XmlElement(name = "NetAmt", required = true)
protected ActiveCurrencyAndAmount netAmt;
@XmlElement(name = "GrssAmt")
protected ActiveCurrencyAndAmount grssAmt;
@XmlElement(name = "TradDtTm", required = true)
protected DateAndDateTimeChoice tradDtTm;
@XmlElement(name = "PricDtls", required = true)
protected UnitPrice5 pricDtls;
@XmlElement(name = "CumDvddInd")
protected boolean cumDvddInd;
@XmlElement(name = "IntrmPrftAmt")
protected ProfitAndLoss1Choice intrmPrftAmt;
@XmlElement(name = "IncmPref")
@XmlSchemaType(name = "string")
protected IncomePreference1Code incmPref;
@XmlElement(name = "Grp1Or2Units")
@XmlSchemaType(name = "string")
protected UKTaxGroupUnitCode grp1Or2Units;
@XmlElement(name = "ReqdSttlmCcy")
protected String reqdSttlmCcy;
@XmlElement(name = "ReqdNAVCcy")
protected String reqdNAVCcy;
@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;
/**
* Gets the value of the legId property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getLegId() {
return legId;
}
/**
* Sets the value of the legId property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public SwitchRedemptionLegExecution2 setLegId(String value) {
this.legId = value;
return this;
}
/**
* Gets the value of the legExctnId property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getLegExctnId() {
return legExctnId;
}
/**
* Sets the value of the legExctnId property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public SwitchRedemptionLegExecution2 setLegExctnId(String value) {
this.legExctnId = value;
return this;
}
/**
* 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 SwitchRedemptionLegExecution2 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 SwitchRedemptionLegExecution2 setUnitsNb(FinancialInstrumentQuantity1 value) {
this.unitsNb = 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 SwitchRedemptionLegExecution2 setHldgsRedRate(BigDecimal value) {
this.hldgsRedRate = 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 SwitchRedemptionLegExecution2 setNetAmt(ActiveCurrencyAndAmount value) {
this.netAmt = 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 SwitchRedemptionLegExecution2 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 SwitchRedemptionLegExecution2 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 SwitchRedemptionLegExecution2 setPricDtls(UnitPrice5 value) {
this.pricDtls = value;
return this;
}
/**
* Gets the value of the cumDvddInd property.
*
*/
public boolean isCumDvddInd() {
return cumDvddInd;
}
/**
* Sets the value of the cumDvddInd property.
*
*/
public SwitchRedemptionLegExecution2 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 SwitchRedemptionLegExecution2 setIntrmPrftAmt(ProfitAndLoss1Choice value) {
this.intrmPrftAmt = value;
return this;
}
/**
* 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 SwitchRedemptionLegExecution2 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 SwitchRedemptionLegExecution2 setGrp1Or2Units(UKTaxGroupUnitCode value) {
this.grp1Or2Units = 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 SwitchRedemptionLegExecution2 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 SwitchRedemptionLegExecution2 setReqdNAVCcy(String value) {
this.reqdNAVCcy = 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 SwitchRedemptionLegExecution2 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 SwitchRedemptionLegExecution2 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 SwitchRedemptionLegExecution2 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 SwitchRedemptionLegExecution2 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 SwitchRedemptionLegExecution2 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 SwitchRedemptionLegExecution2 setPhysDlvryDtls(DeliveryParameters3 value) {
this.physDlvryDtls = 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);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy