Enum Class AdjustmentPhaseType

java.lang.Object
java.lang.Enum<AdjustmentPhaseType>
com.broadleafcommerce.pricing.domain.type.AdjustmentPhaseType
All Implemented Interfaces:
Serializable, Comparable<AdjustmentPhaseType>, Constable

public enum AdjustmentPhaseType extends Enum<AdjustmentPhaseType>
Enumeration of the pricing phases for which an ADJUSTMENT can apply.
  • Enum Constant Details

    • STANDARD

      public static final AdjustmentPhaseType STANDARD
      Adjustment applies to the STANDARD price
    • SALE

      public static final AdjustmentPhaseType SALE
      Adjustment applies to the SALE price
    • STANDARD_AND_SALE

      public static final AdjustmentPhaseType STANDARD_AND_SALE
      Adjustment applies to both the STANDARD and SALE price
    • CONTRACT

      public static final AdjustmentPhaseType CONTRACT
      Adjustment applies to the CONTRACT price
    • ALL

      public static final AdjustmentPhaseType ALL
      Adjustment applies to ALL prices
  • Method Details

    • values

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