Enum Class DeclineReason

java.lang.Object
java.lang.Enum<DeclineReason>
de.hybris.platform.warehousing.enums.DeclineReason
All Implemented Interfaces:
HybrisEnumValue, Serializable, Comparable<DeclineReason>, Constable

public enum DeclineReason extends Enum<DeclineReason> implements HybrisEnumValue
Generated enum DeclineReason declared at extension warehousing.
  • Nested Class Summary

    Nested classes/interfaces inherited from class java.lang.Enum

    Enum.EnumDesc<E extends Enum<E>>
  • Enum Constant Summary

    Enum Constants
    Enum Constant
    Description
    Generated enum value for DeclineReason.AsnCancellation declared at extension warehousing.
    Generated enum value for DeclineReason.Damaged declared at extension warehousing.
    Generated enum value for DeclineReason.Other declared at extension warehousing.
    Generated enum value for DeclineReason.OutOfStock declared at extension warehousing.
    Generated enum value for DeclineReason.StoreClosed declared at extension warehousing.
    Generated enum value for DeclineReason.TooBusy declared at extension warehousing.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
    Generated model type code constant.
    static final String
    Generated simple class name constant.
  • Method Summary

    Modifier and Type
    Method
    Description
    Gets the code of this enum value.
    Gets the type this enum value belongs to.
    Returns the enum constant of this class with the specified name.
    static DeclineReason[]
    Returns an array containing the constants of this enum class, in the order they are declared.

    Methods inherited from class java.lang.Object

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

    • DAMAGED

      public static final DeclineReason DAMAGED
      Generated enum value for DeclineReason.Damaged declared at extension warehousing.
    • OUTOFSTOCK

      public static final DeclineReason OUTOFSTOCK
      Generated enum value for DeclineReason.OutOfStock declared at extension warehousing.
    • STORECLOSED

      public static final DeclineReason STORECLOSED
      Generated enum value for DeclineReason.StoreClosed declared at extension warehousing.
    • TOOBUSY

      public static final DeclineReason TOOBUSY
      Generated enum value for DeclineReason.TooBusy declared at extension warehousing.
    • ASNCANCELLATION

      public static final DeclineReason ASNCANCELLATION
      Generated enum value for DeclineReason.AsnCancellation declared at extension warehousing.
    • OTHER

      public static final DeclineReason OTHER
      Generated enum value for DeclineReason.Other declared at extension warehousing.
  • Field Details

  • Method Details

    • values

      public static DeclineReason[] 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 DeclineReason 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
    • getCode

      public String getCode()
      Gets the code of this enum value.
      Specified by:
      getCode in interface HybrisEnumValue
      Returns:
      code of value
    • getType

      public String getType()
      Gets the type this enum value belongs to.
      Specified by:
      getType in interface HybrisEnumValue
      Returns:
      code of type