com.prowidesoftware.swift.model.mx.dic.TradeData8 Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pw-iso20022 Show documentation
Show all versions of pw-iso20022 Show documentation
Prowide Library for ISO 20022 messages
The newest version!
package com.prowidesoftware.swift.model.mx.dic;
import java.time.LocalDate;
import java.time.OffsetDateTime;
import com.prowidesoftware.swift.model.mx.adapters.IsoDateAdapter;
import com.prowidesoftware.swift.model.mx.adapters.IsoDateTimeAdapter;
import jakarta.xml.bind.annotation.XmlAccessType;
import jakarta.xml.bind.annotation.XmlAccessorType;
import jakarta.xml.bind.annotation.XmlElement;
import jakarta.xml.bind.annotation.XmlSchemaType;
import jakarta.xml.bind.annotation.XmlType;
import jakarta.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
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;
/**
* Provides information on the status of a trade.
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "TradeData8", propOrder = {
"orgtrRef",
"mtchgSysUnqRef",
"mtchgSysMtchgRef",
"mtchgSysMtchdSdRef",
"curSttlmDt",
"newSttlmDt",
"curStsDtTm",
"pdctTp",
"sttlmSsnIdr",
"rgltryRptg"
})
public class TradeData8 {
@XmlElement(name = "OrgtrRef")
protected String orgtrRef;
@XmlElement(name = "MtchgSysUnqRef", required = true)
protected String mtchgSysUnqRef;
@XmlElement(name = "MtchgSysMtchgRef")
protected String mtchgSysMtchgRef;
@XmlElement(name = "MtchgSysMtchdSdRef")
protected String mtchgSysMtchdSdRef;
@XmlElement(name = "CurSttlmDt", type = String.class)
@XmlJavaTypeAdapter(IsoDateAdapter.class)
@XmlSchemaType(name = "date")
protected LocalDate curSttlmDt;
@XmlElement(name = "NewSttlmDt", type = String.class)
@XmlJavaTypeAdapter(IsoDateAdapter.class)
@XmlSchemaType(name = "date")
protected LocalDate newSttlmDt;
@XmlElement(name = "CurStsDtTm", type = String.class)
@XmlJavaTypeAdapter(IsoDateTimeAdapter.class)
@XmlSchemaType(name = "dateTime")
protected OffsetDateTime curStsDtTm;
@XmlElement(name = "PdctTp")
protected String pdctTp;
@XmlElement(name = "SttlmSsnIdr")
protected String sttlmSsnIdr;
@XmlElement(name = "RgltryRptg")
protected RegulatoryReporting1 rgltryRptg;
/**
* Gets the value of the orgtrRef property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getOrgtrRef() {
return orgtrRef;
}
/**
* Sets the value of the orgtrRef property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public TradeData8 setOrgtrRef(String value) {
this.orgtrRef = value;
return this;
}
/**
* Gets the value of the mtchgSysUnqRef property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getMtchgSysUnqRef() {
return mtchgSysUnqRef;
}
/**
* Sets the value of the mtchgSysUnqRef property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public TradeData8 setMtchgSysUnqRef(String value) {
this.mtchgSysUnqRef = value;
return this;
}
/**
* Gets the value of the mtchgSysMtchgRef property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getMtchgSysMtchgRef() {
return mtchgSysMtchgRef;
}
/**
* Sets the value of the mtchgSysMtchgRef property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public TradeData8 setMtchgSysMtchgRef(String value) {
this.mtchgSysMtchgRef = value;
return this;
}
/**
* Gets the value of the mtchgSysMtchdSdRef property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getMtchgSysMtchdSdRef() {
return mtchgSysMtchdSdRef;
}
/**
* Sets the value of the mtchgSysMtchdSdRef property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public TradeData8 setMtchgSysMtchdSdRef(String value) {
this.mtchgSysMtchdSdRef = value;
return this;
}
/**
* Gets the value of the curSttlmDt property.
*
* @return
* possible object is
* {@link String }
*
*/
public LocalDate getCurSttlmDt() {
return curSttlmDt;
}
/**
* Sets the value of the curSttlmDt property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public TradeData8 setCurSttlmDt(LocalDate value) {
this.curSttlmDt = value;
return this;
}
/**
* Gets the value of the newSttlmDt property.
*
* @return
* possible object is
* {@link String }
*
*/
public LocalDate getNewSttlmDt() {
return newSttlmDt;
}
/**
* Sets the value of the newSttlmDt property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public TradeData8 setNewSttlmDt(LocalDate value) {
this.newSttlmDt = value;
return this;
}
/**
* Gets the value of the curStsDtTm property.
*
* @return
* possible object is
* {@link String }
*
*/
public OffsetDateTime getCurStsDtTm() {
return curStsDtTm;
}
/**
* Sets the value of the curStsDtTm property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public TradeData8 setCurStsDtTm(OffsetDateTime value) {
this.curStsDtTm = value;
return this;
}
/**
* Gets the value of the pdctTp property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getPdctTp() {
return pdctTp;
}
/**
* Sets the value of the pdctTp property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public TradeData8 setPdctTp(String value) {
this.pdctTp = value;
return this;
}
/**
* Gets the value of the sttlmSsnIdr property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getSttlmSsnIdr() {
return sttlmSsnIdr;
}
/**
* Sets the value of the sttlmSsnIdr property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public TradeData8 setSttlmSsnIdr(String value) {
this.sttlmSsnIdr = value;
return this;
}
/**
* Gets the value of the rgltryRptg property.
*
* @return
* possible object is
* {@link RegulatoryReporting1 }
*
*/
public RegulatoryReporting1 getRgltryRptg() {
return rgltryRptg;
}
/**
* Sets the value of the rgltryRptg property.
*
* @param value
* allowed object is
* {@link RegulatoryReporting1 }
*
*/
public TradeData8 setRgltryRptg(RegulatoryReporting1 value) {
this.rgltryRptg = 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);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy