com.prowidesoftware.swift.model.mx.dic.TradeAgreement3 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 com.prowidesoftware.swift.model.mx.adapters.IsoDateAdapter;
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;
/**
* Date and identification of a trade.
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "TradeAgreement3", propOrder = {
"tradDt",
"ntfctnId",
"cmonRef",
"oprTp",
"oprScp"
})
public class TradeAgreement3 {
@XmlElement(name = "TradDt", required = true, type = String.class)
@XmlJavaTypeAdapter(IsoDateAdapter.class)
@XmlSchemaType(name = "date")
protected LocalDate tradDt;
@XmlElement(name = "NtfctnId", required = true)
protected String ntfctnId;
@XmlElement(name = "CmonRef")
protected String cmonRef;
@XmlElement(name = "OprTp")
protected String oprTp;
@XmlElement(name = "OprScp")
protected String oprScp;
/**
* Gets the value of the tradDt property.
*
* @return
* possible object is
* {@link String }
*
*/
public LocalDate getTradDt() {
return tradDt;
}
/**
* Sets the value of the tradDt property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public TradeAgreement3 setTradDt(LocalDate value) {
this.tradDt = value;
return this;
}
/**
* Gets the value of the ntfctnId property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getNtfctnId() {
return ntfctnId;
}
/**
* Sets the value of the ntfctnId property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public TradeAgreement3 setNtfctnId(String value) {
this.ntfctnId = value;
return this;
}
/**
* Gets the value of the cmonRef property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getCmonRef() {
return cmonRef;
}
/**
* Sets the value of the cmonRef property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public TradeAgreement3 setCmonRef(String value) {
this.cmonRef = value;
return this;
}
/**
* Gets the value of the oprTp property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getOprTp() {
return oprTp;
}
/**
* Sets the value of the oprTp property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public TradeAgreement3 setOprTp(String value) {
this.oprTp = value;
return this;
}
/**
* Gets the value of the oprScp property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getOprScp() {
return oprScp;
}
/**
* Sets the value of the oprScp property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public TradeAgreement3 setOprScp(String value) {
this.oprScp = 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