Enum Class PriceMention.Kind
- All Implemented Interfaces:
Serializable, Comparable<PriceMention.Kind>, Constable
- Enclosing class:
PriceMention
- 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 ConstantsEnum ConstantDescriptionA 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 TypeMethodDescriptionstatic PriceMention.KindReturns the enum constant of this class with the specified name.static PriceMention.Kind[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
LIST
A price list, catalogue, portal, sign, deck or website states this as the price in force. -
TRANSACTION
An invoice, order or quote charged this price on its date. -
PROPOSED
Suggested, planned, targeted or under discussion: not in force. -
FORMER
The document itself presents it as a previous price: "was", "old", "before", "replaced by". -
COST
What the company pays a supplier or spends per unit: never a selling price. -
CHANGE
A decided change relative to the price in force, as a percentage; the amount is computed from what the change applies to. -
DISCONTINUATION
The product is no longer sold from a date; carries no amount.
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-