com.prowidesoftware.swift.model.mx.dic.TransferInInstructionV09 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 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;
/**
* The TransferInInstruction message is sent by an instructing party, for example, an investment manager or its authorised representative, to the executing party, for example, a transfer agent, to instruct the receipt of a financial instrument, free of payment, on a given date from a specified party.
* This message may also be used to instruct the receipt of a financial instrument, free of payment, from another of the instructing parties own accounts or from a third party.
* Usage
* The TransferInInstruction message is used to instruct the receipt of a financial instrument from another account, either owned by the instructing party or by a third party.
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "TransferInInstructionV09", propOrder = {
"msgId",
"poolRef",
"prvsRef",
"rltdRef",
"fctn",
"mstrRef",
"trfDtls",
"acctDtls",
"sttlmDtls",
"mktPrctcVrsn",
"cpyDtls",
"xtnsn"
})
public class TransferInInstructionV09 {
@XmlElement(name = "MsgId", required = true)
protected MessageIdentification1 msgId;
@XmlElement(name = "PoolRef")
protected AdditionalReference11 poolRef;
@XmlElement(name = "PrvsRef")
protected AdditionalReference10 prvsRef;
@XmlElement(name = "RltdRef")
protected AdditionalReference10 rltdRef;
@XmlElement(name = "Fctn")
@XmlSchemaType(name = "string")
protected TransferInFunction1Code fctn;
@XmlElement(name = "MstrRef")
protected String mstrRef;
@XmlElement(name = "TrfDtls", required = true)
protected List trfDtls;
@XmlElement(name = "AcctDtls", required = true)
protected InvestmentAccount71 acctDtls;
@XmlElement(name = "SttlmDtls")
protected DeliverInformation21 sttlmDtls;
@XmlElement(name = "MktPrctcVrsn")
protected MarketPracticeVersion1 mktPrctcVrsn;
@XmlElement(name = "CpyDtls")
protected CopyInformation5 cpyDtls;
@XmlElement(name = "Xtnsn")
protected List xtnsn;
/**
* Gets the value of the msgId property.
*
* @return
* possible object is
* {@link MessageIdentification1 }
*
*/
public MessageIdentification1 getMsgId() {
return msgId;
}
/**
* Sets the value of the msgId property.
*
* @param value
* allowed object is
* {@link MessageIdentification1 }
*
*/
public TransferInInstructionV09 setMsgId(MessageIdentification1 value) {
this.msgId = value;
return this;
}
/**
* Gets the value of the poolRef property.
*
* @return
* possible object is
* {@link AdditionalReference11 }
*
*/
public AdditionalReference11 getPoolRef() {
return poolRef;
}
/**
* Sets the value of the poolRef property.
*
* @param value
* allowed object is
* {@link AdditionalReference11 }
*
*/
public TransferInInstructionV09 setPoolRef(AdditionalReference11 value) {
this.poolRef = value;
return this;
}
/**
* Gets the value of the prvsRef property.
*
* @return
* possible object is
* {@link AdditionalReference10 }
*
*/
public AdditionalReference10 getPrvsRef() {
return prvsRef;
}
/**
* Sets the value of the prvsRef property.
*
* @param value
* allowed object is
* {@link AdditionalReference10 }
*
*/
public TransferInInstructionV09 setPrvsRef(AdditionalReference10 value) {
this.prvsRef = value;
return this;
}
/**
* Gets the value of the rltdRef property.
*
* @return
* possible object is
* {@link AdditionalReference10 }
*
*/
public AdditionalReference10 getRltdRef() {
return rltdRef;
}
/**
* Sets the value of the rltdRef property.
*
* @param value
* allowed object is
* {@link AdditionalReference10 }
*
*/
public TransferInInstructionV09 setRltdRef(AdditionalReference10 value) {
this.rltdRef = value;
return this;
}
/**
* Gets the value of the fctn property.
*
* @return
* possible object is
* {@link TransferInFunction1Code }
*
*/
public TransferInFunction1Code getFctn() {
return fctn;
}
/**
* Sets the value of the fctn property.
*
* @param value
* allowed object is
* {@link TransferInFunction1Code }
*
*/
public TransferInInstructionV09 setFctn(TransferInFunction1Code value) {
this.fctn = value;
return this;
}
/**
* Gets the value of the mstrRef property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getMstrRef() {
return mstrRef;
}
/**
* Sets the value of the mstrRef property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public TransferInInstructionV09 setMstrRef(String value) {
this.mstrRef = value;
return this;
}
/**
* Gets the value of the trfDtls 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 trfDtls property.
*
*
* For example, to add a new item, do as follows:
*
* getTrfDtls().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link Transfer36 }
*
*
*/
public List getTrfDtls() {
if (trfDtls == null) {
trfDtls = new ArrayList();
}
return this.trfDtls;
}
/**
* Gets the value of the acctDtls property.
*
* @return
* possible object is
* {@link InvestmentAccount71 }
*
*/
public InvestmentAccount71 getAcctDtls() {
return acctDtls;
}
/**
* Sets the value of the acctDtls property.
*
* @param value
* allowed object is
* {@link InvestmentAccount71 }
*
*/
public TransferInInstructionV09 setAcctDtls(InvestmentAccount71 value) {
this.acctDtls = value;
return this;
}
/**
* Gets the value of the sttlmDtls property.
*
* @return
* possible object is
* {@link DeliverInformation21 }
*
*/
public DeliverInformation21 getSttlmDtls() {
return sttlmDtls;
}
/**
* Sets the value of the sttlmDtls property.
*
* @param value
* allowed object is
* {@link DeliverInformation21 }
*
*/
public TransferInInstructionV09 setSttlmDtls(DeliverInformation21 value) {
this.sttlmDtls = value;
return this;
}
/**
* Gets the value of the mktPrctcVrsn property.
*
* @return
* possible object is
* {@link MarketPracticeVersion1 }
*
*/
public MarketPracticeVersion1 getMktPrctcVrsn() {
return mktPrctcVrsn;
}
/**
* Sets the value of the mktPrctcVrsn property.
*
* @param value
* allowed object is
* {@link MarketPracticeVersion1 }
*
*/
public TransferInInstructionV09 setMktPrctcVrsn(MarketPracticeVersion1 value) {
this.mktPrctcVrsn = value;
return this;
}
/**
* Gets the value of the cpyDtls property.
*
* @return
* possible object is
* {@link CopyInformation5 }
*
*/
public CopyInformation5 getCpyDtls() {
return cpyDtls;
}
/**
* Sets the value of the cpyDtls property.
*
* @param value
* allowed object is
* {@link CopyInformation5 }
*
*/
public TransferInInstructionV09 setCpyDtls(CopyInformation5 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 JAXB object.
* This is why there is not a 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 }
*
*
*/
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 trfDtls list.
* @see #getTrfDtls()
*
*/
public TransferInInstructionV09 addTrfDtls(Transfer36 trfDtls) {
getTrfDtls().add(trfDtls);
return this;
}
/**
* Adds a new item to the xtnsn list.
* @see #getXtnsn()
*
*/
public TransferInInstructionV09 addXtnsn(Extension1 xtnsn) {
getXtnsn().add(xtnsn);
return this;
}
}