com.prowidesoftware.swift.model.mx.dic.SwitchRedemptionLegOrder3 Maven / Gradle / Ivy
Show all versions of pw-iso20022 Show documentation
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;
/**
* Redemption leg, or switch-out, of a switch transaction.
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "SwitchRedemptionLegOrder3", propOrder = {
"legId",
"finInstrmDtls",
"finInstrmQtyChc",
"invstmtAcctDtls",
"incmPref",
"grp1Or2Units",
"reqdSttlmCcy",
"reqdNAVCcy",
"chrgDtls",
"comssnDtls",
"taxDtls",
"sttlmAndCtdyDtls",
"physDlvryInd",
"physDlvryDtls",
"nonStdSttlmInf",
"equlstn"
})
public class SwitchRedemptionLegOrder3 {
@XmlElement(name = "LegId")
protected String legId;
@XmlElement(name = "FinInstrmDtls", required = true)
protected FinancialInstrument10 finInstrmDtls;
@XmlElement(name = "FinInstrmQtyChc")
protected FinancialInstrumentQuantity5Choice finInstrmQtyChc;
@XmlElement(name = "InvstmtAcctDtls")
protected InvestmentAccount21 invstmtAcctDtls;
@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 = "ChrgDtls")
protected List chrgDtls;
@XmlElement(name = "ComssnDtls")
protected List comssnDtls;
@XmlElement(name = "TaxDtls")
protected List taxDtls;
@XmlElement(name = "SttlmAndCtdyDtls")
protected FundSettlementParameters3 sttlmAndCtdyDtls;
@XmlElement(name = "PhysDlvryInd")
protected boolean physDlvryInd;
@XmlElement(name = "PhysDlvryDtls")
protected DeliveryParameters3 physDlvryDtls;
@XmlElement(name = "NonStdSttlmInf")
protected String nonStdSttlmInf;
@XmlElement(name = "Equlstn")
protected Equalisation1 equlstn;
/**
* 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 SwitchRedemptionLegOrder3 setLegId(String value) {
this.legId = value;
return this;
}
/**
* Gets the value of the finInstrmDtls property.
*
* @return
* possible object is
* {@link FinancialInstrument10 }
*
*/
public FinancialInstrument10 getFinInstrmDtls() {
return finInstrmDtls;
}
/**
* Sets the value of the finInstrmDtls property.
*
* @param value
* allowed object is
* {@link FinancialInstrument10 }
*
*/
public SwitchRedemptionLegOrder3 setFinInstrmDtls(FinancialInstrument10 value) {
this.finInstrmDtls = value;
return this;
}
/**
* Gets the value of the finInstrmQtyChc property.
*
* @return
* possible object is
* {@link FinancialInstrumentQuantity5Choice }
*
*/
public FinancialInstrumentQuantity5Choice getFinInstrmQtyChc() {
return finInstrmQtyChc;
}
/**
* Sets the value of the finInstrmQtyChc property.
*
* @param value
* allowed object is
* {@link FinancialInstrumentQuantity5Choice }
*
*/
public SwitchRedemptionLegOrder3 setFinInstrmQtyChc(FinancialInstrumentQuantity5Choice value) {
this.finInstrmQtyChc = value;
return this;
}
/**
* Gets the value of the invstmtAcctDtls property.
*
* @return
* possible object is
* {@link InvestmentAccount21 }
*
*/
public InvestmentAccount21 getInvstmtAcctDtls() {
return invstmtAcctDtls;
}
/**
* Sets the value of the invstmtAcctDtls property.
*
* @param value
* allowed object is
* {@link InvestmentAccount21 }
*
*/
public SwitchRedemptionLegOrder3 setInvstmtAcctDtls(InvestmentAccount21 value) {
this.invstmtAcctDtls = 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 SwitchRedemptionLegOrder3 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 SwitchRedemptionLegOrder3 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 SwitchRedemptionLegOrder3 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 SwitchRedemptionLegOrder3 setReqdNAVCcy(String value) {
this.reqdNAVCcy = value;
return this;
}
/**
* Gets the value of the chrgDtls 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 chrgDtls property.
*
*
* For example, to add a new item, do as follows:
*
* getChrgDtls().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link Charge17 }
*
*
* @return
* The value of the chrgDtls property.
*/
public List getChrgDtls() {
if (chrgDtls == null) {
chrgDtls = new ArrayList<>();
}
return this.chrgDtls;
}
/**
* Gets the value of the comssnDtls 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 comssnDtls property.
*
*
* For example, to add a new item, do as follows:
*
* getComssnDtls().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link Commission10 }
*
*
* @return
* The value of the comssnDtls property.
*/
public List getComssnDtls() {
if (comssnDtls == null) {
comssnDtls = new ArrayList<>();
}
return this.comssnDtls;
}
/**
* Gets the value of the taxDtls 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 taxDtls property.
*
*
* For example, to add a new item, do as follows:
*
* getTaxDtls().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link Tax16 }
*
*
* @return
* The value of the taxDtls property.
*/
public List getTaxDtls() {
if (taxDtls == null) {
taxDtls = new ArrayList<>();
}
return this.taxDtls;
}
/**
* Gets the value of the sttlmAndCtdyDtls property.
*
* @return
* possible object is
* {@link FundSettlementParameters3 }
*
*/
public FundSettlementParameters3 getSttlmAndCtdyDtls() {
return sttlmAndCtdyDtls;
}
/**
* Sets the value of the sttlmAndCtdyDtls property.
*
* @param value
* allowed object is
* {@link FundSettlementParameters3 }
*
*/
public SwitchRedemptionLegOrder3 setSttlmAndCtdyDtls(FundSettlementParameters3 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 SwitchRedemptionLegOrder3 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 SwitchRedemptionLegOrder3 setPhysDlvryDtls(DeliveryParameters3 value) {
this.physDlvryDtls = value;
return this;
}
/**
* Gets the value of the nonStdSttlmInf property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getNonStdSttlmInf() {
return nonStdSttlmInf;
}
/**
* Sets the value of the nonStdSttlmInf property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public SwitchRedemptionLegOrder3 setNonStdSttlmInf(String value) {
this.nonStdSttlmInf = value;
return this;
}
/**
* Gets the value of the equlstn property.
*
* @return
* possible object is
* {@link Equalisation1 }
*
*/
public Equalisation1 getEqulstn() {
return equlstn;
}
/**
* Sets the value of the equlstn property.
*
* @param value
* allowed object is
* {@link Equalisation1 }
*
*/
public SwitchRedemptionLegOrder3 setEqulstn(Equalisation1 value) {
this.equlstn = 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 chrgDtls list.
* @see #getChrgDtls()
*
*/
public SwitchRedemptionLegOrder3 addChrgDtls(Charge17 chrgDtls) {
getChrgDtls().add(chrgDtls);
return this;
}
/**
* Adds a new item to the comssnDtls list.
* @see #getComssnDtls()
*
*/
public SwitchRedemptionLegOrder3 addComssnDtls(Commission10 comssnDtls) {
getComssnDtls().add(comssnDtls);
return this;
}
/**
* Adds a new item to the taxDtls list.
* @see #getTaxDtls()
*
*/
public SwitchRedemptionLegOrder3 addTaxDtls(Tax16 taxDtls) {
getTaxDtls().add(taxDtls);
return this;
}
}