Class TaxRate


  • public class TaxRate
    extends Object
    TaxRate
    • Constructor Detail

      • TaxRate

        public TaxRate()
    • Method Detail

      • name

        public TaxRate name​(String name)
        Name of tax rate
        Parameters:
        name - String
        Returns:
        TaxRate
      • getName

        public String getName()
        Name of tax rate
        Returns:
        name
      • setName

        public void setName​(String name)
        Name of tax rate
        Parameters:
        name - String
      • taxType

        public TaxRate taxType​(String taxType)
        The tax type
        Parameters:
        taxType - String
        Returns:
        TaxRate
      • getTaxType

        public String getTaxType()
        The tax type
        Returns:
        taxType
      • setTaxType

        public void setTaxType​(String taxType)
        The tax type
        Parameters:
        taxType - String
      • taxComponents

        public TaxRate taxComponents​(List<TaxComponent> taxComponents)
        See TaxComponents
        Parameters:
        taxComponents - List<TaxComponent>
        Returns:
        TaxRate
      • addTaxComponentsItem

        public TaxRate addTaxComponentsItem​(TaxComponent taxComponentsItem)
        See TaxComponents
        Parameters:
        taxComponentsItem - TaxComponent
        Returns:
        TaxRate
      • getTaxComponents

        public List<TaxComponent> getTaxComponents()
        See TaxComponents
        Returns:
        taxComponents
      • setTaxComponents

        public void setTaxComponents​(List<TaxComponent> taxComponents)
        See TaxComponents
        Parameters:
        taxComponents - List<TaxComponent>
      • status

        public TaxRate status​(TaxRate.StatusEnum status)
        See Status Codes
        Parameters:
        status - StatusEnum
        Returns:
        TaxRate
      • setStatus

        public void setStatus​(TaxRate.StatusEnum status)
        See Status Codes
        Parameters:
        status - StatusEnum
      • reportTaxType

        public TaxRate reportTaxType​(TaxRate.ReportTaxTypeEnum reportTaxType)
        See ReportTaxTypes
        Parameters:
        reportTaxType - ReportTaxTypeEnum
        Returns:
        TaxRate
      • setReportTaxType

        public void setReportTaxType​(TaxRate.ReportTaxTypeEnum reportTaxType)
        See ReportTaxTypes
        Parameters:
        reportTaxType - ReportTaxTypeEnum
      • getCanApplyToAssets

        public Boolean getCanApplyToAssets()
        Boolean to describe if tax rate can be used for asset accounts i.e. true,false
        Returns:
        canApplyToAssets
      • getCanApplyToEquity

        public Boolean getCanApplyToEquity()
        Boolean to describe if tax rate can be used for equity accounts i.e true,false
        Returns:
        canApplyToEquity
      • getCanApplyToExpenses

        public Boolean getCanApplyToExpenses()
        Boolean to describe if tax rate can be used for expense accounts i.e. true,false
        Returns:
        canApplyToExpenses
      • getCanApplyToLiabilities

        public Boolean getCanApplyToLiabilities()
        Boolean to describe if tax rate can be used for liability accounts i.e. true,false
        Returns:
        canApplyToLiabilities
      • getCanApplyToRevenue

        public Boolean getCanApplyToRevenue()
        Boolean to describe if tax rate can be used for revenue accounts i.e. true,false
        Returns:
        canApplyToRevenue
      • getDisplayTaxRate

        public Double getDisplayTaxRate()
        Tax Rate (decimal to 4dp) e.g 12.5000
        Returns:
        displayTaxRate
      • getEffectiveRate

        public Double getEffectiveRate()
        Effective Tax Rate (decimal to 4dp) e.g 12.5000
        Returns:
        effectiveRate
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object