Enum PostDepositBankAccountBankModel.TypeEnum
- java.lang.Object
-
- java.lang.Enum<PostDepositBankAccountBankModel.TypeEnum>
-
- app.cybrid.cybrid_api_bank.client.model.PostDepositBankAccountBankModel.TypeEnum
-
- All Implemented Interfaces:
Serializable,Comparable<PostDepositBankAccountBankModel.TypeEnum>
- Enclosing class:
- PostDepositBankAccountBankModel
public static enum PostDepositBankAccountBankModel.TypeEnum extends Enum<PostDepositBankAccountBankModel.TypeEnum>
The account type. To generate deposit bank accounts with their own unique account number set this to \"main\". To generate deposit bank accounts with the same account number as the parent deposit bank account set this to \"sub_account\". This setting will only generate a unique identifier for the deposit bank and will not result in a unique account number being generated. \"sub_account\" is only available for customer-level deposit bank accounts.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description MAINSUB_ACCOUNT
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PostDepositBankAccountBankModel.TypeEnumfromValue(String value)StringgetValue()StringtoString()static PostDepositBankAccountBankModel.TypeEnumvalueOf(String name)Returns the enum constant of this type with the specified name.static PostDepositBankAccountBankModel.TypeEnum[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
MAIN
public static final PostDepositBankAccountBankModel.TypeEnum MAIN
-
SUB_ACCOUNT
public static final PostDepositBankAccountBankModel.TypeEnum SUB_ACCOUNT
-
-
Method Detail
-
values
public static PostDepositBankAccountBankModel.TypeEnum[] 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 (PostDepositBankAccountBankModel.TypeEnum c : PostDepositBankAccountBankModel.TypeEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PostDepositBankAccountBankModel.TypeEnum 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<PostDepositBankAccountBankModel.TypeEnum>
-
fromValue
public static PostDepositBankAccountBankModel.TypeEnum fromValue(String value)
-
-