Enum Class LineItemType

java.lang.Object
java.lang.Enum<LineItemType>
de.focus_shift.lexoffice.java.sdk.model.LineItemType
All Implemented Interfaces:
Serializable, Comparable<LineItemType>, Constable

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

    • SERVICE

      public static final LineItemType SERVICE
      the line item is related to a supply of services
    • MATERIAL

      public static final LineItemType MATERIAL
      the line item is related to a physical product
    • CUSTOM

      public static final LineItemType CUSTOM
      an item without reference in lexoffice and has no id
    • TEXT

      public static final LineItemType TEXT
      contains only a name and/or a description for informative purposes
  • Method Details

    • values

      public static LineItemType[] 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 LineItemType 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