Enum PostQuoteBankModel.ProductTypeEnum
- java.lang.Object
-
- java.lang.Enum<PostQuoteBankModel.ProductTypeEnum>
-
- app.cybrid.cybrid_api_bank.client.model.PostQuoteBankModel.ProductTypeEnum
-
- All Implemented Interfaces:
Serializable,Comparable<PostQuoteBankModel.ProductTypeEnum>
- Enclosing class:
- PostQuoteBankModel
public static enum PostQuoteBankModel.ProductTypeEnum extends Enum<PostQuoteBankModel.ProductTypeEnum>
The type of product the quote is for.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BOOK_TRANSFERCRYPTO_TRANSFERFUNDINGTRADING
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PostQuoteBankModel.ProductTypeEnumfromValue(String value)StringgetValue()StringtoString()static PostQuoteBankModel.ProductTypeEnumvalueOf(String name)Returns the enum constant of this type with the specified name.static PostQuoteBankModel.ProductTypeEnum[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
TRADING
public static final PostQuoteBankModel.ProductTypeEnum TRADING
-
FUNDING
public static final PostQuoteBankModel.ProductTypeEnum FUNDING
-
BOOK_TRANSFER
public static final PostQuoteBankModel.ProductTypeEnum BOOK_TRANSFER
-
CRYPTO_TRANSFER
public static final PostQuoteBankModel.ProductTypeEnum CRYPTO_TRANSFER
-
-
Method Detail
-
values
public static PostQuoteBankModel.ProductTypeEnum[] 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.ProductTypeEnum c : PostQuoteBankModel.ProductTypeEnum.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.ProductTypeEnum 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.ProductTypeEnum>
-
fromValue
public static PostQuoteBankModel.ProductTypeEnum fromValue(String value)
-
-