Class CisTaxValue


  • public class CisTaxValue
    extends java.lang.Object
    A tax value containing details about a tax.
    • Constructor Summary

      Constructors 
      Constructor Description
      CisTaxValue()
      Instantiates a new cis tax value.
      CisTaxValue​(java.lang.String level, java.math.BigDecimal value, java.math.BigDecimal rate, java.math.BigDecimal taxable)
      Instantiates a new cis tax value with all mandatory fields.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getJurisdiction()  
      java.lang.String getLevel()
      Gets the id.
      java.lang.String getName()
      Gets the region.
      java.math.BigDecimal getRate()
      Gets the rate.
      java.math.RoundingMode getRoundingMode()  
      java.math.BigDecimal getTaxable()  
      java.math.BigDecimal getValue()
      Gets the value.
      void setJurisdiction​(java.lang.String jurisdiction)  
      void setLevel​(java.lang.String code)
      Sets the id.
      void setName​(java.lang.String region)
      Sets the region.
      void setRate​(java.math.BigDecimal rate)
      Sets the rate.
      void setRoundingMode​(java.math.RoundingMode roundingMode)  
      void setTaxable​(java.math.BigDecimal taxable)  
      void setValue​(java.math.BigDecimal value)
      Sets the value.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • CisTaxValue

        public CisTaxValue​(java.lang.String level,
                           java.math.BigDecimal value,
                           java.math.BigDecimal rate,
                           java.math.BigDecimal taxable)
        Instantiates a new cis tax value with all mandatory fields.
        Parameters:
        level - the id
        value - the value
        rate - the rate
      • CisTaxValue

        public CisTaxValue()
        Instantiates a new cis tax value.
    • Method Detail

      • getLevel

        public java.lang.String getLevel()
        Gets the id.
        Returns:
        the code
      • setLevel

        public void setLevel​(java.lang.String code)
        Sets the id.
        Parameters:
        code - the code to set
      • getValue

        public java.math.BigDecimal getValue()
        Gets the value.
        Returns:
        the value
      • setValue

        public void setValue​(java.math.BigDecimal value)
        Sets the value.
        Parameters:
        value - the value to set
      • getRate

        public java.math.BigDecimal getRate()
        Gets the rate.
        Returns:
        the percentage
      • setRate

        public void setRate​(java.math.BigDecimal rate)
        Sets the rate.
        Parameters:
        rate - the percentage to set
      • getName

        public java.lang.String getName()
        Gets the region.
        Returns:
        the region
      • setName

        public void setName​(java.lang.String region)
        Sets the region.
        Parameters:
        region - the region to set
      • getJurisdiction

        public java.lang.String getJurisdiction()
      • setJurisdiction

        public void setJurisdiction​(java.lang.String jurisdiction)
      • getTaxable

        public java.math.BigDecimal getTaxable()
      • setTaxable

        public void setTaxable​(java.math.BigDecimal taxable)
      • getRoundingMode

        public java.math.RoundingMode getRoundingMode()
      • setRoundingMode

        public void setRoundingMode​(java.math.RoundingMode roundingMode)