com.prowidesoftware.swift.model.mx.dic.BuyInNotificationV02 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 javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.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
* The BuyInNotification message is sent by the central counterparty (CCP) to a clearing member to notify the start of the buy in process.
* The ISO 20022 Business Application Header must be used.
* Usage
* The buy in process is a process by which the CCP buys in stocks to cover failed transactions; the clearing member is notified that this process has started. Depending on each CCP internal rules, this message can also be sent, as a warning, by the central counterparty to the clearing member some days before the buy in process starts.
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "BuyInNotificationV02", propOrder = {
"txId",
"clrMmb",
"ntfctnDtls",
"orgnlSttlmOblgtn",
"splmtryData"
})
public class BuyInNotificationV02 {
@XmlElement(name = "TxId")
protected String txId;
@XmlElement(name = "ClrMmb", required = true)
protected PartyIdentification35Choice clrMmb;
@XmlElement(name = "NtfctnDtls")
protected BuyIn1 ntfctnDtls;
@XmlElement(name = "OrgnlSttlmOblgtn", required = true)
protected SettlementObligation6 orgnlSttlmOblgtn;
@XmlElement(name = "SplmtryData")
protected List splmtryData;
/**
* 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 BuyInNotificationV02 setTxId(String value) {
this.txId = value;
return this;
}
/**
* Gets the value of the clrMmb property.
*
* @return
* possible object is
* {@link PartyIdentification35Choice }
*
*/
public PartyIdentification35Choice getClrMmb() {
return clrMmb;
}
/**
* Sets the value of the clrMmb property.
*
* @param value
* allowed object is
* {@link PartyIdentification35Choice }
*
*/
public BuyInNotificationV02 setClrMmb(PartyIdentification35Choice value) {
this.clrMmb = value;
return this;
}
/**
* Gets the value of the ntfctnDtls property.
*
* @return
* possible object is
* {@link BuyIn1 }
*
*/
public BuyIn1 getNtfctnDtls() {
return ntfctnDtls;
}
/**
* Sets the value of the ntfctnDtls property.
*
* @param value
* allowed object is
* {@link BuyIn1 }
*
*/
public BuyInNotificationV02 setNtfctnDtls(BuyIn1 value) {
this.ntfctnDtls = value;
return this;
}
/**
* Gets the value of the orgnlSttlmOblgtn property.
*
* @return
* possible object is
* {@link SettlementObligation6 }
*
*/
public SettlementObligation6 getOrgnlSttlmOblgtn() {
return orgnlSttlmOblgtn;
}
/**
* Sets the value of the orgnlSttlmOblgtn property.
*
* @param value
* allowed object is
* {@link SettlementObligation6 }
*
*/
public BuyInNotificationV02 setOrgnlSttlmOblgtn(SettlementObligation6 value) {
this.orgnlSttlmOblgtn = value;
return this;
}
/**
* Gets the value of the splmtryData 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 JAXB object.
* This is why there is not a set
method for the splmtryData property.
*
*
* For example, to add a new item, do as follows:
*
* getSplmtryData().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link SupplementaryData1 }
*
*
*/
public List getSplmtryData() {
if (splmtryData == null) {
splmtryData = new ArrayList();
}
return this.splmtryData;
}
@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 splmtryData list.
* @see #getSplmtryData()
*
*/
public BuyInNotificationV02 addSplmtryData(SupplementaryData1 splmtryData) {
getSplmtryData().add(splmtryData);
return this;
}
}