Enum WithdrawType
- java.lang.Object
-
- java.lang.Enum<WithdrawType>
-
- com.bybit.api.client.domain.asset.WithdrawType
-
- All Implemented Interfaces:
Serializable,Comparable<WithdrawType>
public enum WithdrawType extends Enum<WithdrawType>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static WithdrawTypevalueOf(String name)Returns the enum constant of this type with the specified name.static WithdrawType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ON_CHAIN
public static final WithdrawType ON_CHAIN
-
OFF_CHAIN
public static final WithdrawType OFF_CHAIN
-
ALL
public static final WithdrawType ALL
-
-
Method Detail
-
values
public static WithdrawType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (WithdrawType c : WithdrawType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static WithdrawType valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException- if the argument is null
-
-