Enum Class PriceMention.Kind

java.lang.Object
java.lang.Enum<PriceMention.Kind>
ai.redouble.demo.pricing.PriceMention.Kind
All Implemented Interfaces:
Serializable, Comparable<PriceMention.Kind>, Constable
Enclosing class:
PriceMention

public static enum PriceMention.Kind extends Enum<PriceMention.Kind>
Since:
0.1 (2026-09-15)
Author:
Andrey Santrosyan
  • Nested Class Summary

    Nested classes/interfaces inherited from class Enum

    Enum.EnumDesc<E>
  • Enum Constant Summary

    Enum Constants
    Enum Constant
    Description
    A decided change relative to the price in force, as a percentage; the amount is computed from what the change applies to.
    What the company pays a supplier or spends per unit: never a selling price.
    The product is no longer sold from a date; carries no amount.
    The document itself presents it as a previous price: "was", "old", "before", "replaced by".
    A price list, catalogue, portal, sign, deck or website states this as the price in force.
    Suggested, planned, targeted or under discussion: not in force.
    An invoice, order or quote charged this price on its date.
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the enum constant of this class with the specified name.
    Returns an array containing the constants of this enum class, in the order they are declared.

    Methods inherited from class Object

    getClass, notify, notifyAll, wait, wait, wait
  • Enum Constant Details

    • LIST

      public static final PriceMention.Kind LIST
      A price list, catalogue, portal, sign, deck or website states this as the price in force.
    • TRANSACTION

      public static final PriceMention.Kind TRANSACTION
      An invoice, order or quote charged this price on its date.
    • PROPOSED

      public static final PriceMention.Kind PROPOSED
      Suggested, planned, targeted or under discussion: not in force.
    • FORMER

      public static final PriceMention.Kind FORMER
      The document itself presents it as a previous price: "was", "old", "before", "replaced by".
    • COST

      public static final PriceMention.Kind COST
      What the company pays a supplier or spends per unit: never a selling price.
    • CHANGE

      public static final PriceMention.Kind CHANGE
      A decided change relative to the price in force, as a percentage; the amount is computed from what the change applies to.
    • DISCONTINUATION

      public static final PriceMention.Kind DISCONTINUATION
      The product is no longer sold from a date; carries no amount.
  • Method Details

    • values

      public static PriceMention.Kind[] 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 PriceMention.Kind 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