com.prowidesoftware.swift.model.mx.dic.PaymentDateRange2 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;
/**
* Specifies an payment schedule, that is an amount that must be paid no sooner than the expected payment date and no later than the due date.
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "PaymentDateRange2", propOrder = {
"pmtSchdlId",
"amt",
"xpctdDt",
"dueDt"
})
public class PaymentDateRange2 {
@XmlElement(name = "PmtSchdlId")
protected String pmtSchdlId;
@XmlElement(name = "Amt", required = true)
protected ActiveCurrencyAndAmount amt;
@XmlElement(name = "XpctdDt", type = String.class)
@XmlJavaTypeAdapter(IsoDateAdapter.class)
@XmlSchemaType(name = "date")
protected LocalDate xpctdDt;
@XmlElement(name = "DueDt", required = true, type = String.class)
@XmlJavaTypeAdapter(IsoDateAdapter.class)
@XmlSchemaType(name = "date")
protected LocalDate dueDt;
/**
* Gets the value of the pmtSchdlId property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getPmtSchdlId() {
return pmtSchdlId;
}
/**
* Sets the value of the pmtSchdlId property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public PaymentDateRange2 setPmtSchdlId(String value) {
this.pmtSchdlId = 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 PaymentDateRange2 setAmt(ActiveCurrencyAndAmount value) {
this.amt = value;
return this;
}
/**
* Gets the value of the xpctdDt property.
*
* @return
* possible object is
* {@link String }
*
*/
public LocalDate getXpctdDt() {
return xpctdDt;
}
/**
* Sets the value of the xpctdDt property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public PaymentDateRange2 setXpctdDt(LocalDate value) {
this.xpctdDt = value;
return this;
}
/**
* Gets the value of the dueDt property.
*
* @return
* possible object is
* {@link String }
*
*/
public LocalDate getDueDt() {
return dueDt;
}
/**
* Sets the value of the dueDt property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public PaymentDateRange2 setDueDt(LocalDate value) {
this.dueDt = 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