public static enum Pay.BankAccountType extends Enum<Pay.BankAccountType>
Enum Constant and Description |
---|
COMMERCIAL_CHECKING |
COMMERCIAL_SAVINGS |
CONSUMER_CHECKING |
CONSUMER_SAVINGS |
Modifier and Type | Method and Description |
---|---|
String |
toString() |
static Pay.BankAccountType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Pay.BankAccountType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Pay.BankAccountType CONSUMER_CHECKING
public static final Pay.BankAccountType CONSUMER_SAVINGS
public static final Pay.BankAccountType COMMERCIAL_CHECKING
public static final Pay.BankAccountType COMMERCIAL_SAVINGS
public static Pay.BankAccountType[] values()
for (Pay.BankAccountType c : Pay.BankAccountType.values()) System.out.println(c);
public static Pay.BankAccountType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String toString()
toString
in class Enum<Pay.BankAccountType>
Copyright © 2019 Twilio, Inc. All Rights Reserved.