com.prowidesoftware.swift.model.mx.dic.ReorganisationInstructionSD6 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;
/**
* Provides additional information regarding corporate action reorganisation instruction details.
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "ReorganisationInstructionSD6", propOrder = {
"plcAndNm",
"txId",
"txSeqNb",
"txIdSts",
"prtctTxSts",
"rjctnRsn",
"sctiesQtyDtls",
"cstmrRefId",
"ackDtls",
"ctctPrsn",
"warrtSbcptChrgAmt",
"cert",
"usrRefNb",
"dcsdBnfclOwnrDtls",
"txRcrdNb"
})
public class ReorganisationInstructionSD6 {
@XmlElement(name = "PlcAndNm")
protected String plcAndNm;
@XmlElement(name = "TxId")
protected String txId;
@XmlElement(name = "TxSeqNb")
protected String txSeqNb;
@XmlElement(name = "TxIdSts")
@XmlSchemaType(name = "string")
protected DTCInstructionStatus2Code txIdSts;
@XmlElement(name = "PrtctTxSts")
@XmlSchemaType(name = "string")
protected DTCProtectInstructionStatus3Code prtctTxSts;
@XmlElement(name = "RjctnRsn")
@XmlSchemaType(name = "string")
protected List rjctnRsn;
@XmlElement(name = "SctiesQtyDtls")
protected SecuritiesQuantitySD5 sctiesQtyDtls;
@XmlElement(name = "CstmrRefId")
protected String cstmrRefId;
@XmlElement(name = "AckDtls")
protected CorporateActionAcknowledgementSD1 ackDtls;
@XmlElement(name = "CtctPrsn")
protected ContactIdentification5 ctctPrsn;
@XmlElement(name = "WarrtSbcptChrgAmt")
protected RestrictedFINActiveCurrencyAndAmount warrtSbcptChrgAmt;
@XmlElement(name = "Cert")
protected CorporateActionCertificateSD1 cert;
@XmlElement(name = "UsrRefNb")
protected String usrRefNb;
@XmlElement(name = "DcsdBnfclOwnrDtls")
protected DeceasedStatusSD1 dcsdBnfclOwnrDtls;
@XmlElement(name = "TxRcrdNb")
protected String txRcrdNb;
/**
* Gets the value of the plcAndNm property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getPlcAndNm() {
return plcAndNm;
}
/**
* Sets the value of the plcAndNm property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public ReorganisationInstructionSD6 setPlcAndNm(String value) {
this.plcAndNm = value;
return this;
}
/**
* Gets the value of the txId property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getTxId() {
return txId;
}
/**
* Sets the value of the txId property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public ReorganisationInstructionSD6 setTxId(String value) {
this.txId = value;
return this;
}
/**
* Gets the value of the txSeqNb property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getTxSeqNb() {
return txSeqNb;
}
/**
* Sets the value of the txSeqNb property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public ReorganisationInstructionSD6 setTxSeqNb(String value) {
this.txSeqNb = value;
return this;
}
/**
* Gets the value of the txIdSts property.
*
* @return
* possible object is
* {@link DTCInstructionStatus2Code }
*
*/
public DTCInstructionStatus2Code getTxIdSts() {
return txIdSts;
}
/**
* Sets the value of the txIdSts property.
*
* @param value
* allowed object is
* {@link DTCInstructionStatus2Code }
*
*/
public ReorganisationInstructionSD6 setTxIdSts(DTCInstructionStatus2Code value) {
this.txIdSts = value;
return this;
}
/**
* Gets the value of the prtctTxSts property.
*
* @return
* possible object is
* {@link DTCProtectInstructionStatus3Code }
*
*/
public DTCProtectInstructionStatus3Code getPrtctTxSts() {
return prtctTxSts;
}
/**
* Sets the value of the prtctTxSts property.
*
* @param value
* allowed object is
* {@link DTCProtectInstructionStatus3Code }
*
*/
public ReorganisationInstructionSD6 setPrtctTxSts(DTCProtectInstructionStatus3Code value) {
this.prtctTxSts = value;
return this;
}
/**
* Gets the value of the rjctnRsn 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 rjctnRsn property.
*
*
* For example, to add a new item, do as follows:
*
* getRjctnRsn().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link InstructionRejectionReason1Code }
*
*
* @return
* The value of the rjctnRsn property.
*/
public List getRjctnRsn() {
if (rjctnRsn == null) {
rjctnRsn = new ArrayList<>();
}
return this.rjctnRsn;
}
/**
* Gets the value of the sctiesQtyDtls property.
*
* @return
* possible object is
* {@link SecuritiesQuantitySD5 }
*
*/
public SecuritiesQuantitySD5 getSctiesQtyDtls() {
return sctiesQtyDtls;
}
/**
* Sets the value of the sctiesQtyDtls property.
*
* @param value
* allowed object is
* {@link SecuritiesQuantitySD5 }
*
*/
public ReorganisationInstructionSD6 setSctiesQtyDtls(SecuritiesQuantitySD5 value) {
this.sctiesQtyDtls = value;
return this;
}
/**
* Gets the value of the cstmrRefId property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getCstmrRefId() {
return cstmrRefId;
}
/**
* Sets the value of the cstmrRefId property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public ReorganisationInstructionSD6 setCstmrRefId(String value) {
this.cstmrRefId = value;
return this;
}
/**
* Gets the value of the ackDtls property.
*
* @return
* possible object is
* {@link CorporateActionAcknowledgementSD1 }
*
*/
public CorporateActionAcknowledgementSD1 getAckDtls() {
return ackDtls;
}
/**
* Sets the value of the ackDtls property.
*
* @param value
* allowed object is
* {@link CorporateActionAcknowledgementSD1 }
*
*/
public ReorganisationInstructionSD6 setAckDtls(CorporateActionAcknowledgementSD1 value) {
this.ackDtls = value;
return this;
}
/**
* Gets the value of the ctctPrsn property.
*
* @return
* possible object is
* {@link ContactIdentification5 }
*
*/
public ContactIdentification5 getCtctPrsn() {
return ctctPrsn;
}
/**
* Sets the value of the ctctPrsn property.
*
* @param value
* allowed object is
* {@link ContactIdentification5 }
*
*/
public ReorganisationInstructionSD6 setCtctPrsn(ContactIdentification5 value) {
this.ctctPrsn = value;
return this;
}
/**
* Gets the value of the warrtSbcptChrgAmt property.
*
* @return
* possible object is
* {@link RestrictedFINActiveCurrencyAndAmount }
*
*/
public RestrictedFINActiveCurrencyAndAmount getWarrtSbcptChrgAmt() {
return warrtSbcptChrgAmt;
}
/**
* Sets the value of the warrtSbcptChrgAmt property.
*
* @param value
* allowed object is
* {@link RestrictedFINActiveCurrencyAndAmount }
*
*/
public ReorganisationInstructionSD6 setWarrtSbcptChrgAmt(RestrictedFINActiveCurrencyAndAmount value) {
this.warrtSbcptChrgAmt = value;
return this;
}
/**
* Gets the value of the cert property.
*
* @return
* possible object is
* {@link CorporateActionCertificateSD1 }
*
*/
public CorporateActionCertificateSD1 getCert() {
return cert;
}
/**
* Sets the value of the cert property.
*
* @param value
* allowed object is
* {@link CorporateActionCertificateSD1 }
*
*/
public ReorganisationInstructionSD6 setCert(CorporateActionCertificateSD1 value) {
this.cert = value;
return this;
}
/**
* Gets the value of the usrRefNb property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getUsrRefNb() {
return usrRefNb;
}
/**
* Sets the value of the usrRefNb property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public ReorganisationInstructionSD6 setUsrRefNb(String value) {
this.usrRefNb = value;
return this;
}
/**
* Gets the value of the dcsdBnfclOwnrDtls property.
*
* @return
* possible object is
* {@link DeceasedStatusSD1 }
*
*/
public DeceasedStatusSD1 getDcsdBnfclOwnrDtls() {
return dcsdBnfclOwnrDtls;
}
/**
* Sets the value of the dcsdBnfclOwnrDtls property.
*
* @param value
* allowed object is
* {@link DeceasedStatusSD1 }
*
*/
public ReorganisationInstructionSD6 setDcsdBnfclOwnrDtls(DeceasedStatusSD1 value) {
this.dcsdBnfclOwnrDtls = value;
return this;
}
/**
* Gets the value of the txRcrdNb property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getTxRcrdNb() {
return txRcrdNb;
}
/**
* Sets the value of the txRcrdNb property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public ReorganisationInstructionSD6 setTxRcrdNb(String value) {
this.txRcrdNb = 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 rjctnRsn list.
* @see #getRjctnRsn()
*
*/
public ReorganisationInstructionSD6 addRjctnRsn(InstructionRejectionReason1Code rjctnRsn) {
getRjctnRsn().add(rjctnRsn);
return this;
}
}