com.prowidesoftware.swift.model.mx.dic.Tax7 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;
/**
* Tax related to an investment fund order.
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "Tax7", propOrder = {
"tp",
"amt",
"rate",
"rcptId",
"xmptnInd",
"xmptnRsn",
"taxClctnDtls"
})
public class Tax7 {
@XmlElement(name = "Tp", required = true)
protected TaxType2 tp;
@XmlElement(name = "Amt", required = true)
protected ActiveCurrencyAnd13DecimalAmount amt;
@XmlElement(name = "Rate")
protected BigDecimal rate;
@XmlElement(name = "RcptId")
protected PartyIdentification2Choice rcptId;
@XmlElement(name = "XmptnInd")
protected boolean xmptnInd;
@XmlElement(name = "XmptnRsn")
protected TaxExemptionReason1 xmptnRsn;
@XmlElement(name = "TaxClctnDtls")
protected TaxCalculationInformation3 taxClctnDtls;
/**
* Gets the value of the tp property.
*
* @return
* possible object is
* {@link TaxType2 }
*
*/
public TaxType2 getTp() {
return tp;
}
/**
* Sets the value of the tp property.
*
* @param value
* allowed object is
* {@link TaxType2 }
*
*/
public Tax7 setTp(TaxType2 value) {
this.tp = value;
return this;
}
/**
* Gets the value of the amt property.
*
* @return
* possible object is
* {@link ActiveCurrencyAnd13DecimalAmount }
*
*/
public ActiveCurrencyAnd13DecimalAmount getAmt() {
return amt;
}
/**
* Sets the value of the amt property.
*
* @param value
* allowed object is
* {@link ActiveCurrencyAnd13DecimalAmount }
*
*/
public Tax7 setAmt(ActiveCurrencyAnd13DecimalAmount value) {
this.amt = value;
return this;
}
/**
* Gets the value of the rate property.
*
* @return
* possible object is
* {@link BigDecimal }
*
*/
public BigDecimal getRate() {
return rate;
}
/**
* Sets the value of the rate property.
*
* @param value
* allowed object is
* {@link BigDecimal }
*
*/
public Tax7 setRate(BigDecimal value) {
this.rate = value;
return this;
}
/**
* Gets the value of the rcptId property.
*
* @return
* possible object is
* {@link PartyIdentification2Choice }
*
*/
public PartyIdentification2Choice getRcptId() {
return rcptId;
}
/**
* Sets the value of the rcptId property.
*
* @param value
* allowed object is
* {@link PartyIdentification2Choice }
*
*/
public Tax7 setRcptId(PartyIdentification2Choice value) {
this.rcptId = value;
return this;
}
/**
* Gets the value of the xmptnInd property.
*
*/
public boolean isXmptnInd() {
return xmptnInd;
}
/**
* Sets the value of the xmptnInd property.
*
*/
public Tax7 setXmptnInd(boolean value) {
this.xmptnInd = value;
return this;
}
/**
* Gets the value of the xmptnRsn property.
*
* @return
* possible object is
* {@link TaxExemptionReason1 }
*
*/
public TaxExemptionReason1 getXmptnRsn() {
return xmptnRsn;
}
/**
* Sets the value of the xmptnRsn property.
*
* @param value
* allowed object is
* {@link TaxExemptionReason1 }
*
*/
public Tax7 setXmptnRsn(TaxExemptionReason1 value) {
this.xmptnRsn = value;
return this;
}
/**
* Gets the value of the taxClctnDtls property.
*
* @return
* possible object is
* {@link TaxCalculationInformation3 }
*
*/
public TaxCalculationInformation3 getTaxClctnDtls() {
return taxClctnDtls;
}
/**
* Sets the value of the taxClctnDtls property.
*
* @param value
* allowed object is
* {@link TaxCalculationInformation3 }
*
*/
public Tax7 setTaxClctnDtls(TaxCalculationInformation3 value) {
this.taxClctnDtls = 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