com.prowidesoftware.swift.model.mx.dic.TransferOut17 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;
/**
* Information about a transfer out transaction.
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "TransferOut17", propOrder = {
"reqdTrfDt",
"mstrRef",
"trfAndRefs",
"acctDtls",
"sttlmDtls",
"xtnsn"
})
public class TransferOut17 {
@XmlElement(name = "ReqdTrfDt")
protected DateFormat1Choice reqdTrfDt;
@XmlElement(name = "MstrRef")
protected String mstrRef;
@XmlElement(name = "TrfAndRefs", required = true)
protected List trfAndRefs;
@XmlElement(name = "AcctDtls", required = true)
protected InvestmentAccount54 acctDtls;
@XmlElement(name = "SttlmDtls")
protected ReceiveInformation16 sttlmDtls;
@XmlElement(name = "Xtnsn")
protected List xtnsn;
/**
* Gets the value of the reqdTrfDt property.
*
* @return
* possible object is
* {@link DateFormat1Choice }
*
*/
public DateFormat1Choice getReqdTrfDt() {
return reqdTrfDt;
}
/**
* Sets the value of the reqdTrfDt property.
*
* @param value
* allowed object is
* {@link DateFormat1Choice }
*
*/
public TransferOut17 setReqdTrfDt(DateFormat1Choice value) {
this.reqdTrfDt = 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 TransferOut17 setMstrRef(String value) {
this.mstrRef = value;
return this;
}
/**
* Gets the value of the trfAndRefs 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 trfAndRefs property.
*
*
* For example, to add a new item, do as follows:
*
* getTrfAndRefs().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link TransferOut18 }
*
*
*/
public List getTrfAndRefs() {
if (trfAndRefs == null) {
trfAndRefs = new ArrayList();
}
return this.trfAndRefs;
}
/**
* Gets the value of the acctDtls property.
*
* @return
* possible object is
* {@link InvestmentAccount54 }
*
*/
public InvestmentAccount54 getAcctDtls() {
return acctDtls;
}
/**
* Sets the value of the acctDtls property.
*
* @param value
* allowed object is
* {@link InvestmentAccount54 }
*
*/
public TransferOut17 setAcctDtls(InvestmentAccount54 value) {
this.acctDtls = value;
return this;
}
/**
* Gets the value of the sttlmDtls property.
*
* @return
* possible object is
* {@link ReceiveInformation16 }
*
*/
public ReceiveInformation16 getSttlmDtls() {
return sttlmDtls;
}
/**
* Sets the value of the sttlmDtls property.
*
* @param value
* allowed object is
* {@link ReceiveInformation16 }
*
*/
public TransferOut17 setSttlmDtls(ReceiveInformation16 value) {
this.sttlmDtls = 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 trfAndRefs list.
* @see #getTrfAndRefs()
*
*/
public TransferOut17 addTrfAndRefs(TransferOut18 trfAndRefs) {
getTrfAndRefs().add(trfAndRefs);
return this;
}
/**
* Adds a new item to the xtnsn list.
* @see #getXtnsn()
*
*/
public TransferOut17 addXtnsn(Extension1 xtnsn) {
getXtnsn().add(xtnsn);
return this;
}
}