com.prowidesoftware.swift.model.mx.dic.RedemptionOrderMinusV01 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.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;
/**
* Scope
* An instructing party, eg, an investment manager or its authorised representative, sends the RedemptionOrder message to the executing party, eg, a transfer agent, to instruct the redemption of one or more financial instruments for one investment fund account.
* Usage
* The RedemptionOrder message is used to instruct single redemption orders, ie, a message containing one order for one financial instrument and related to one investment account.
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "RedemptionOrder.MinusV01", propOrder = {
"msgId",
"prvsRef",
"mltplOrdrDtls",
"cpyDtls",
"xtnsn"
})
public class RedemptionOrderMinusV01 {
@XmlElement(name = "MsgId", required = true)
protected MessageIdentification3 msgId;
@XmlElement(name = "PrvsRef")
protected AdditionalReference5 prvsRef;
@XmlElement(name = "MltplOrdrDtls", required = true)
protected RedemptionMultipleOrder5 mltplOrdrDtls;
@XmlElement(name = "CpyDtls")
protected CopyInformation3 cpyDtls;
@XmlElement(name = "Xtnsn")
protected List xtnsn;
/**
* Gets the value of the msgId property.
*
* @return
* possible object is
* {@link MessageIdentification3 }
*
*/
public MessageIdentification3 getMsgId() {
return msgId;
}
/**
* Sets the value of the msgId property.
*
* @param value
* allowed object is
* {@link MessageIdentification3 }
*
*/
public RedemptionOrderMinusV01 setMsgId(MessageIdentification3 value) {
this.msgId = value;
return this;
}
/**
* Gets the value of the prvsRef property.
*
* @return
* possible object is
* {@link AdditionalReference5 }
*
*/
public AdditionalReference5 getPrvsRef() {
return prvsRef;
}
/**
* Sets the value of the prvsRef property.
*
* @param value
* allowed object is
* {@link AdditionalReference5 }
*
*/
public RedemptionOrderMinusV01 setPrvsRef(AdditionalReference5 value) {
this.prvsRef = value;
return this;
}
/**
* Gets the value of the mltplOrdrDtls property.
*
* @return
* possible object is
* {@link RedemptionMultipleOrder5 }
*
*/
public RedemptionMultipleOrder5 getMltplOrdrDtls() {
return mltplOrdrDtls;
}
/**
* Sets the value of the mltplOrdrDtls property.
*
* @param value
* allowed object is
* {@link RedemptionMultipleOrder5 }
*
*/
public RedemptionOrderMinusV01 setMltplOrdrDtls(RedemptionMultipleOrder5 value) {
this.mltplOrdrDtls = value;
return this;
}
/**
* Gets the value of the cpyDtls property.
*
* @return
* possible object is
* {@link CopyInformation3 }
*
*/
public CopyInformation3 getCpyDtls() {
return cpyDtls;
}
/**
* Sets the value of the cpyDtls property.
*
* @param value
* allowed object is
* {@link CopyInformation3 }
*
*/
public RedemptionOrderMinusV01 setCpyDtls(CopyInformation3 value) {
this.cpyDtls = value;
return this;
}
/**
* Gets the value of the xtnsn 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 xtnsn property.
*
*
* For example, to add a new item, do as follows:
*
* getXtnsn().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link Extension1 }
*
*
* @return
* The value of the xtnsn property.
*/
public List getXtnsn() {
if (xtnsn == null) {
xtnsn = new ArrayList<>();
}
return this.xtnsn;
}
@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 xtnsn list.
* @see #getXtnsn()
*
*/
public RedemptionOrderMinusV01 addXtnsn(Extension1 xtnsn) {
getXtnsn().add(xtnsn);
return this;
}
}