com.prowidesoftware.swift.model.mx.dic.SubscriptionOrder4 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;
/**
* Order to invest the investor's principal in an investment fund.
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "SubscriptionOrder4", propOrder = {
"ordrRef",
"ordrTp",
"finInstrmDtls",
"unitsNb",
"netAmt",
"rndg",
"grssAmt",
"fxDtls",
"incmPref",
"lttrInttRef",
"acmltnRghtRef",
"chrgDtls",
"comssnDtls",
"taxDtls",
"sttlmAndCtdyDtls",
"physDlvryInd",
"physDlvryDtls",
"reqdSttlmCcy",
"reqdNAVCcy",
"cshSttlmDtls"
})
public class SubscriptionOrder4 {
@XmlElement(name = "OrdrRef", required = true)
protected String ordrRef;
@XmlElement(name = "OrdrTp")
protected List ordrTp;
@XmlElement(name = "FinInstrmDtls", required = true)
protected FinancialInstrument6 finInstrmDtls;
@XmlElement(name = "UnitsNb")
protected FinancialInstrumentQuantity1 unitsNb;
@XmlElement(name = "NetAmt")
protected ActiveOrHistoricCurrencyAndAmount netAmt;
@XmlElement(name = "Rndg")
@XmlSchemaType(name = "string")
protected RoundingDirection2Code rndg;
@XmlElement(name = "GrssAmt")
protected ActiveOrHistoricCurrencyAndAmount grssAmt;
@XmlElement(name = "FXDtls")
protected ForeignExchangeTerms5 fxDtls;
@XmlElement(name = "IncmPref")
@XmlSchemaType(name = "string")
protected IncomePreference1Code incmPref;
@XmlElement(name = "LttrInttRef")
protected String lttrInttRef;
@XmlElement(name = "AcmltnRghtRef")
protected String acmltnRghtRef;
@XmlElement(name = "ChrgDtls")
protected List chrgDtls;
@XmlElement(name = "ComssnDtls")
protected List comssnDtls;
@XmlElement(name = "TaxDtls")
protected List taxDtls;
@XmlElement(name = "SttlmAndCtdyDtls")
protected FundSettlementParameters4 sttlmAndCtdyDtls;
@XmlElement(name = "PhysDlvryInd")
protected boolean physDlvryInd;
@XmlElement(name = "PhysDlvryDtls")
protected NameAndAddress4 physDlvryDtls;
@XmlElement(name = "ReqdSttlmCcy")
protected String reqdSttlmCcy;
@XmlElement(name = "ReqdNAVCcy")
protected String reqdNAVCcy;
@XmlElement(name = "CshSttlmDtls")
protected PaymentTransaction19 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 SubscriptionOrder4 setOrdrRef(String value) {
this.ordrRef = 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 SubscriptionOrder4 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 SubscriptionOrder4 setUnitsNb(FinancialInstrumentQuantity1 value) {
this.unitsNb = 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 SubscriptionOrder4 setNetAmt(ActiveOrHistoricCurrencyAndAmount value) {
this.netAmt = 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 SubscriptionOrder4 setRndg(RoundingDirection2Code value) {
this.rndg = 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 SubscriptionOrder4 setGrssAmt(ActiveOrHistoricCurrencyAndAmount value) {
this.grssAmt = value;
return this;
}
/**
* Gets the value of the fxDtls property.
*
* @return
* possible object is
* {@link ForeignExchangeTerms5 }
*
*/
public ForeignExchangeTerms5 getFXDtls() {
return fxDtls;
}
/**
* Sets the value of the fxDtls property.
*
* @param value
* allowed object is
* {@link ForeignExchangeTerms5 }
*
*/
public SubscriptionOrder4 setFXDtls(ForeignExchangeTerms5 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 SubscriptionOrder4 setIncmPref(IncomePreference1Code value) {
this.incmPref = value;
return this;
}
/**
* Gets the value of the lttrInttRef property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getLttrInttRef() {
return lttrInttRef;
}
/**
* Sets the value of the lttrInttRef property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public SubscriptionOrder4 setLttrInttRef(String value) {
this.lttrInttRef = value;
return this;
}
/**
* Gets the value of the acmltnRghtRef property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getAcmltnRghtRef() {
return acmltnRghtRef;
}
/**
* Sets the value of the acmltnRghtRef property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public SubscriptionOrder4 setAcmltnRghtRef(String value) {
this.acmltnRghtRef = 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 Charge8 }
*
*
* @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 Commission6 }
*
*
* @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 Tax6 }
*
*
* @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 FundSettlementParameters4 }
*
*/
public FundSettlementParameters4 getSttlmAndCtdyDtls() {
return sttlmAndCtdyDtls;
}
/**
* Sets the value of the sttlmAndCtdyDtls property.
*
* @param value
* allowed object is
* {@link FundSettlementParameters4 }
*
*/
public SubscriptionOrder4 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 SubscriptionOrder4 setPhysDlvryInd(boolean value) {
this.physDlvryInd = value;
return this;
}
/**
* Gets the value of the physDlvryDtls property.
*
* @return
* possible object is
* {@link NameAndAddress4 }
*
*/
public NameAndAddress4 getPhysDlvryDtls() {
return physDlvryDtls;
}
/**
* Sets the value of the physDlvryDtls property.
*
* @param value
* allowed object is
* {@link NameAndAddress4 }
*
*/
public SubscriptionOrder4 setPhysDlvryDtls(NameAndAddress4 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 SubscriptionOrder4 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 SubscriptionOrder4 setReqdNAVCcy(String value) {
this.reqdNAVCcy = value;
return this;
}
/**
* Gets the value of the cshSttlmDtls property.
*
* @return
* possible object is
* {@link PaymentTransaction19 }
*
*/
public PaymentTransaction19 getCshSttlmDtls() {
return cshSttlmDtls;
}
/**
* Sets the value of the cshSttlmDtls property.
*
* @param value
* allowed object is
* {@link PaymentTransaction19 }
*
*/
public SubscriptionOrder4 setCshSttlmDtls(PaymentTransaction19 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 SubscriptionOrder4 addOrdrTp(FundOrderType1 ordrTp) {
getOrdrTp().add(ordrTp);
return this;
}
/**
* Adds a new item to the chrgDtls list.
* @see #getChrgDtls()
*
*/
public SubscriptionOrder4 addChrgDtls(Charge8 chrgDtls) {
getChrgDtls().add(chrgDtls);
return this;
}
/**
* Adds a new item to the comssnDtls list.
* @see #getComssnDtls()
*
*/
public SubscriptionOrder4 addComssnDtls(Commission6 comssnDtls) {
getComssnDtls().add(comssnDtls);
return this;
}
/**
* Adds a new item to the taxDtls list.
* @see #getTaxDtls()
*
*/
public SubscriptionOrder4 addTaxDtls(Tax6 taxDtls) {
getTaxDtls().add(taxDtls);
return this;
}
}