
com.prowidesoftware.swift.model.mx.dic.InvoiceTaxReportTransactionStatus1 Maven / Gradle / Ivy
package com.prowidesoftware.swift.model.mx.dic;
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;
/**
* Provides the details of each individual invoice tax report transaction.
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "InvoiceTaxReportTransactionStatus1", propOrder = {
"taxRptId",
"sts",
"vldtnRule",
"splmtryData"
})
public class InvoiceTaxReportTransactionStatus1 {
@XmlElement(name = "TaxRptId", required = true)
protected String taxRptId;
@XmlElement(name = "Sts", required = true)
@XmlSchemaType(name = "string")
protected TaxReportingStatus2Code sts;
@XmlElement(name = "VldtnRule")
protected List vldtnRule;
@XmlElement(name = "SplmtryData")
protected List splmtryData;
/**
* Gets the value of the taxRptId property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getTaxRptId() {
return taxRptId;
}
/**
* Sets the value of the taxRptId property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public InvoiceTaxReportTransactionStatus1 setTaxRptId(String value) {
this.taxRptId = value;
return this;
}
/**
* Gets the value of the sts property.
*
* @return
* possible object is
* {@link TaxReportingStatus2Code }
*
*/
public TaxReportingStatus2Code getSts() {
return sts;
}
/**
* Sets the value of the sts property.
*
* @param value
* allowed object is
* {@link TaxReportingStatus2Code }
*
*/
public InvoiceTaxReportTransactionStatus1 setSts(TaxReportingStatus2Code value) {
this.sts = value;
return this;
}
/**
* Gets the value of the vldtnRule 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 vldtnRule property.
*
*
* For example, to add a new item, do as follows:
*
* getVldtnRule().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link GenericValidationRuleIdentification1 }
*
*
*/
public List getVldtnRule() {
if (vldtnRule == null) {
vldtnRule = new ArrayList();
}
return this.vldtnRule;
}
/**
* Gets the value of the splmtryData 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 splmtryData property.
*
*
* For example, to add a new item, do as follows:
*
* getSplmtryData().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link SupplementaryData1 }
*
*
*/
public List getSplmtryData() {
if (splmtryData == null) {
splmtryData = new ArrayList();
}
return this.splmtryData;
}
@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 vldtnRule list.
* @see #getVldtnRule()
*
*/
public InvoiceTaxReportTransactionStatus1 addVldtnRule(GenericValidationRuleIdentification1 vldtnRule) {
getVldtnRule().add(vldtnRule);
return this;
}
/**
* Adds a new item to the splmtryData list.
* @see #getSplmtryData()
*
*/
public InvoiceTaxReportTransactionStatus1 addSplmtryData(SupplementaryData1 splmtryData) {
getSplmtryData().add(splmtryData);
return this;
}
}