Enum Class TaxCategory

java.lang.Object
java.lang.Enum<TaxCategory>
ai.marmin.constants.TaxCategory
All Implemented Interfaces:
Serializable, Comparable<TaxCategory>, Constable

public enum TaxCategory extends Enum<TaxCategory>
  • Enum Constant Details

    • STANDARD

      public static final TaxCategory STANDARD
    • EXEMPT

      public static final TaxCategory EXEMPT
    • ZERO_RATED

      public static final TaxCategory ZERO_RATED
    • OUT_OF_SCOPE

      public static final TaxCategory OUT_OF_SCOPE
    • REVERSE_CHARGE

      public static final TaxCategory REVERSE_CHARGE
    • ADDITIONAL

      public static final TaxCategory ADDITIONAL
  • Method Details

    • values

      public static TaxCategory[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static TaxCategory valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • getCode

      public String getCode()
    • getRate

      public double getRate()
    • getDescription

      public String getDescription()
    • fromCode

      public static TaxCategory fromCode(String code)