com.prowidesoftware.swift.model.mx.dic.TotalTaxes5 Maven / Gradle / Ivy
Show all versions of pw-iso20022 Show documentation
package com.prowidesoftware.swift.model.mx.dic;
import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.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;
/**
* Information regarding the total amount of taxes.
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "TotalTaxes5", propOrder = {
"euCptlGn",
"pctgOfDebtClm",
"taxDtls"
})
public class TotalTaxes5 {
@XmlElement(name = "EUCptlGn")
@XmlSchemaType(name = "string")
protected EUCapitalGain2Code euCptlGn;
@XmlElement(name = "PctgOfDebtClm")
protected BigDecimal pctgOfDebtClm;
@XmlElement(name = "TaxDtls")
protected List taxDtls;
/**
* Gets the value of the euCptlGn property.
*
* @return
* possible object is
* {@link EUCapitalGain2Code }
*
*/
public EUCapitalGain2Code getEUCptlGn() {
return euCptlGn;
}
/**
* Sets the value of the euCptlGn property.
*
* @param value
* allowed object is
* {@link EUCapitalGain2Code }
*
*/
public TotalTaxes5 setEUCptlGn(EUCapitalGain2Code value) {
this.euCptlGn = value;
return this;
}
/**
* Gets the value of the pctgOfDebtClm property.
*
* @return
* possible object is
* {@link BigDecimal }
*
*/
public BigDecimal getPctgOfDebtClm() {
return pctgOfDebtClm;
}
/**
* Sets the value of the pctgOfDebtClm property.
*
* @param value
* allowed object is
* {@link BigDecimal }
*
*/
public TotalTaxes5 setPctgOfDebtClm(BigDecimal value) {
this.pctgOfDebtClm = value;
return this;
}
/**
* Gets the value of the taxDtls property.
*
*
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the JAXB object.
* This is why there is not a set
method for the taxDtls property.
*
*
* For example, to add a new item, do as follows:
*
* getTaxDtls().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link Tax20 }
*
*
*/
public List getTaxDtls() {
if (taxDtls == null) {
taxDtls = new ArrayList();
}
return this.taxDtls;
}
@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);
}
/**
* Adds a new item to the taxDtls list.
* @see #getTaxDtls()
*
*/
public TotalTaxes5 addTaxDtls(Tax20 taxDtls) {
getTaxDtls().add(taxDtls);
return this;
}
}