com.prowidesoftware.swift.model.mx.dic.IntentToPay1 Maven / Gradle / Ivy
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 the details of an intention to pay based on purchase orders or commercial invoice.
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "IntentToPay1", propOrder = {
"byPurchsOrdr",
"byComrclInvc",
"xpctdPmtDt",
"sttlmTerms"
})
public class IntentToPay1 {
@XmlElement(name = "ByPurchsOrdr")
protected ReportLine3 byPurchsOrdr;
@XmlElement(name = "ByComrclInvc")
protected ReportLine4 byComrclInvc;
@XmlElement(name = "XpctdPmtDt", required = true, type = String.class)
@XmlJavaTypeAdapter(IsoDateAdapter.class)
@XmlSchemaType(name = "date")
protected LocalDate xpctdPmtDt;
@XmlElement(name = "SttlmTerms")
protected SettlementTerms2 sttlmTerms;
/**
* Gets the value of the byPurchsOrdr property.
*
* @return
* possible object is
* {@link ReportLine3 }
*
*/
public ReportLine3 getByPurchsOrdr() {
return byPurchsOrdr;
}
/**
* Sets the value of the byPurchsOrdr property.
*
* @param value
* allowed object is
* {@link ReportLine3 }
*
*/
public IntentToPay1 setByPurchsOrdr(ReportLine3 value) {
this.byPurchsOrdr = value;
return this;
}
/**
* Gets the value of the byComrclInvc property.
*
* @return
* possible object is
* {@link ReportLine4 }
*
*/
public ReportLine4 getByComrclInvc() {
return byComrclInvc;
}
/**
* Sets the value of the byComrclInvc property.
*
* @param value
* allowed object is
* {@link ReportLine4 }
*
*/
public IntentToPay1 setByComrclInvc(ReportLine4 value) {
this.byComrclInvc = value;
return this;
}
/**
* Gets the value of the xpctdPmtDt property.
*
* @return
* possible object is
* {@link String }
*
*/
public LocalDate getXpctdPmtDt() {
return xpctdPmtDt;
}
/**
* Sets the value of the xpctdPmtDt property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public IntentToPay1 setXpctdPmtDt(LocalDate value) {
this.xpctdPmtDt = value;
return this;
}
/**
* Gets the value of the sttlmTerms property.
*
* @return
* possible object is
* {@link SettlementTerms2 }
*
*/
public SettlementTerms2 getSttlmTerms() {
return sttlmTerms;
}
/**
* Sets the value of the sttlmTerms property.
*
* @param value
* allowed object is
* {@link SettlementTerms2 }
*
*/
public IntentToPay1 setSttlmTerms(SettlementTerms2 value) {
this.sttlmTerms = 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