com.prowidesoftware.swift.model.mx.dic.Transfer18 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.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
import javax.xml.datatype.XMLGregorianCalendar;
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;
/**
* Completion of a securities settlement instruction, wherein securities are delivered/debited from a securities account and received/credited to the designated securities account.
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "Transfer18", propOrder = {
"trfConfRef",
"trfRef",
"clntRef",
"ctrPtyRef",
"fctvTrfDt",
"tradDt",
"trfOrdrDtForm",
"trfRsn",
"hldgsPlanTp",
"finInstrmDtls",
"ttlUnitsNb",
"unitsDtls",
"avrgPric",
"trfCcy",
"ownAcctTrfInd",
"nonStdSttlmInf"
})
public class Transfer18 {
@XmlElement(name = "TrfConfRef", required = true)
protected String trfConfRef;
@XmlElement(name = "TrfRef", required = true)
protected String trfRef;
@XmlElement(name = "ClntRef")
protected String clntRef;
@XmlElement(name = "CtrPtyRef")
protected AdditionalReference2 ctrPtyRef;
@XmlElement(name = "FctvTrfDt", required = true)
protected DateAndDateTimeChoice fctvTrfDt;
@XmlElement(name = "TradDt")
protected DateAndDateTimeChoice tradDt;
@XmlElement(name = "TrfOrdrDtForm")
@XmlSchemaType(name = "date")
protected XMLGregorianCalendar trfOrdrDtForm;
@XmlElement(name = "TrfRsn")
protected TransferReason1 trfRsn;
@XmlElement(name = "HldgsPlanTp")
@XmlSchemaType(name = "string")
protected List hldgsPlanTp;
@XmlElement(name = "FinInstrmDtls", required = true)
protected FinancialInstrument13 finInstrmDtls;
@XmlElement(name = "TtlUnitsNb", required = true)
protected FinancialInstrumentQuantity1 ttlUnitsNb;
@XmlElement(name = "UnitsDtls")
protected List unitsDtls;
@XmlElement(name = "AvrgPric")
protected ActiveOrHistoricCurrencyAnd13DecimalAmount avrgPric;
@XmlElement(name = "TrfCcy")
protected String trfCcy;
@XmlElement(name = "OwnAcctTrfInd")
protected Boolean ownAcctTrfInd;
@XmlElement(name = "NonStdSttlmInf")
protected String nonStdSttlmInf;
/**
* Gets the value of the trfConfRef property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getTrfConfRef() {
return trfConfRef;
}
/**
* Sets the value of the trfConfRef property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public Transfer18 setTrfConfRef(String value) {
this.trfConfRef = value;
return this;
}
/**
* Gets the value of the trfRef property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getTrfRef() {
return trfRef;
}
/**
* Sets the value of the trfRef property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public Transfer18 setTrfRef(String value) {
this.trfRef = 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 Transfer18 setClntRef(String value) {
this.clntRef = value;
return this;
}
/**
* Gets the value of the ctrPtyRef property.
*
* @return
* possible object is
* {@link AdditionalReference2 }
*
*/
public AdditionalReference2 getCtrPtyRef() {
return ctrPtyRef;
}
/**
* Sets the value of the ctrPtyRef property.
*
* @param value
* allowed object is
* {@link AdditionalReference2 }
*
*/
public Transfer18 setCtrPtyRef(AdditionalReference2 value) {
this.ctrPtyRef = value;
return this;
}
/**
* Gets the value of the fctvTrfDt property.
*
* @return
* possible object is
* {@link DateAndDateTimeChoice }
*
*/
public DateAndDateTimeChoice getFctvTrfDt() {
return fctvTrfDt;
}
/**
* Sets the value of the fctvTrfDt property.
*
* @param value
* allowed object is
* {@link DateAndDateTimeChoice }
*
*/
public Transfer18 setFctvTrfDt(DateAndDateTimeChoice value) {
this.fctvTrfDt = value;
return this;
}
/**
* Gets the value of the tradDt property.
*
* @return
* possible object is
* {@link DateAndDateTimeChoice }
*
*/
public DateAndDateTimeChoice getTradDt() {
return tradDt;
}
/**
* Sets the value of the tradDt property.
*
* @param value
* allowed object is
* {@link DateAndDateTimeChoice }
*
*/
public Transfer18 setTradDt(DateAndDateTimeChoice value) {
this.tradDt = value;
return this;
}
/**
* Gets the value of the trfOrdrDtForm property.
*
* @return
* possible object is
* {@link XMLGregorianCalendar }
*
*/
public XMLGregorianCalendar getTrfOrdrDtForm() {
return trfOrdrDtForm;
}
/**
* Sets the value of the trfOrdrDtForm property.
*
* @param value
* allowed object is
* {@link XMLGregorianCalendar }
*
*/
public Transfer18 setTrfOrdrDtForm(XMLGregorianCalendar value) {
this.trfOrdrDtForm = value;
return this;
}
/**
* Gets the value of the trfRsn property.
*
* @return
* possible object is
* {@link TransferReason1 }
*
*/
public TransferReason1 getTrfRsn() {
return trfRsn;
}
/**
* Sets the value of the trfRsn property.
*
* @param value
* allowed object is
* {@link TransferReason1 }
*
*/
public Transfer18 setTrfRsn(TransferReason1 value) {
this.trfRsn = value;
return this;
}
/**
* Gets the value of the hldgsPlanTp 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 hldgsPlanTp property.
*
*
* For example, to add a new item, do as follows:
*
* getHldgsPlanTp().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link HoldingsPlanType1Code }
*
*
*/
public List getHldgsPlanTp() {
if (hldgsPlanTp == null) {
hldgsPlanTp = new ArrayList();
}
return this.hldgsPlanTp;
}
/**
* Gets the value of the finInstrmDtls property.
*
* @return
* possible object is
* {@link FinancialInstrument13 }
*
*/
public FinancialInstrument13 getFinInstrmDtls() {
return finInstrmDtls;
}
/**
* Sets the value of the finInstrmDtls property.
*
* @param value
* allowed object is
* {@link FinancialInstrument13 }
*
*/
public Transfer18 setFinInstrmDtls(FinancialInstrument13 value) {
this.finInstrmDtls = value;
return this;
}
/**
* Gets the value of the ttlUnitsNb property.
*
* @return
* possible object is
* {@link FinancialInstrumentQuantity1 }
*
*/
public FinancialInstrumentQuantity1 getTtlUnitsNb() {
return ttlUnitsNb;
}
/**
* Sets the value of the ttlUnitsNb property.
*
* @param value
* allowed object is
* {@link FinancialInstrumentQuantity1 }
*
*/
public Transfer18 setTtlUnitsNb(FinancialInstrumentQuantity1 value) {
this.ttlUnitsNb = value;
return this;
}
/**
* Gets the value of the unitsDtls 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 unitsDtls property.
*
*
* For example, to add a new item, do as follows:
*
* getUnitsDtls().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link Unit3 }
*
*
*/
public List getUnitsDtls() {
if (unitsDtls == null) {
unitsDtls = new ArrayList();
}
return this.unitsDtls;
}
/**
* Gets the value of the avrgPric property.
*
* @return
* possible object is
* {@link ActiveOrHistoricCurrencyAnd13DecimalAmount }
*
*/
public ActiveOrHistoricCurrencyAnd13DecimalAmount getAvrgPric() {
return avrgPric;
}
/**
* Sets the value of the avrgPric property.
*
* @param value
* allowed object is
* {@link ActiveOrHistoricCurrencyAnd13DecimalAmount }
*
*/
public Transfer18 setAvrgPric(ActiveOrHistoricCurrencyAnd13DecimalAmount value) {
this.avrgPric = value;
return this;
}
/**
* Gets the value of the trfCcy property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getTrfCcy() {
return trfCcy;
}
/**
* Sets the value of the trfCcy property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public Transfer18 setTrfCcy(String value) {
this.trfCcy = value;
return this;
}
/**
* Gets the value of the ownAcctTrfInd property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean isOwnAcctTrfInd() {
return ownAcctTrfInd;
}
/**
* Sets the value of the ownAcctTrfInd property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public Transfer18 setOwnAcctTrfInd(Boolean value) {
this.ownAcctTrfInd = value;
return this;
}
/**
* Gets the value of the nonStdSttlmInf property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getNonStdSttlmInf() {
return nonStdSttlmInf;
}
/**
* Sets the value of the nonStdSttlmInf property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public Transfer18 setNonStdSttlmInf(String value) {
this.nonStdSttlmInf = 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 hldgsPlanTp list.
* @see #getHldgsPlanTp()
*
*/
public Transfer18 addHldgsPlanTp(HoldingsPlanType1Code hldgsPlanTp) {
getHldgsPlanTp().add(hldgsPlanTp);
return this;
}
/**
* Adds a new item to the unitsDtls list.
* @see #getUnitsDtls()
*
*/
public Transfer18 addUnitsDtls(Unit3 unitsDtls) {
getUnitsDtls().add(unitsDtls);
return this;
}
}