com.prowidesoftware.swift.model.mx.dic.TradeData3 Maven / Gradle / Ivy
package com.prowidesoftware.swift.model.mx.dic;
import java.time.OffsetDateTime;
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 = "TradeData3", propOrder = {
"mtchgSysUnqRef",
"mtchgSysMtchgRef",
"stsOrgtr",
"curSts",
"curStsSubTp",
"curStsDtTm",
"prvsSts",
"allgdTrad",
"prvsStsSubTp"
})
public class TradeData3 {
@XmlElement(name = "MtchgSysUnqRef", required = true)
protected String mtchgSysUnqRef;
@XmlElement(name = "MtchgSysMtchgRef")
protected String mtchgSysMtchgRef;
@XmlElement(name = "StsOrgtr")
protected String stsOrgtr;
@XmlElement(name = "CurSts", required = true)
protected Status5Choice curSts;
@XmlElement(name = "CurStsSubTp")
protected String curStsSubTp;
@XmlElement(name = "CurStsDtTm", type = String.class)
@XmlJavaTypeAdapter(IsoDateTimeAdapter.class)
@XmlSchemaType(name = "dateTime")
protected OffsetDateTime curStsDtTm;
@XmlElement(name = "PrvsSts")
protected Status5Choice prvsSts;
@XmlElement(name = "AllgdTrad")
protected Boolean allgdTrad;
@XmlElement(name = "PrvsStsSubTp")
protected String prvsStsSubTp;
/**
* 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 TradeData3 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 TradeData3 setMtchgSysMtchgRef(String value) {
this.mtchgSysMtchgRef = value;
return this;
}
/**
* Gets the value of the stsOrgtr property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getStsOrgtr() {
return stsOrgtr;
}
/**
* Sets the value of the stsOrgtr property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public TradeData3 setStsOrgtr(String value) {
this.stsOrgtr = value;
return this;
}
/**
* Gets the value of the curSts property.
*
* @return
* possible object is
* {@link Status5Choice }
*
*/
public Status5Choice getCurSts() {
return curSts;
}
/**
* Sets the value of the curSts property.
*
* @param value
* allowed object is
* {@link Status5Choice }
*
*/
public TradeData3 setCurSts(Status5Choice value) {
this.curSts = value;
return this;
}
/**
* Gets the value of the curStsSubTp property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getCurStsSubTp() {
return curStsSubTp;
}
/**
* Sets the value of the curStsSubTp property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public TradeData3 setCurStsSubTp(String value) {
this.curStsSubTp = 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 TradeData3 setCurStsDtTm(OffsetDateTime value) {
this.curStsDtTm = value;
return this;
}
/**
* Gets the value of the prvsSts property.
*
* @return
* possible object is
* {@link Status5Choice }
*
*/
public Status5Choice getPrvsSts() {
return prvsSts;
}
/**
* Sets the value of the prvsSts property.
*
* @param value
* allowed object is
* {@link Status5Choice }
*
*/
public TradeData3 setPrvsSts(Status5Choice value) {
this.prvsSts = value;
return this;
}
/**
* Gets the value of the allgdTrad property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean isAllgdTrad() {
return allgdTrad;
}
/**
* Sets the value of the allgdTrad property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public TradeData3 setAllgdTrad(Boolean value) {
this.allgdTrad = value;
return this;
}
/**
* Gets the value of the prvsStsSubTp property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getPrvsStsSubTp() {
return prvsStsSubTp;
}
/**
* Sets the value of the prvsStsSubTp property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public TradeData3 setPrvsStsSubTp(String value) {
this.prvsStsSubTp = 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