com.prowidesoftware.swift.model.mx.dic.PaymentTerms1 Maven / Gradle / Ivy
package com.prowidesoftware.swift.model.mx.dic;
import java.math.BigDecimal;
import jakarta.xml.bind.annotation.XmlAccessType;
import jakarta.xml.bind.annotation.XmlAccessorType;
import jakarta.xml.bind.annotation.XmlElement;
import jakarta.xml.bind.annotation.XmlType;
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 payment terms of the underlying transaction.
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "PaymentTerms1", propOrder = {
"othrPmtTerms",
"pmtCd",
"pctg",
"amt"
})
public class PaymentTerms1 {
@XmlElement(name = "OthrPmtTerms")
protected String othrPmtTerms;
@XmlElement(name = "PmtCd")
protected PaymentPeriod1 pmtCd;
@XmlElement(name = "Pctg")
protected BigDecimal pctg;
@XmlElement(name = "Amt")
protected CurrencyAndAmount amt;
/**
* Gets the value of the othrPmtTerms property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getOthrPmtTerms() {
return othrPmtTerms;
}
/**
* Sets the value of the othrPmtTerms property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public PaymentTerms1 setOthrPmtTerms(String value) {
this.othrPmtTerms = value;
return this;
}
/**
* Gets the value of the pmtCd property.
*
* @return
* possible object is
* {@link PaymentPeriod1 }
*
*/
public PaymentPeriod1 getPmtCd() {
return pmtCd;
}
/**
* Sets the value of the pmtCd property.
*
* @param value
* allowed object is
* {@link PaymentPeriod1 }
*
*/
public PaymentTerms1 setPmtCd(PaymentPeriod1 value) {
this.pmtCd = value;
return this;
}
/**
* Gets the value of the pctg property.
*
* @return
* possible object is
* {@link BigDecimal }
*
*/
public BigDecimal getPctg() {
return pctg;
}
/**
* Sets the value of the pctg property.
*
* @param value
* allowed object is
* {@link BigDecimal }
*
*/
public PaymentTerms1 setPctg(BigDecimal value) {
this.pctg = value;
return this;
}
/**
* Gets the value of the amt property.
*
* @return
* possible object is
* {@link CurrencyAndAmount }
*
*/
public CurrencyAndAmount getAmt() {
return amt;
}
/**
* Sets the value of the amt property.
*
* @param value
* allowed object is
* {@link CurrencyAndAmount }
*
*/
public PaymentTerms1 setAmt(CurrencyAndAmount 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