com.prowidesoftware.swift.model.mx.dic.SubscriptionOrder11 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 = "SubscriptionOrder11", propOrder = {
"ordrRef",
"clntRef",
"finInstrmDtls",
"unitsNb",
"grssAmt",
"netAmt",
"sttlmMtd",
"incmPref",
"chrgDtls",
"comssnDtls",
"sttlmAndCtdyDtls",
"physDlvryInd",
"reqdSttlmCcy",
"reqdNAVCcy",
"cshSttlmDtls",
"rltdPtyDtls"
})
public class SubscriptionOrder11 {
@XmlElement(name = "OrdrRef", required = true)
protected String ordrRef;
@XmlElement(name = "ClntRef")
protected String clntRef;
@XmlElement(name = "FinInstrmDtls", required = true)
protected FinancialInstrument19 finInstrmDtls;
@XmlElement(name = "UnitsNb")
protected FinancialInstrumentQuantity4 unitsNb;
@XmlElement(name = "GrssAmt")
protected RestrictedFINActiveOrHistoricCurrencyAndAmount grssAmt;
@XmlElement(name = "NetAmt")
protected RestrictedFINActiveOrHistoricCurrencyAndAmount netAmt;
@XmlElement(name = "SttlmMtd")
@XmlSchemaType(name = "string")
protected DeliveryReceiptType2Code sttlmMtd;
@XmlElement(name = "IncmPref")
@XmlSchemaType(name = "string")
protected IncomePreference1Code incmPref;
@XmlElement(name = "ChrgDtls")
protected List chrgDtls;
@XmlElement(name = "ComssnDtls")
protected Commission13 comssnDtls;
@XmlElement(name = "SttlmAndCtdyDtls")
protected FundSettlementParameters8 sttlmAndCtdyDtls;
@XmlElement(name = "PhysDlvryInd")
protected boolean physDlvryInd;
@XmlElement(name = "ReqdSttlmCcy")
protected String reqdSttlmCcy;
@XmlElement(name = "ReqdNAVCcy")
protected String reqdNAVCcy;
@XmlElement(name = "CshSttlmDtls")
protected PaymentTransaction31 cshSttlmDtls;
@XmlElement(name = "RltdPtyDtls")
protected List rltdPtyDtls;
/**
* 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 SubscriptionOrder11 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 SubscriptionOrder11 setClntRef(String value) {
this.clntRef = value;
return this;
}
/**
* Gets the value of the finInstrmDtls property.
*
* @return
* possible object is
* {@link FinancialInstrument19 }
*
*/
public FinancialInstrument19 getFinInstrmDtls() {
return finInstrmDtls;
}
/**
* Sets the value of the finInstrmDtls property.
*
* @param value
* allowed object is
* {@link FinancialInstrument19 }
*
*/
public SubscriptionOrder11 setFinInstrmDtls(FinancialInstrument19 value) {
this.finInstrmDtls = value;
return this;
}
/**
* Gets the value of the unitsNb property.
*
* @return
* possible object is
* {@link FinancialInstrumentQuantity4 }
*
*/
public FinancialInstrumentQuantity4 getUnitsNb() {
return unitsNb;
}
/**
* Sets the value of the unitsNb property.
*
* @param value
* allowed object is
* {@link FinancialInstrumentQuantity4 }
*
*/
public SubscriptionOrder11 setUnitsNb(FinancialInstrumentQuantity4 value) {
this.unitsNb = value;
return this;
}
/**
* Gets the value of the grssAmt property.
*
* @return
* possible object is
* {@link RestrictedFINActiveOrHistoricCurrencyAndAmount }
*
*/
public RestrictedFINActiveOrHistoricCurrencyAndAmount getGrssAmt() {
return grssAmt;
}
/**
* Sets the value of the grssAmt property.
*
* @param value
* allowed object is
* {@link RestrictedFINActiveOrHistoricCurrencyAndAmount }
*
*/
public SubscriptionOrder11 setGrssAmt(RestrictedFINActiveOrHistoricCurrencyAndAmount value) {
this.grssAmt = value;
return this;
}
/**
* Gets the value of the netAmt property.
*
* @return
* possible object is
* {@link RestrictedFINActiveOrHistoricCurrencyAndAmount }
*
*/
public RestrictedFINActiveOrHistoricCurrencyAndAmount getNetAmt() {
return netAmt;
}
/**
* Sets the value of the netAmt property.
*
* @param value
* allowed object is
* {@link RestrictedFINActiveOrHistoricCurrencyAndAmount }
*
*/
public SubscriptionOrder11 setNetAmt(RestrictedFINActiveOrHistoricCurrencyAndAmount value) {
this.netAmt = 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 SubscriptionOrder11 setSttlmMtd(DeliveryReceiptType2Code value) {
this.sttlmMtd = 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 SubscriptionOrder11 setIncmPref(IncomePreference1Code value) {
this.incmPref = 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 Charge22 }
*
*
* @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.
*
* @return
* possible object is
* {@link Commission13 }
*
*/
public Commission13 getComssnDtls() {
return comssnDtls;
}
/**
* Sets the value of the comssnDtls property.
*
* @param value
* allowed object is
* {@link Commission13 }
*
*/
public SubscriptionOrder11 setComssnDtls(Commission13 value) {
this.comssnDtls = value;
return this;
}
/**
* Gets the value of the sttlmAndCtdyDtls property.
*
* @return
* possible object is
* {@link FundSettlementParameters8 }
*
*/
public FundSettlementParameters8 getSttlmAndCtdyDtls() {
return sttlmAndCtdyDtls;
}
/**
* Sets the value of the sttlmAndCtdyDtls property.
*
* @param value
* allowed object is
* {@link FundSettlementParameters8 }
*
*/
public SubscriptionOrder11 setSttlmAndCtdyDtls(FundSettlementParameters8 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 SubscriptionOrder11 setPhysDlvryInd(boolean value) {
this.physDlvryInd = 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 SubscriptionOrder11 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 SubscriptionOrder11 setReqdNAVCcy(String value) {
this.reqdNAVCcy = value;
return this;
}
/**
* Gets the value of the cshSttlmDtls property.
*
* @return
* possible object is
* {@link PaymentTransaction31 }
*
*/
public PaymentTransaction31 getCshSttlmDtls() {
return cshSttlmDtls;
}
/**
* Sets the value of the cshSttlmDtls property.
*
* @param value
* allowed object is
* {@link PaymentTransaction31 }
*
*/
public SubscriptionOrder11 setCshSttlmDtls(PaymentTransaction31 value) {
this.cshSttlmDtls = 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 Jakarta XML Binding object.
* This is why there is not a {@code 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 Intermediary19 }
*
*
* @return
* The value of the rltdPtyDtls property.
*/
public List getRltdPtyDtls() {
if (rltdPtyDtls == null) {
rltdPtyDtls = new ArrayList<>();
}
return this.rltdPtyDtls;
}
@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 SubscriptionOrder11 addChrgDtls(Charge22 chrgDtls) {
getChrgDtls().add(chrgDtls);
return this;
}
/**
* Adds a new item to the rltdPtyDtls list.
* @see #getRltdPtyDtls()
*
*/
public SubscriptionOrder11 addRltdPtyDtls(Intermediary19 rltdPtyDtls) {
getRltdPtyDtls().add(rltdPtyDtls);
return this;
}
}