All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.connectifier.xeroclient.models.TaxRate Maven / Gradle / Ivy

//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.7 
// See http://java.sun.com/xml/jaxb 
// Any modifications to this file will be lost upon recompilation of the source schema. 
// Generated on: 2015.03.08 at 08:40:56 PM PDT 
//


package com.connectifier.xeroclient.models;

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.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;


/**
 * 

Java class for TaxRate complex type. * *

The following schema fragment specifies the expected content contained within this class. * *

 * <complexType name="TaxRate">
 *   <complexContent>
 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       <all>
 *         <element name="ValidationErrors" type="{}ArrayOfValidationError" minOccurs="0"/>
 *         <element name="Warnings" type="{}ArrayOfWarning" minOccurs="0"/>
 *         <element name="Name" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         <element name="TaxType" type="{}taxType" minOccurs="0"/>
 *         <element name="CanApplyToAssets" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
 *         <element name="CanApplyToEquity" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
 *         <element name="CanApplyToExpenses" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
 *         <element name="CanApplyToLiabilities" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
 *         <element name="CanApplyToRevenue" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
 *         <element name="DisplayTaxRate" type="{}taxRate"/>
 *         <element name="EffectiveRate" type="{}taxRate"/>
 *         <element name="Status" type="{}taxRateStatus" minOccurs="0"/>
 *       </all>
 *       <attribute name="status" type="{}entityValidationStatus" />
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "TaxRate", propOrder = { }) public class TaxRate { @XmlElement(name = "ValidationErrors") protected ArrayOfValidationError validationErrors; @XmlElement(name = "Warnings") protected ArrayOfWarning warnings; @XmlElement(name = "Name") protected String name; @XmlElement(name = "TaxType") protected String taxType; @XmlElement(name = "CanApplyToAssets") protected boolean canApplyToAssets; @XmlElement(name = "CanApplyToEquity") protected boolean canApplyToEquity; @XmlElement(name = "CanApplyToExpenses") protected boolean canApplyToExpenses; @XmlElement(name = "CanApplyToLiabilities") protected boolean canApplyToLiabilities; @XmlElement(name = "CanApplyToRevenue") protected boolean canApplyToRevenue; @XmlElement(name = "DisplayTaxRate", required = true, nillable = true) protected BigDecimal displayTaxRate; @XmlElement(name = "EffectiveRate", required = true, nillable = true) protected BigDecimal effectiveRate; @XmlElement(name = "Status") protected TaxRateStatus status; @XmlAttribute(name = "status") protected EntityValidationStatus validationStatus; /** * Sets the value of the validationErrors property. * * @param value * allowed object is * {@link ArrayOfValidationError } * */ public void setValidationErrors(ArrayOfValidationError value) { this.validationErrors = value; } /** * Sets the value of the warnings property. * * @param value * allowed object is * {@link ArrayOfWarning } * */ public void setWarnings(ArrayOfWarning value) { this.warnings = value; } /** * Gets the value of the name property. * * @return * possible object is * {@link String } * */ public String getName() { return name; } /** * Sets the value of the name property. * * @param value * allowed object is * {@link String } * */ public void setName(String value) { this.name = value; } /** * Gets the value of the taxType property. * * @return * possible object is * {@link String } * */ public String getTaxType() { return taxType; } /** * Sets the value of the taxType property. * * @param value * allowed object is * {@link String } * */ public void setTaxType(String value) { this.taxType = value; } /** * Gets the value of the canApplyToAssets property. * */ public boolean isCanApplyToAssets() { return canApplyToAssets; } /** * Sets the value of the canApplyToAssets property. * */ public void setCanApplyToAssets(boolean value) { this.canApplyToAssets = value; } /** * Gets the value of the canApplyToEquity property. * */ public boolean isCanApplyToEquity() { return canApplyToEquity; } /** * Sets the value of the canApplyToEquity property. * */ public void setCanApplyToEquity(boolean value) { this.canApplyToEquity = value; } /** * Gets the value of the canApplyToExpenses property. * */ public boolean isCanApplyToExpenses() { return canApplyToExpenses; } /** * Sets the value of the canApplyToExpenses property. * */ public void setCanApplyToExpenses(boolean value) { this.canApplyToExpenses = value; } /** * Gets the value of the canApplyToLiabilities property. * */ public boolean isCanApplyToLiabilities() { return canApplyToLiabilities; } /** * Sets the value of the canApplyToLiabilities property. * */ public void setCanApplyToLiabilities(boolean value) { this.canApplyToLiabilities = value; } /** * Gets the value of the canApplyToRevenue property. * */ public boolean isCanApplyToRevenue() { return canApplyToRevenue; } /** * Sets the value of the canApplyToRevenue property. * */ public void setCanApplyToRevenue(boolean value) { this.canApplyToRevenue = value; } /** * Gets the value of the displayTaxRate property. * * @return * possible object is * {@link BigDecimal } * */ public BigDecimal getDisplayTaxRate() { return displayTaxRate; } /** * Sets the value of the displayTaxRate property. * * @param value * allowed object is * {@link BigDecimal } * */ public void setDisplayTaxRate(BigDecimal value) { this.displayTaxRate = value; } /** * Gets the value of the effectiveRate property. * * @return * possible object is * {@link BigDecimal } * */ public BigDecimal getEffectiveRate() { return effectiveRate; } /** * Sets the value of the effectiveRate property. * * @param value * allowed object is * {@link BigDecimal } * */ public void setEffectiveRate(BigDecimal value) { this.effectiveRate = value; } /** * Gets the value of the status property. * * @return * possible object is * {@link TaxRateStatus } * */ public TaxRateStatus getStatus() { return status; } /** * Sets the value of the status property. * * @param value * allowed object is * {@link TaxRateStatus } * */ public void setStatus(TaxRateStatus value) { this.status = value; } /** * Gets the value of the validationStatus property. * * @return * possible object is * {@link EntityValidationStatus } * */ public EntityValidationStatus getValidationStatus() { return validationStatus; } /** * Sets the value of the validationStatus property. * * @param value * allowed object is * {@link EntityValidationStatus } * */ public void setValidationStatus(EntityValidationStatus value) { this.validationStatus = value; } public List getValidationErrors() { return ((validationErrors == null)?new ArrayList():validationErrors.getValidationError()); } public List getWarnings() { return ((warnings == null)?new ArrayList():warnings.getWarning()); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy