Enum Class ApiShiftRate.RateTypeEnum

java.lang.Object
java.lang.Enum<ApiShiftRate.RateTypeEnum>
travel.wink.hotelbeds.booking.sdk.model.ApiShiftRate.RateTypeEnum
All Implemented Interfaces:
Serializable, Comparable<ApiShiftRate.RateTypeEnum>, Constable
Enclosing class:
ApiShiftRate

public static enum ApiShiftRate.RateTypeEnum extends Enum<ApiShiftRate.RateTypeEnum>
Determines if can booked directly (BOOKABLE) or if it needs to be checked with the ‘CheckRate’ operation (RECHECK).
  • Enum Constant Details

  • Method Details

    • values

      public static ApiShiftRate.RateTypeEnum[] 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 ApiShiftRate.RateTypeEnum 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
    • getValue

      public String getValue()
    • toString

      public String toString()
      Overrides:
      toString in class Enum<ApiShiftRate.RateTypeEnum>
    • fromValue

      public static ApiShiftRate.RateTypeEnum fromValue(String value)