Enum CustomerTypeBankModel
- java.lang.Object
-
- java.lang.Enum<CustomerTypeBankModel>
-
- app.cybrid.cybrid_api_bank.client.model.CustomerTypeBankModel
-
- All Implemented Interfaces:
Serializable,Comparable<CustomerTypeBankModel>
public enum CustomerTypeBankModel extends Enum<CustomerTypeBankModel>
Gets or Sets CustomerType
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BUSINESSINDIVIDUAL
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CustomerTypeBankModelfromValue(String value)StringgetValue()StringtoString()static CustomerTypeBankModelvalueOf(String name)Returns the enum constant of this type with the specified name.static CustomerTypeBankModel[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
BUSINESS
public static final CustomerTypeBankModel BUSINESS
-
INDIVIDUAL
public static final CustomerTypeBankModel INDIVIDUAL
-
-
Method Detail
-
values
public static CustomerTypeBankModel[] 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 (CustomerTypeBankModel c : CustomerTypeBankModel.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CustomerTypeBankModel 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<CustomerTypeBankModel>
-
fromValue
public static CustomerTypeBankModel fromValue(String value)
-
-