com.prowidesoftware.swift.model.mx.dic.RedemptionOrder8 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 javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
import javax.xml.datatype.XMLGregorianCalendar;
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;
/**
* Instruction from an investor to sell investment fund units back to the fund.
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "RedemptionOrder8", propOrder = {
"ordrRef",
"clntRef",
"ordrTp",
"finInstrmDtls",
"subAcctForHldg",
"unitsNb",
"grssAmt",
"netAmt",
"hldgsRedRate",
"rndg",
"sttlmAmt",
"cshSttlmDt",
"sttlmMtd",
"fxDtls",
"incmPref",
"grp1Or2Units",
"chrgDtls",
"comssnDtls",
"taxDtls",
"sttlmAndCtdyDtls",
"physDlvryInd",
"physDlvryDtls",
"reqdSttlmCcy",
"reqdNAVCcy",
"cshSttlmDtls",
"nonStdSttlmInf",
"stffClntBrkdwn",
"finAdvc",
"ngtdTrad",
"rltdPtyDtls",
"equlstn"
})
public class RedemptionOrder8 {
@XmlElement(name = "OrdrRef", required = true)
protected String ordrRef;
@XmlElement(name = "ClntRef")
protected String clntRef;
@XmlElement(name = "OrdrTp")
protected List ordrTp;
@XmlElement(name = "FinInstrmDtls", required = true)
protected FinancialInstrument10 finInstrmDtls;
@XmlElement(name = "SubAcctForHldg")
protected SubAccount1 subAcctForHldg;
@XmlElement(name = "UnitsNb")
protected FinancialInstrumentQuantity1 unitsNb;
@XmlElement(name = "GrssAmt")
protected ActiveOrHistoricCurrencyAndAmount grssAmt;
@XmlElement(name = "NetAmt")
protected ActiveOrHistoricCurrencyAndAmount netAmt;
@XmlElement(name = "HldgsRedRate")
protected BigDecimal hldgsRedRate;
@XmlElement(name = "Rndg")
@XmlSchemaType(name = "string")
protected RoundingDirection2Code rndg;
@XmlElement(name = "SttlmAmt")
protected ActiveCurrencyAndAmount sttlmAmt;
@XmlElement(name = "CshSttlmDt")
@XmlSchemaType(name = "date")
protected XMLGregorianCalendar cshSttlmDt;
@XmlElement(name = "SttlmMtd")
@XmlSchemaType(name = "string")
protected DeliveryReceiptType2Code sttlmMtd;
@XmlElement(name = "FXDtls")
protected ForeignExchangeTerms6 fxDtls;
@XmlElement(name = "IncmPref")
@XmlSchemaType(name = "string")
protected IncomePreference1Code incmPref;
@XmlElement(name = "Grp1Or2Units")
@XmlSchemaType(name = "string")
protected UKTaxGroupUnitCode grp1Or2Units;
@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 = "ReqdSttlmCcy")
protected String reqdSttlmCcy;
@XmlElement(name = "ReqdNAVCcy")
protected String reqdNAVCcy;
@XmlElement(name = "CshSttlmDtls")
protected PaymentTransaction21 cshSttlmDtls;
@XmlElement(name = "NonStdSttlmInf")
protected String nonStdSttlmInf;
@XmlElement(name = "StffClntBrkdwn")
protected List stffClntBrkdwn;
@XmlElement(name = "FinAdvc")
@XmlSchemaType(name = "string")
protected FinancialAdvice1Code finAdvc;
@XmlElement(name = "NgtdTrad")
@XmlSchemaType(name = "string")
protected NegotiatedTrade1Code ngtdTrad;
@XmlElement(name = "RltdPtyDtls")
protected List rltdPtyDtls;
@XmlElement(name = "Equlstn")
protected Equalisation1 equlstn;
/**
* 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 RedemptionOrder8 setOrdrRef(String value) {
this.ordrRef = value;
return this;
}
/**
* Gets the value of the clntRef property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getClntRef() {
return clntRef;
}
/**
* Sets the value of the clntRef property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public RedemptionOrder8 setClntRef(String value) {
this.clntRef = 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 JAXB object.
* This is why there is not a 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 FundOrderType2 }
*
*
*/
public List getOrdrTp() {
if (ordrTp == null) {
ordrTp = new ArrayList();
}
return this.ordrTp;
}
/**
* 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 RedemptionOrder8 setFinInstrmDtls(FinancialInstrument10 value) {
this.finInstrmDtls = value;
return this;
}
/**
* Gets the value of the subAcctForHldg property.
*
* @return
* possible object is
* {@link SubAccount1 }
*
*/
public SubAccount1 getSubAcctForHldg() {
return subAcctForHldg;
}
/**
* Sets the value of the subAcctForHldg property.
*
* @param value
* allowed object is
* {@link SubAccount1 }
*
*/
public RedemptionOrder8 setSubAcctForHldg(SubAccount1 value) {
this.subAcctForHldg = 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 RedemptionOrder8 setUnitsNb(FinancialInstrumentQuantity1 value) {
this.unitsNb = value;
return this;
}
/**
* Gets the value of the grssAmt property.
*
* @return
* possible object is
* {@link ActiveOrHistoricCurrencyAndAmount }
*
*/
public ActiveOrHistoricCurrencyAndAmount getGrssAmt() {
return grssAmt;
}
/**
* Sets the value of the grssAmt property.
*
* @param value
* allowed object is
* {@link ActiveOrHistoricCurrencyAndAmount }
*
*/
public RedemptionOrder8 setGrssAmt(ActiveOrHistoricCurrencyAndAmount value) {
this.grssAmt = value;
return this;
}
/**
* Gets the value of the netAmt property.
*
* @return
* possible object is
* {@link ActiveOrHistoricCurrencyAndAmount }
*
*/
public ActiveOrHistoricCurrencyAndAmount getNetAmt() {
return netAmt;
}
/**
* Sets the value of the netAmt property.
*
* @param value
* allowed object is
* {@link ActiveOrHistoricCurrencyAndAmount }
*
*/
public RedemptionOrder8 setNetAmt(ActiveOrHistoricCurrencyAndAmount 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 RedemptionOrder8 setHldgsRedRate(BigDecimal value) {
this.hldgsRedRate = 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 RedemptionOrder8 setRndg(RoundingDirection2Code value) {
this.rndg = value;
return this;
}
/**
* Gets the value of the sttlmAmt property.
*
* @return
* possible object is
* {@link ActiveCurrencyAndAmount }
*
*/
public ActiveCurrencyAndAmount getSttlmAmt() {
return sttlmAmt;
}
/**
* Sets the value of the sttlmAmt property.
*
* @param value
* allowed object is
* {@link ActiveCurrencyAndAmount }
*
*/
public RedemptionOrder8 setSttlmAmt(ActiveCurrencyAndAmount value) {
this.sttlmAmt = value;
return this;
}
/**
* Gets the value of the cshSttlmDt property.
*
* @return
* possible object is
* {@link XMLGregorianCalendar }
*
*/
public XMLGregorianCalendar getCshSttlmDt() {
return cshSttlmDt;
}
/**
* Sets the value of the cshSttlmDt property.
*
* @param value
* allowed object is
* {@link XMLGregorianCalendar }
*
*/
public RedemptionOrder8 setCshSttlmDt(XMLGregorianCalendar value) {
this.cshSttlmDt = value;
return this;
}
/**
* Gets the value of the sttlmMtd property.
*
* @return
* possible object is
* {@link DeliveryReceiptType2Code }
*
*/
public DeliveryReceiptType2Code getSttlmMtd() {
return sttlmMtd;
}
/**
* Sets the value of the sttlmMtd property.
*
* @param value
* allowed object is
* {@link DeliveryReceiptType2Code }
*
*/
public RedemptionOrder8 setSttlmMtd(DeliveryReceiptType2Code value) {
this.sttlmMtd = value;
return this;
}
/**
* Gets the value of the fxDtls property.
*
* @return
* possible object is
* {@link ForeignExchangeTerms6 }
*
*/
public ForeignExchangeTerms6 getFXDtls() {
return fxDtls;
}
/**
* Sets the value of the fxDtls property.
*
* @param value
* allowed object is
* {@link ForeignExchangeTerms6 }
*
*/
public RedemptionOrder8 setFXDtls(ForeignExchangeTerms6 value) {
this.fxDtls = 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 RedemptionOrder8 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 RedemptionOrder8 setGrp1Or2Units(UKTaxGroupUnitCode value) {
this.grp1Or2Units = 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 JAXB object.
* This is why there is not a 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 }
*
*
*/
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 JAXB object.
* This is why there is not a 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 }
*
*
*/
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 JAXB object.
* This is why there is not a 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 }
*
*
*/
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 RedemptionOrder8 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 RedemptionOrder8 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 RedemptionOrder8 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 RedemptionOrder8 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 RedemptionOrder8 setReqdNAVCcy(String value) {
this.reqdNAVCcy = value;
return this;
}
/**
* Gets the value of the cshSttlmDtls property.
*
* @return
* possible object is
* {@link PaymentTransaction21 }
*
*/
public PaymentTransaction21 getCshSttlmDtls() {
return cshSttlmDtls;
}
/**
* Sets the value of the cshSttlmDtls property.
*
* @param value
* allowed object is
* {@link PaymentTransaction21 }
*
*/
public RedemptionOrder8 setCshSttlmDtls(PaymentTransaction21 value) {
this.cshSttlmDtls = 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 RedemptionOrder8 setNonStdSttlmInf(String value) {
this.nonStdSttlmInf = value;
return this;
}
/**
* Gets the value of the stffClntBrkdwn 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 JAXB object.
* This is why there is not a set
method for the stffClntBrkdwn property.
*
*
* For example, to add a new item, do as follows:
*
* getStffClntBrkdwn().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link InvestmentFundsOrderBreakdown1 }
*
*
*/
public List getStffClntBrkdwn() {
if (stffClntBrkdwn == null) {
stffClntBrkdwn = new ArrayList();
}
return this.stffClntBrkdwn;
}
/**
* Gets the value of the finAdvc property.
*
* @return
* possible object is
* {@link FinancialAdvice1Code }
*
*/
public FinancialAdvice1Code getFinAdvc() {
return finAdvc;
}
/**
* Sets the value of the finAdvc property.
*
* @param value
* allowed object is
* {@link FinancialAdvice1Code }
*
*/
public RedemptionOrder8 setFinAdvc(FinancialAdvice1Code value) {
this.finAdvc = value;
return this;
}
/**
* Gets the value of the ngtdTrad property.
*
* @return
* possible object is
* {@link NegotiatedTrade1Code }
*
*/
public NegotiatedTrade1Code getNgtdTrad() {
return ngtdTrad;
}
/**
* Sets the value of the ngtdTrad property.
*
* @param value
* allowed object is
* {@link NegotiatedTrade1Code }
*
*/
public RedemptionOrder8 setNgtdTrad(NegotiatedTrade1Code value) {
this.ngtdTrad = value;
return this;
}
/**
* Gets the value of the rltdPtyDtls 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 JAXB object.
* This is why there is not a set
method for the rltdPtyDtls property.
*
*
* For example, to add a new item, do as follows:
*
* getRltdPtyDtls().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link Intermediary8 }
*
*
*/
public List getRltdPtyDtls() {
if (rltdPtyDtls == null) {
rltdPtyDtls = new ArrayList();
}
return this.rltdPtyDtls;
}
/**
* 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 RedemptionOrder8 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 ordrTp list.
* @see #getOrdrTp()
*
*/
public RedemptionOrder8 addOrdrTp(FundOrderType2 ordrTp) {
getOrdrTp().add(ordrTp);
return this;
}
/**
* Adds a new item to the chrgDtls list.
* @see #getChrgDtls()
*
*/
public RedemptionOrder8 addChrgDtls(Charge17 chrgDtls) {
getChrgDtls().add(chrgDtls);
return this;
}
/**
* Adds a new item to the comssnDtls list.
* @see #getComssnDtls()
*
*/
public RedemptionOrder8 addComssnDtls(Commission10 comssnDtls) {
getComssnDtls().add(comssnDtls);
return this;
}
/**
* Adds a new item to the taxDtls list.
* @see #getTaxDtls()
*
*/
public RedemptionOrder8 addTaxDtls(Tax16 taxDtls) {
getTaxDtls().add(taxDtls);
return this;
}
/**
* Adds a new item to the stffClntBrkdwn list.
* @see #getStffClntBrkdwn()
*
*/
public RedemptionOrder8 addStffClntBrkdwn(InvestmentFundsOrderBreakdown1 stffClntBrkdwn) {
getStffClntBrkdwn().add(stffClntBrkdwn);
return this;
}
/**
* Adds a new item to the rltdPtyDtls list.
* @see #getRltdPtyDtls()
*
*/
public RedemptionOrder8 addRltdPtyDtls(Intermediary8 rltdPtyDtls) {
getRltdPtyDtls().add(rltdPtyDtls);
return this;
}
}