Enum Class BillableValues

java.lang.Object
java.lang.Enum<BillableValues>
com.avoka.fc.core.entity.BillableValues
All Implemented Interfaces:
Serializable, Comparable<BillableValues>, Constable, org.apache.cayenne.ExtendedEnumeration

public enum BillableValues extends Enum<BillableValues> implements org.apache.cayenne.ExtendedEnumeration
Provides enum billable values for setting a transaction
Since:
22.10
  • Enum Constant Details

  • Method Details

    • values

      public static BillableValues[] 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 BillableValues 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
    • getDatabaseValue

      public String getDatabaseValue()
      Specified by:
      getDatabaseValue in interface org.apache.cayenne.ExtendedEnumeration
    • getBillableValues

      public static List<String> getBillableValues()
      Return the list of string of enum billable values.
      Returns:
      billableValues the list
    • getEntityBillableValue

      public static BillableValues getEntityBillableValue(String billableValue)
      Return a respective enum billable value for respective string value.
      Returns:
      the enum billable value