java.lang.Object
java.lang.Enum<Fare.Cabin>
de.hybris.platform.prosservices.pros.searchresponse.Fare.Cabin
All Implemented Interfaces:
Serializable, Comparable<Fare.Cabin>, Constable
Enclosing class:
Fare

public static enum Fare.Cabin extends Enum<Fare.Cabin>
  • Enum Constant Details

    • ECONOMY

      public static final Fare.Cabin ECONOMY
    • PREMIUM_ECONOMY

      public static final Fare.Cabin PREMIUM_ECONOMY
    • BUSINESS

      public static final Fare.Cabin BUSINESS
    • FIRST

      public static final Fare.Cabin FIRST
  • Method Details

    • values

      public static Fare.Cabin[] 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 Fare.Cabin 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
    • toString

      public String toString()
      Overrides:
      toString in class Enum<Fare.Cabin>
    • value

      public String value()
    • fromValue

      public static Fare.Cabin fromValue(String value)