com.prowidesoftware.swift.model.mx.dic.SubscriptionBulkOrder2 Maven / Gradle / Ivy
Show all versions of pw-iso20022 Show documentation
package com.prowidesoftware.swift.model.mx.dic;
import java.time.OffsetDateTime;
import java.util.ArrayList;
import java.util.List;
import com.prowidesoftware.swift.model.mx.adapters.IsoDateTimeAdapter;
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 jakarta.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
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 = "SubscriptionBulkOrder2", propOrder = {
"plcOfTrad",
"ordrDtTm",
"xpryDtTm",
"cxlRght",
"finInstrmDtls",
"indvOrdrDtls",
"reqdSttlmCcy",
"reqdNAVCcy",
"blkCshSttlmDtls"
})
public class SubscriptionBulkOrder2 {
@XmlElement(name = "PlcOfTrad")
protected String plcOfTrad;
@XmlElement(name = "OrdrDtTm", type = String.class)
@XmlJavaTypeAdapter(IsoDateTimeAdapter.class)
@XmlSchemaType(name = "dateTime")
protected OffsetDateTime ordrDtTm;
@XmlElement(name = "XpryDtTm", type = String.class)
@XmlJavaTypeAdapter(IsoDateTimeAdapter.class)
@XmlSchemaType(name = "dateTime")
protected OffsetDateTime xpryDtTm;
@XmlElement(name = "CxlRght")
protected CancellationRight1 cxlRght;
@XmlElement(name = "FinInstrmDtls", required = true)
protected FinancialInstrument6 finInstrmDtls;
@XmlElement(name = "IndvOrdrDtls", required = true)
protected List indvOrdrDtls;
@XmlElement(name = "ReqdSttlmCcy")
protected String reqdSttlmCcy;
@XmlElement(name = "ReqdNAVCcy")
protected String reqdNAVCcy;
@XmlElement(name = "BlkCshSttlmDtls")
protected PaymentTransaction17 blkCshSttlmDtls;
/**
* Gets the value of the plcOfTrad property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getPlcOfTrad() {
return plcOfTrad;
}
/**
* Sets the value of the plcOfTrad property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public SubscriptionBulkOrder2 setPlcOfTrad(String value) {
this.plcOfTrad = value;
return this;
}
/**
* Gets the value of the ordrDtTm property.
*
* @return
* possible object is
* {@link String }
*
*/
public OffsetDateTime getOrdrDtTm() {
return ordrDtTm;
}
/**
* Sets the value of the ordrDtTm property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public SubscriptionBulkOrder2 setOrdrDtTm(OffsetDateTime value) {
this.ordrDtTm = value;
return this;
}
/**
* Gets the value of the xpryDtTm property.
*
* @return
* possible object is
* {@link String }
*
*/
public OffsetDateTime getXpryDtTm() {
return xpryDtTm;
}
/**
* Sets the value of the xpryDtTm property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public SubscriptionBulkOrder2 setXpryDtTm(OffsetDateTime value) {
this.xpryDtTm = value;
return this;
}
/**
* Gets the value of the cxlRght property.
*
* @return
* possible object is
* {@link CancellationRight1 }
*
*/
public CancellationRight1 getCxlRght() {
return cxlRght;
}
/**
* Sets the value of the cxlRght property.
*
* @param value
* allowed object is
* {@link CancellationRight1 }
*
*/
public SubscriptionBulkOrder2 setCxlRght(CancellationRight1 value) {
this.cxlRght = 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 SubscriptionBulkOrder2 setFinInstrmDtls(FinancialInstrument6 value) {
this.finInstrmDtls = value;
return this;
}
/**
* Gets the value of the indvOrdrDtls 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 indvOrdrDtls property.
*
*
* For example, to add a new item, do as follows:
*
* getIndvOrdrDtls().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link SubscriptionOrder3 }
*
*
* @return
* The value of the indvOrdrDtls property.
*/
public List getIndvOrdrDtls() {
if (indvOrdrDtls == null) {
indvOrdrDtls = new ArrayList<>();
}
return this.indvOrdrDtls;
}
/**
* 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 SubscriptionBulkOrder2 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 SubscriptionBulkOrder2 setReqdNAVCcy(String value) {
this.reqdNAVCcy = value;
return this;
}
/**
* Gets the value of the blkCshSttlmDtls property.
*
* @return
* possible object is
* {@link PaymentTransaction17 }
*
*/
public PaymentTransaction17 getBlkCshSttlmDtls() {
return blkCshSttlmDtls;
}
/**
* Sets the value of the blkCshSttlmDtls property.
*
* @param value
* allowed object is
* {@link PaymentTransaction17 }
*
*/
public SubscriptionBulkOrder2 setBlkCshSttlmDtls(PaymentTransaction17 value) {
this.blkCshSttlmDtls = 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 indvOrdrDtls list.
* @see #getIndvOrdrDtls()
*
*/
public SubscriptionBulkOrder2 addIndvOrdrDtls(SubscriptionOrder3 indvOrdrDtls) {
getIndvOrdrDtls().add(indvOrdrDtls);
return this;
}
}