Enum RoundingLevelId

java.lang.Object
java.lang.Enum<RoundingLevelId>
net.avalara.avatax.rest.client.enums.RoundingLevelId
All Implemented Interfaces:
Serializable, Comparable<RoundingLevelId>, java.lang.constant.Constable

public enum RoundingLevelId extends Enum<RoundingLevelId>
Choice of rounding level for a transaction
  • Enum Constant Details

    • Line

      public static final RoundingLevelId Line
      Round tax on each line separately
    • Document

      public static final RoundingLevelId Document
      Round tax at the document level
  • Method Details

    • values

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

      public static RoundingLevelId valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified name
      NullPointerException - if the argument is null
    • valueOf

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

      public int getValue()