Class TaxSettings


  • public class TaxSettings
    extends Object
    TaxSettings
    • Constructor Detail

      • TaxSettings

        public TaxSettings()
    • Method Detail

      • periodUnits

        public TaxSettings periodUnits​(Double periodUnits)
        The number of units for the period type
        Parameters:
        periodUnits - Double
        Returns:
        TaxSettings
      • getPeriodUnits

        public Double getPeriodUnits()
        The number of units for the period type
        Returns:
        periodUnits
      • setPeriodUnits

        public void setPeriodUnits​(Double periodUnits)
        The number of units for the period type
        Parameters:
        periodUnits - Double
      • periodType

        public TaxSettings periodType​(TaxSettings.PeriodTypeEnum periodType)
        The type of period (\"weeks\" or \"months\")
        Parameters:
        periodType - PeriodTypeEnum
        Returns:
        TaxSettings
      • getPeriodType

        public TaxSettings.PeriodTypeEnum getPeriodType()
        The type of period (\"weeks\" or \"months\")
        Returns:
        periodType
      • setPeriodType

        public void setPeriodType​(TaxSettings.PeriodTypeEnum periodType)
        The type of period (\"weeks\" or \"months\")
        Parameters:
        periodType - PeriodTypeEnum
      • taxCode

        public TaxSettings taxCode​(TaxCode taxCode)
        taxCode
        Parameters:
        taxCode - TaxCode
        Returns:
        TaxSettings
      • getTaxCode

        public TaxCode getTaxCode()
        Get taxCode
        Returns:
        taxCode
      • setTaxCode

        public void setTaxCode​(TaxCode taxCode)
        taxCode
        Parameters:
        taxCode - TaxCode
      • specialTaxRate

        public TaxSettings specialTaxRate​(String specialTaxRate)
        Tax rate for STC and WT
        Parameters:
        specialTaxRate - String
        Returns:
        TaxSettings
      • getSpecialTaxRate

        public String getSpecialTaxRate()
        Tax rate for STC and WT
        Returns:
        specialTaxRate
      • setSpecialTaxRate

        public void setSpecialTaxRate​(String specialTaxRate)
        Tax rate for STC and WT
        Parameters:
        specialTaxRate - String
      • lumpSumTaxCode

        public TaxSettings lumpSumTaxCode​(String lumpSumTaxCode)
        Tax code for a lump sum amount
        Parameters:
        lumpSumTaxCode - String
        Returns:
        TaxSettings
      • getLumpSumTaxCode

        public String getLumpSumTaxCode()
        Tax code for a lump sum amount
        Returns:
        lumpSumTaxCode
      • setLumpSumTaxCode

        public void setLumpSumTaxCode​(String lumpSumTaxCode)
        Tax code for a lump sum amount
        Parameters:
        lumpSumTaxCode - String
      • lumpSumAmount

        public TaxSettings lumpSumAmount​(String lumpSumAmount)
        The total of the lump sum amount
        Parameters:
        lumpSumAmount - String
        Returns:
        TaxSettings
      • getLumpSumAmount

        public String getLumpSumAmount()
        The total of the lump sum amount
        Returns:
        lumpSumAmount
      • setLumpSumAmount

        public void setLumpSumAmount​(String lumpSumAmount)
        The total of the lump sum amount
        Parameters:
        lumpSumAmount - String
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object