com.prowidesoftware.swift.model.mx.dic.RedemptionBulkExecution2 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;
/**
* Execution of a redemption order.
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "RedemptionBulkExecution2", propOrder = {
"plcOfTrad",
"ordrDtTm",
"cxlRght",
"finInstrmDtls",
"indvExctnDtls",
"reqdSttlmCcy",
"reqdNAVCcy",
"blkCshSttlmDtls"
})
public class RedemptionBulkExecution2 {
@XmlElement(name = "PlcOfTrad")
protected String plcOfTrad;
@XmlElement(name = "OrdrDtTm")
@XmlSchemaType(name = "dateTime")
protected XMLGregorianCalendar ordrDtTm;
@XmlElement(name = "CxlRght")
protected CancellationRight1 cxlRght;
@XmlElement(name = "FinInstrmDtls", required = true)
protected FinancialInstrument6 finInstrmDtls;
@XmlElement(name = "IndvExctnDtls", required = true)
protected List indvExctnDtls;
@XmlElement(name = "ReqdSttlmCcy")
protected String reqdSttlmCcy;
@XmlElement(name = "ReqdNAVCcy")
protected String reqdNAVCcy;
@XmlElement(name = "BlkCshSttlmDtls")
protected PaymentTransaction18 blkCshSttlmDtls;
/**
* Gets the value of the plcOfTrad property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getPlcOfTrad() {
return plcOfTrad;
}
/**
* Sets the value of the plcOfTrad property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public RedemptionBulkExecution2 setPlcOfTrad(String value) {
this.plcOfTrad = value;
return this;
}
/**
* Gets the value of the ordrDtTm property.
*
* @return
* possible object is
* {@link XMLGregorianCalendar }
*
*/
public XMLGregorianCalendar getOrdrDtTm() {
return ordrDtTm;
}
/**
* Sets the value of the ordrDtTm property.
*
* @param value
* allowed object is
* {@link XMLGregorianCalendar }
*
*/
public RedemptionBulkExecution2 setOrdrDtTm(XMLGregorianCalendar value) {
this.ordrDtTm = value;
return this;
}
/**
* Gets the value of the cxlRght property.
*
* @return
* possible object is
* {@link CancellationRight1 }
*
*/
public CancellationRight1 getCxlRght() {
return cxlRght;
}
/**
* Sets the value of the cxlRght property.
*
* @param value
* allowed object is
* {@link CancellationRight1 }
*
*/
public RedemptionBulkExecution2 setCxlRght(CancellationRight1 value) {
this.cxlRght = value;
return this;
}
/**
* Gets the value of the finInstrmDtls property.
*
* @return
* possible object is
* {@link FinancialInstrument6 }
*
*/
public FinancialInstrument6 getFinInstrmDtls() {
return finInstrmDtls;
}
/**
* Sets the value of the finInstrmDtls property.
*
* @param value
* allowed object is
* {@link FinancialInstrument6 }
*
*/
public RedemptionBulkExecution2 setFinInstrmDtls(FinancialInstrument6 value) {
this.finInstrmDtls = value;
return this;
}
/**
* Gets the value of the indvExctnDtls 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 indvExctnDtls property.
*
*
* For example, to add a new item, do as follows:
*
* getIndvExctnDtls().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link RedemptionExecution3 }
*
*
*/
public List getIndvExctnDtls() {
if (indvExctnDtls == null) {
indvExctnDtls = new ArrayList();
}
return this.indvExctnDtls;
}
/**
* Gets the value of the reqdSttlmCcy property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getReqdSttlmCcy() {
return reqdSttlmCcy;
}
/**
* Sets the value of the reqdSttlmCcy property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public RedemptionBulkExecution2 setReqdSttlmCcy(String value) {
this.reqdSttlmCcy = value;
return this;
}
/**
* Gets the value of the reqdNAVCcy property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getReqdNAVCcy() {
return reqdNAVCcy;
}
/**
* Sets the value of the reqdNAVCcy property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public RedemptionBulkExecution2 setReqdNAVCcy(String value) {
this.reqdNAVCcy = value;
return this;
}
/**
* Gets the value of the blkCshSttlmDtls property.
*
* @return
* possible object is
* {@link PaymentTransaction18 }
*
*/
public PaymentTransaction18 getBlkCshSttlmDtls() {
return blkCshSttlmDtls;
}
/**
* Sets the value of the blkCshSttlmDtls property.
*
* @param value
* allowed object is
* {@link PaymentTransaction18 }
*
*/
public RedemptionBulkExecution2 setBlkCshSttlmDtls(PaymentTransaction18 value) {
this.blkCshSttlmDtls = 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 indvExctnDtls list.
* @see #getIndvExctnDtls()
*
*/
public RedemptionBulkExecution2 addIndvExctnDtls(RedemptionExecution3 indvExctnDtls) {
getIndvExctnDtls().add(indvExctnDtls);
return this;
}
}