Enum PostQuoteBankModel.SideEnum
- java.lang.Object
-
- java.lang.Enum<PostQuoteBankModel.SideEnum>
-
- app.cybrid.cybrid_api_bank.client.model.PostQuoteBankModel.SideEnum
-
- All Implemented Interfaces:
Serializable,Comparable<PostQuoteBankModel.SideEnum>
- Enclosing class:
- PostQuoteBankModel
public static enum PostQuoteBankModel.SideEnum extends Enum<PostQuoteBankModel.SideEnum>
The direction of the quote: either 'buy' or 'sell' for trade quotes.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BUYDEPOSITSELLWITHDRAWAL
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PostQuoteBankModel.SideEnumfromValue(String value)StringgetValue()StringtoString()static PostQuoteBankModel.SideEnumvalueOf(String name)Returns the enum constant of this type with the specified name.static PostQuoteBankModel.SideEnum[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
BUY
public static final PostQuoteBankModel.SideEnum BUY
-
SELL
public static final PostQuoteBankModel.SideEnum SELL
-
DEPOSIT
public static final PostQuoteBankModel.SideEnum DEPOSIT
-
WITHDRAWAL
public static final PostQuoteBankModel.SideEnum WITHDRAWAL
-
-
Method Detail
-
values
public static PostQuoteBankModel.SideEnum[] 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 (PostQuoteBankModel.SideEnum c : PostQuoteBankModel.SideEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PostQuoteBankModel.SideEnum 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
-
getValue
public String getValue()
-
toString
public String toString()
- Overrides:
toStringin classEnum<PostQuoteBankModel.SideEnum>
-
fromValue
public static PostQuoteBankModel.SideEnum fromValue(String value)
-
-