Enum Class CashOutStatus

java.lang.Object
java.lang.Enum<CashOutStatus>
com.sportradar.unifiedodds.sdk.oddsentities.CashOutStatus
All Implemented Interfaces:
Serializable, Comparable<CashOutStatus>, java.lang.constant.Constable

public enum CashOutStatus extends Enum<CashOutStatus>
Defines possible cashout availability states
  • Enum Constant Details

    • Available

      public static final CashOutStatus Available
      Indicates cashout for associated market is available
    • Unavailable

      public static final CashOutStatus Unavailable
      Indicates cashout for associated market is un-available
    • Closed

      public static final CashOutStatus Closed
      Indicates cashout for associated market is no longer available - is closed
  • Method Details

    • values

      public static CashOutStatus[] 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 CashOutStatus 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
    • fromFeedValue

      public static CashOutStatus fromFeedValue(Integer feedValue)
      Returns the CashOutStatus associated with the provided integer value
      Parameters:
      feedValue - the integer value provided by the feed
      Returns:
      a CashOutStatus if a matching enum value was found; otherwise null