com.prowidesoftware.swift.model.mx.dic.Demand3 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;
/**
* Details related to the demand.
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "Demand3", propOrder = {
"id",
"submissnDtTm",
"amt"
})
public class Demand3 {
@XmlElement(name = "Id", required = true)
protected String id;
@XmlElement(name = "SubmissnDtTm", required = true, type = String.class)
@XmlJavaTypeAdapter(IsoDateTimeAdapter.class)
@XmlSchemaType(name = "dateTime")
protected OffsetDateTime submissnDtTm;
@XmlElement(name = "Amt", required = true)
protected ActiveCurrencyAndAmount amt;
/**
* Gets the value of the id property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getId() {
return id;
}
/**
* Sets the value of the id property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public Demand3 setId(String value) {
this.id = value;
return this;
}
/**
* Gets the value of the submissnDtTm property.
*
* @return
* possible object is
* {@link String }
*
*/
public OffsetDateTime getSubmissnDtTm() {
return submissnDtTm;
}
/**
* Sets the value of the submissnDtTm property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public Demand3 setSubmissnDtTm(OffsetDateTime value) {
this.submissnDtTm = value;
return this;
}
/**
* Gets the value of the amt property.
*
* @return
* possible object is
* {@link ActiveCurrencyAndAmount }
*
*/
public ActiveCurrencyAndAmount getAmt() {
return amt;
}
/**
* Sets the value of the amt property.
*
* @param value
* allowed object is
* {@link ActiveCurrencyAndAmount }
*
*/
public Demand3 setAmt(ActiveCurrencyAndAmount value) {
this.amt = 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